Skip to content
This repository has been archived by the owner on Mar 2, 2024. It is now read-only.

upgrade.sh: Om fargate poddene kjører en versjon bak den man oppgraderer fra, feiler oppgradering #1015

Open
Kielo87 opened this issue Sep 6, 2022 · 0 comments
Labels
bug Something isn't working
Milestone

Comments

@Kielo87
Copy link
Contributor

Kielo87 commented Sep 6, 2022

Eks: Fargate poddene kjører på 1.19, mens EKS skal oppgraderes fra 1.20 til 1.21

$ ./upgrade.sh ... 1.21 ...
...
cb-91f7801fe5fe, InvalidRequestException: Kubelet version of Fargate pods must be updated to match cluster version 1.20 before updating cluster version; Please recycle all offending pod replicas

Command failed with error code 1: /tmp/eks-upgrade/1-21/eksctl upgrade cluster --name julius --version 1.21 --approve
Aborting.

$ k get node -o wide

...
fargate-ip-192-168-4-216.eu-west-1.compute.internal   Ready    <none>   6d5h   v1.19.16-eks-6ae7ca2   192.168.4.216   <none>        Amazon Linux 2   4.14.287-215.504.amzn2.x86_64   containerd://1.4.13
...

Workaround
Slett podder med 1.19:

k delete pod -A -l 'eks.amazonaws.com/fargate-profile=fp-default'
@yngvark yngvark added this to the Dark pool milestone Sep 28, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants