
원인 ConfigMap aws-auth에 현재 사용자 또는 역할이 등록되어 있지 않기 때문입니다. 해결방법 kubectl edit cm/aws-auth -n kube-system mapRoles 또는 mapUsers에 현재 사용자 정보를 추가하고 저장합니다. groups에 system:masters를 추가해야 AWS콘솔에서 EKS를 올바르게 확인할 수 있습니다. data: mapRoles: | - rolearn: arn:aws:iam::111122223333:role/eksctl-my-cluster-nodegroup-standard-wo-NodeInstanceRole-1WP3NUE3O6UCF username: system:node:{{EC2PrivateDNSName}} groups: - system:bo..

VPC 생성 Private Cluster 생성 Autoscaling 설정 Istio 설치 Istio 설치는 선택사항입니다. 서비스 메시를 구현하는 대표적인 오픈소스 라이브러리 입니다. 이 글에서는 상세한 내용은 다루지 않겠습니다. 모든 명령어는 Bastion 인스턴스에서 이루어집니다. 1. istioctl 설치 https://istio.io/latest/docs/setup/getting-started/#download $ curl -L https://istio.io/downloadIstio | sh - $ cd istio-1.12.1 # 버전이 다를 수 있습니다. $ export PATH=$PWD/bin:$PATH $ istioctl install --set profile=demo -y # istio p..

VPC 생성 Private Cluster 생성 Autoscaling 설정 Istio 설치 Node 및 Pod의 오토스케일링을 설정해봅시다. 1. Node의 오토스케일링 Cluster생성할 때 이미 EC2 Auto Scaling 그룹이 생성되었지만 쿠버네티스에서 Auto Scaling 그룹에 명령을 내리기 위한 설정이 필요합니다. 공식문서 cluster-autoscaler를 생성합니다. $ kubectl apply -f https://raw.githubusercontent.com/kubernetes/autoscaler/master/cluster-autoscaler/cloudprovider/aws/examples/cluster-autoscaler-autodiscover.yaml cluster-autosca..

VPC 생성 Private Cluster 생성 Autoscaling 설정 Istio 설치 드디어 EKS 클러스터를 생성합니다. 1. Bastion 접속 ( EC2 > 인스턴스 ) EKS-Worker-Station을 체크 후 연결을 클릭합니다. 붉은 박스부분을 복사하여 ssh 접속합니다. *windows인 경우 wsl을 이용하면 putty와 같은 프로그램을 사용하지 않아도 됩니다. 2. eksctl용 yaml 파일 생성 (worker-station 내부) $ vi eks-config.yaml 아래 내용을 입력합니다. VPC ID, Subnet ID, securityGroup은 AWS 콘솔에서 확인할 수 있습니다. apiVersion: eksctl.io/v1alpha5 kind: ClusterConfig m..
- Total
- Today
- Yesterday
- 드래곤라자
- IAM
- Traefik
- VPC
- Auto Scaling
- 쿠버네티스
- S3
- 달러구트 꿈 백화점
- kubernetes
- AWS
- jaeger
- golang
- 전략패턴
- istio
- k8s
- cloudflare
- grafana
- CloudFront
- minikube
- kiali
- production
- Prometheus
- eks
- flyway
- HMAC
- Constant
- liquibase
- DB형상관리
- 프로덕션
- cka
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |