ClusterConfig yaml file로 이미 생성한 클러스터의 노드 instanceType을 변경하고 싶습니다. 어떤 eksctl 명령어를 사용할 수 있나요?

0

ClusterConfig yaml file로 이미 생성한 클러스터의 노드 instanceType을 변경하고 싶습니다. 어떤 eksctl 명령어를 사용할 수 있나요?

demandé il y a 9 mois230 vues
1 réponse
0

안녕하세요 고객님

클러스터의 인스턴스 유형을 변경하는 경우 노드 그룹 수준에서 업데이트 하여야합니다. 아래의 첨부드린 문서를 반드시 참고하여 진행해주시는것을 권장드립니다. (* 아래의 단계를 진행하는 동안 기존 노드의 있는 자원은 안전하게 제거 해주시는것을 부탁드립니다.)

[+] 새 노드 그룹으로 마이그레이션

https://docs.aws.amazon.com/ko_kr/eks/latest/userguide/migrate-stack.html

  1. my-cluster를 클러스터 이름으로 바꿔서 기존 노드 그룹의 이름을 검색합니다.
  • eksctl get nodegroups --cluster=my-cluster
  1. 다음 명령어로 eksctl을 사용하여 새 노드 그룹을 시작합니다. eksctl create nodegroup
    --cluster my-cluster
    --version 1.27
    --name standard-nodes-new
    --node-type <node type>
    --nodes 3
    --nodes-min 1
    --nodes-max 4
    --managed=false

  2. 이전 명령이 완료되면 다음 명령으로 모든 노드가 Ready 상태가 되었는지 확인합니다.

  • kubectl get nodes
  1. 다음 명령을 사용하여 원래 노드 그룹을 삭제합니다. 명령에서 모든 example value를 클러스터 이름과 노드 그룹 이름으로 바꿉니다.
  • eksctl delete nodegroup --cluster my-cluster --name standard-nodes-old

감사합니다.

profile pictureAWS
INGÉNIEUR EN ASSISTANCE TECHNIQUE
répondu il y a 8 mois

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions