일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- AWS 자격증
- EC2
- EC2 인스턴스
- aws saa
- ALB
- IAM
- 네트워크
- FTP
- aws cloud shcool 8
- tftp
- aws cloud
- AWS
- linux
- GNS3
- 3 TIER
- NAT
- eks
- aws SAA-c03
- aws cloud school 8
- vmware
- Ebs
- NLB
- aws cloud school
- Firewall
- docker
- SAA-C03
- vyos
- Kubernetes
- Troubleshooting
- DNS
- Today
- Total
목록Kubernetes (16)
나의 공부기록

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..

사전 설정 - Cluster(pri-cluster) & LB Controller더보기환경변수 등록export PRI_SUBNET1_ID=subnet-0b0export PRI_SUBNET2_ID=subnet-09aexport CLUSTER_NAME=pri-clusterexport ACCOUNT_ID=export VPC_ID=vpc-035 Cluster 생성eksctl 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 5 --nodes-mi..

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 ..

문제 1. EKS 프라이빗 클러스터를 구축하세요2-1. nginx/톰캣/MySQL로 WAS-DB 2 tier나 WEB-WAS-DB 3 tier를 구성, 브라우저에서 www./exam 으로 접속했을때 DB연동을 확인하는 페이지가 뜨도록 하세요.2-2. www./h 로 접속했을때 hostname을 출력하는 페이지가 뜨도록하세요.2-3. www./ip 로 접속했을때 ip를 출력하는 페이지가 뜨도록하세요.RDS의 포트는 33306으로 하세요.EKS클러스터가 접근하는 컨테이너 레지스트리는 무조건 ECR을 사용하세요.단, 베이스이미지는 61.254.18.30:5000/ipnginx, 61.254.18.30:5000/hnginx 나 oolralra/ipnginx, oolralra/hnginx를 사용하세요. 톰캣은 아..

실습문제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..

환경세팅✅ 공통 구성 - master, worker1, worker21. 쿠버네티스 템플릿 복제 2. IP 세팅 & 호스트명 수정 k8s-toy-master : 211.183.3.60/24k8s-toy-worker1 : 211.183.3.70/24k8s-toy-worker2 : 211.183.3.71/24hostnamectl set-hostname k8s-toy-masterhostnamectl set-hostname k8s-toy-worker1hostnamectl set-hostname k8s-toy-worker2 3. 네트워크 관련 모듈 로딩root@k8s-toy-master:~# modprobe overlayroot@k8s-toy-master:~# modprobe br_netfilter 4. 네트워크..