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

[Bug] Karpenter setting interruptionQueueName renamed to interruptionQueue #7697

Open
pstast opened this issue Apr 2, 2024 · 3 comments · Fixed by aws/karpenter-provider-aws#6062
Labels

Comments

@pstast
Copy link

pstast commented Apr 2, 2024

What were you trying to accomplish?

Use Karpenter with spot instance

What happened?

Instances were abruptly terminated without prior notice. Karpenter was not receiving notifications from AWS events queue about spot interruptions.

How to reproduce it?

Used this Karpenter configuration in ClusterConfig:

karpenter:
  version: '0.35.2'
  createServiceAccount: true
  withSpotInterruptionQueue: true

Cause

eksctl inserts settings.interruptionQueueName value to Helm charts values during Karpenter installation. But this helm value has been renamed to settings.interruptionQueue (without "Name") at the end.

See the current Helm chart values:
https://github.com/aws/karpenter-provider-aws/blob/main/charts/karpenter/values.yaml#L194

The change was introduced in the following pull request merged 3 months ago:
aws/karpenter-provider-aws#4840

As a result, INTERRUPTION_QUEUE environment value is not passed to karpenter pods and the queue is not enabled. After fix (rename value name), INTERRUPTION_QUEUE appears in pod environment variables.

Suggested fix

Rename settings.interruptionQueueName to settings.interruptionQueue in user-provided Helm values when installing Karpenter.

@pstast pstast added the kind/bug label Apr 2, 2024
Copy link
Contributor

github-actions bot commented Apr 2, 2024

Hello pstast 👋 Thank you for opening an issue in eksctl project. The team will review the issue and aim to respond within 1-5 business days. Meanwhile, please read about the Contribution and Code of Conduct guidelines here. You can find out more information about eksctl on our website

Copy link
Contributor

github-actions bot commented May 3, 2024

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

@github-actions github-actions bot added the stale label May 3, 2024
@ralf-cestusio
Copy link

There is no solution yet (at least to my knowledge)

@github-actions github-actions bot removed the stale label May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants