Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ignore terminating nodes #341

Merged
merged 3 commits into from
Jul 15, 2024
Merged

Ignore terminating nodes #341

merged 3 commits into from
Jul 15, 2024

Conversation

MichaelEischer
Copy link
Collaborator

The generic Kubernetes cloud-controller-manager implementation ignores nodes that are marked with the ToBeDeletedByClusterAutoscaler taint (see https://github.com/kubernetes/cloud-provider/blob/81e4f58b4d1badd71d633d356faaaf69d971d874/controllers/service/controller.go#L64). This PR let's yawol also ignore those nodes.

In addition, the Terminating condition set by the Gardener machine-controller-manager is also considered. This should allow yawol to avoid sending new traffic to nodes that are about to be shut down.

Copy link
Member

@Kumm-Kai Kumm-Kai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few comments :)

@Kumm-Kai Kumm-Kai force-pushed the ignore-terminating-machines branch from 6bd2aff to 509a613 Compare July 15, 2024 12:49
@Kumm-Kai Kumm-Kai merged commit ed2d52e into main Jul 15, 2024
2 checks passed
@Kumm-Kai Kumm-Kai deleted the ignore-terminating-machines branch July 15, 2024 13:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants