gift
·
IT Study/Memo & Tips
7ISg7LCp7IicMeuqhSDsnbjspp0g7IucIOq4sO2UhO2LsOy9mA==
[K8S] deployment update
·
IT Study/Memo & Tips
apiVersion: apps/v1 kind: Deployment metadata: name: pod-rolling spec: replicas: 5 strategy: type: RollingUpdate rollingUpdate: maxSurge: 3 # 업데이트 도중 포드의 개수가 deployment의 replicas 값보다 더 존재할 수 있는 양 maxUnavailable: 3 # 업데이트 도중 사용 불가능한 상태가 되는 포드의 최대 개수 selector: matchLabels: app: nginx template: metadata: name: nginx labels: app: nginx spec: containers: - name: nginx image: nginx ports: - containerP..
[K8S] taint & tolerations
·
IT Study/Memo & Tips
Taint 부여 & 삭제 # Node에 Taint 부여 kubectl taint nodes `nodename` `key`=`value`:`effect` # 예시: kubectl taint nodes ip-192-168-201-100.ap-northeast-2.compute.internal itguny04/taint=dirty:NoSchedule # Node에 Taint 삭제 kubectl taint nodes `nodename` `key`:`effect`- # 예시: kubectl taint nodes ip-192-168-201-100.ap-northeast-2.compute.internal itguny04/taint:NoSchedule- # Effect 종류 # NoSchedule (포드를 스케줄링하지..
[AWS] EKS ALB Ingress Controller - ingress class 변경
·
IT Study/Memo & Tips
# controller deploy 파일에 추가 - --ingress-class=`YOU WANT VALUE`
eksctl, kubectl install
·
IT Study/Memo & Tips
# EKSCTL curl --silent --location "https://github.com/weaveworks/eksctl/releases/latest/download/eksctl_$(uname -s)_amd64.tar.gz" | tar xz -C /tmp install /tmp/eksctl /usr/local/bin/ #KUBECTL curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl" install kubectl /usr/local/bin/
[AWS] EKS IAM
·
IT Study/Memo & Tips
EKS Cluster Role AmazonEKSClusterPolicy AmazonEKSVPCResourceController EKS Cluster Node Group Role AmazonEKSWorkerNodePolicy AmazonEC2ContainerRegistryReadOnly AmazonEKS_CNI_Policy
ITguny
'IT Study/Memo & Tips' 카테고리의 글 목록