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

feat: Added an interruption taint to the nodes #6143

Closed

Conversation

stijndehaes
Copy link
Contributor

That way pods can look at the node to see if they were interrupted because of a spot interrupt

Fixes #6103

Description

Added a taint to the nodes when there is an interruption happening

How was this change tested?

Unit test

Does this change impact docs?

  • Yes, PR includes docs updates
  • Yes, issue opened: #
  • No

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@stijndehaes stijndehaes requested a review from a team as a code owner May 3, 2024 15:13
@stijndehaes stijndehaes requested a review from jmdeal May 3, 2024 15:13
Copy link

netlify bot commented May 3, 2024

Deploy Preview for karpenter-docs-prod ready!

Name Link
🔨 Latest commit ddeb2b1
🔍 Latest deploy log https://app.netlify.com/sites/karpenter-docs-prod/deploys/6634ff67a09ac500080876b1
😎 Deploy Preview https://deploy-preview-6143--karpenter-docs-prod.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

That way pods can look at the node to see if they were interrupted because of a spot interrupt
@stijndehaes stijndehaes force-pushed the feature/added-interruption-taints branch from 32382cc to ddeb2b1 Compare May 3, 2024 15:14
@jonathan-innis
Copy link
Contributor

Made some comments in the original issue. I'm not sure the taint is the best way to achieve this. I'd rather see you build the observability after eventing or rely on the NodeClaim status conditions and we can build-in support for adding NodeClaim status conditions on interrupt.

@jonathan-innis jonathan-innis self-assigned this May 10, 2024
@stijndehaes stijndehaes deleted the feature/added-interruption-taints branch May 13, 2024 07:06
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.

Spot interrupt taint/label/annotation on node
2 participants