Amazon VPC ENI plugin upgrade breaks readiness checks

0

When upgrading the Amazon VPC ENI plugin from v1.11.2-eksbuild.1 to v1.12.2-eksbuild.1 two things get broken and need to be set again.

kubectl set env daemonset aws-node -n kube-system ENABLE_POD_ENI=true

kubectl patch daemonset aws-node -n kube-system \
  -p '{"spec": {"template": {"spec": {"initContainers": [{"env":[{"name":"DISABLE_TCP_EARLY_DEMUX","value":"true"}],"name":"aws-vpc-cni-init"}]}}}}'

fixes the problem, but in the meantime it leaves readiness checks (and potentially other things) broken.

Why are those setting changes undone in this upgrade? Previous upgrades were fine. This is a blocker for doing this in production, we can't afford the downtime. Why would you deliberately disable the whole purpose of the plugin?

The alternative of running those on a loop during the whole process is not very clever at all. Doing it manually is not feasible, even though we're fairly small with only about 20 clusters. We use terraform to manage resources.

1개 답변
1

I am assuming here that you are using managed add-on on EKS cluster. To preserve your add-on configuration while updating your add-on, you can select "PRESERVE" in conflict resolution method, which will make sure that If conflict exists, it will preserve conflicting fields on the cluster.

In terraform, to implement the same, you can refer terraform document related to add-on, where in example you can see option of setting "PRESERVE" in resolve_conflicts_on_update.

You can read AWS blog to know more about preserving edits.

AWS
지원 엔지니어
답변함 10달 전

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

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

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

관련 콘텐츠