-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Return an error when container runtime and overrideBootstrapCommand are defined together #5365
Return an error when container runtime and overrideBootstrapCommand are defined together #5365
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add the output of manual test run?
Small nit for the title to go in release notes :
Return an error in case container runtime and overrideBootstrapCommand is defined
should be
Return an error when container runtime and overrideBootstrapCommand are defined together
Manual run:
config: apiVersion: eksctl.io/v1alpha5
kind: ClusterConfig
metadata:
name: gb-test-cluster-2
region: us-west-2
version: '1.22'
nodeGroups:
- name: managed-ng-1
ami: ami-12345
amiFamily: AmazonLinux2
minSize: 1
maxSize: 4
desiredCapacity: 1
containerRuntime: containerd
overrideBootstrapCommand: |
#!/bin/bash
source /var/lib/cloud/scripts/eksctl/bootstrap.helper.sh
# Note "--node-labels=${NODE_LABELS}" needs the above helper sourced to work, otherwise will have to be defined manually.
/etc/eks/bootstrap.sh test-override-11 --container-runtime containerd --kubelet-extra-args "--node-labels=${NODE_LABELS}"
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎉
This seems to be broken in |
Little correction it seems it throws the error when using the |
Hello @steffakasid! Yes, please! Thank you! :) |
Description
Closes #5363
Checklist
README.md
, or theuserdocs
directory)area/nodegroup
) and kind (e.g.kind/improvement
)BONUS POINTS checklist: complete for good vibes and maybe prizes?! 🤯