일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 | 31 |
- SAA-C03
- AWS 자격증
- vyos
- Firewall
- tftp
- aws saa
- NLB
- vmware
- AWS
- aws cloud school
- eks
- DNS
- FTP
- aws cloud school 8
- 3 TIER
- Ebs
- aws cloud
- aws cloud shcool 8
- Kubernetes
- GNS3
- ALB
- 네트워크
- linux
- aws SAA-c03
- NAT
- Troubleshooting
- docker
- EC2
- IAM
- EC2 인스턴스
- Today
- Total
목록eks (6)
나의 공부기록

Jenkins를 통한 CI/CD✅ 사전 세팅더보기1. Cluster 생성export PRI_SUBNET1_ID=subnet-0b0e6export PRI_SUBNET2_ID=subnet-09a7cexport CLUSTER_NAME=pri1-clusterexport ACCOUNT_ID=7981export VPC_ID=vpc-0350export REGION=ap-northeast-2eksctl create cluster --vpc-private-subnets $PRI_SUBNET1_ID,$PRI_SUBNET2_ID --name pri-cluster --region ap-northeast-2 --version 1.32 --nodegroup-name pricng --node-type t3.small --nodes..

ArgoCD(Continuous Deployment)K8S환경에서 CD를 하기 위한 툴CNCF에서 추천하는 CD 툴✅ ArgoCD 장점설치가 쉽다.CD 구성도 쉽고편리하게 버전 업데이트 및 롤백도 가능시각화ArgoCD 설치더보기💡LB Controller가 설치되어 있어야 Argocd가 설치됨 1. 네임스페이스 생성kubectl create ns argocd 2. ArgoCD 매니페스트 파일 다운로드kubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yamlkubectl delete -n argocd -f https://raw.githubusercontent.com/argo..

문제 원인root@aws-cli:~/mani/eks/argo# kubectl describe svc -n argocdName: argocd-serverNamespace: argocdLabels: app.kubernetes.io/component=server app.kubernetes.io/name=argocd-serv app.kubernetes.io/part-of=argocdAnnotations: Selector: app.kubernetes.io/name=argocd-se..

➕ 사전 준비 : Private 클러스터 생성 💡 EBS 🆚 EFS 차이[ EBS(Block Storage) - 하드웨어(디스크) ]➡️ 단일 인스턴스에 attach 해야 함➡️ 파일 시스템이 구성되어 있지❌(= 사용자가 구성해야 함) ➡️ 특정 노드(attach 된)에 존재하는 Pod만 접근 가능 [ EFS(File Storage) - NFS ]➡️ 다수 인스턴스에서 접근 가능➡️ 여러 노드에 존재하는 다수의 Pod들이 접근 가능👉 EKS환경에서 동적 프로비저닝을 할 때는 EFS를 사용해야 함 EKS환경에서 Dynamic Provisioning(동적 프로비저닝)더보기CSI(Container Storage Interface)다이나믹 프로비저닝을 위한 애드온(Addon)➡️ALB 생성을 위해 LB ..

실습문제vpc이름 : rapa-vpceks클러스터 이름 : rapa-clusterweb-was-db 서브넷 구성후, web-was-db 연동을 확인해 보세요.예전에 매니페스트를 쓰셔도 좋습니다.db는 rds로 해보세요! web-was에는 ALB를 붙이세요!풀이1. VPC1-1. VPC 생성1-2. DNS 이름 활성화 2. IGW 생성 & VPC 연결2-1. IGW 생성 2-2. IGW-VPC 연결 3. Subnet 생성 & Tag 설정⚙ Tag 설정공통kubernetes.io/cluster/pric : sharedPublic Subnet Tagkubernetes.io/role/elb : 1Private Subnet Tagkubernetes.io/role/internal-elb : 1 3-1. Subnet..

ALB 생성 - 제일 중요🌟ALB의 경우에는 따로 Addon을 설치해야 함온프레미스 로컬클러스터에는 path 기반 라우팅을 하려면 ingress-controller를 설치했음➡️ AWS EKS에서는 Load Balancer Controller를 설치해줘야 함(helm으로 설치)EKS에서 ingress를 생성했을 때, EKS Addon인 LB Controller가 ALB를 생성➡️ 이를 위해서는 Load Balancer Controller가 "AWS"에 LB를 생성할 수 있는 권한 필요🌟👉 IAM에서 생성한 Role(역할)을 EKS의 SA에 부여해야 하는데, 서로 다른 플랫폼이기 때문에 불가능한데, OIDC(OpenIDConnect)라는 매개체를 통해, AWS IAM Role로 쿠버네티스의 IRSA(..