EKS and statefulset

0

Hello,

I have an EKS cluster and I'd like to upgrade this cluster with bigger nodes. So I have created a new node group with the desired size four these new nodes, and I'm migrating all apps on them (cordon an old node, drain it to force deployments to recreate pods on new nodes).

I have a problem with some statefulset app. The pods areforced to use the same node, so when I want to migrate to the new nodes, the pods are stacked in pending because the pvc (gp2) used is also b ind to the same node.

How shoud I do to migrate all statefulset app from all nodes to new one without loose all data ?

Thanks.

zerros
질문됨 일 년 전468회 조회
3개 답변
0

gp2 volume will stay I believe if you delete a statefulset

profile picture
답변함 일 년 전
0

i can migrate if the new nodes are in the same az. I have tested that last week ...

zerros
답변함 일 년 전
0

If you are using topology.ebs.csi.aws.com/zone, please confirm the zone you are using for node affinity, otherwise they will not be launched after cordon drain.

AWS
jjpe
답변함 4달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠