question

AndreiTodereanDascalu-2899 avatar image
0 Votes"
AndreiTodereanDascalu-2899 asked VasiescuLaurentiu-0914 commented

What can I do if an AKS NodePool upgrade has failed?

Hello,

I've attempted to upgrade the K8s version on a NodePool in an AKS cluster. The upgrade has failed due to the first node failing to drain within 10 minutes.
However, now the nodepool is displayed with "Failed" status and has the new version listed (though the upgrade failed and on inspection with kubectl it shows the old version for the nodes).

How can I attempt the upgrade again? Is there a way to increase the wait time?

Thanks

azure-kubernetes-service
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@AndreiTodereanDascalu-2899 Any update on the issue?

Please "Accept as Answer" if the below response helped you so it can help others in community looking for help on similar topics.

Thanks

0 Votes 0 ·

II'm interested in a solution to this as well ...

0 Votes 0 ·

1 Answer

prmanhas-MSFT avatar image
1 Vote"
prmanhas-MSFT answered

@AndreiTodereanDascalu-2899 Apologies for the delay in response and all the inconvenience caused because of this issue.

Can you check troubleshooting steps as mentioned in article below and try to upgrade the node pools again and check if it is working for you or not:

https://docs.microsoft.com/en-us/azure/aks/troubleshooting#im-receiving-errors-that-my-cluster-is-in-failed-state-and-upgrading-or-scaling-will-not-work-until-it-is-fixed

https://docs.microsoft.com/en-us/azure/aks/troubleshooting#im-receiving-errors-when-trying-to-upgrade-or-scale-that-state-my-cluster-is-being-upgraded-or-has-failed-upgrade

https://docs.microsoft.com/en-us/azure/aks/troubleshooting#im-receiving-errors-when-trying-to-upgrade-or-scale-that-state-my-cluster-is-being-upgraded-or-has-failed-upgrade

Do let me know if it worked for you or not.

Please "Accept as Answer" if it helped so it can help others in community looking for help on similar topics.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.