Fix bug during cluster health check - #117
Conversation
|
@crhuber - any chance the build/release for this can be kicked. Seems the Github action failed and logs are no longer visible. |
|
I built a container from master and tried it out. This feature is just plain broken. When trying to rolling update with labels set to exclude a couple of nodes you get: As it appears to be trying to find the excluded node.... 🙈 |
|
I'd agree with the above. The problem is that @ https://github.com/hellofresh/eks-rolling-update/blob/master/eksrollup/cli.py#L167 the list of nodes has been filtered... so when in runmode 4 (my experience) @ https://github.com/hellofresh/eks-rolling-update/blob/master/eksrollup/cli.py#L200 it tried to find the instance from the filtered node list :( get_k8s_nodes() could be changed to return both the included and excluded nodes, and perhaps add a guard in before to check if the node is one that should be considered (isn't in the excluded nodes list) Any thoughts ? |
…_label_keys Fix bug during cluster health check
Uses existing code to check if the node should be excluded during the desired node count calculation