-
Notifications
You must be signed in to change notification settings - Fork 621
✨ Add support for EKSConfig LaunchTemplate bootstrapping for AL2023 using nodeadm #5553
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
base: main
Are you sure you want to change the base?
Changes from 15 commits
d12643c
b8911f0
1df6059
2974024
2a40624
e1d85eb
8412559
2c8d41b
1521250
1faf230
03750a9
7acf4c3
bf81f67
5d7a6e3
155e074
e8aa2cd
dedb9a7
6493efd
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
@@ -24,6 +24,9 @@ import ( | |||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||
// EKSConfigSpec defines the desired state of Amazon EKS Bootstrap Configuration. | ||||||||||||||||||||||||||||||||||||
type EKSConfigSpec struct { | ||||||||||||||||||||||||||||||||||||
// NodeType specifies the type of node (e.g., "al2023") | ||||||||||||||||||||||||||||||||||||
// +optional | ||||||||||||||||||||||||||||||||||||
NodeType string `json:"nodeType,omitempty"` | ||||||||||||||||||||||||||||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is only required when using AL2023 so perhaps let's add an enum for this and only accept
Suggested change
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thanks for suggetion, I was using constans for NodeTypeAL2023 already, |
||||||||||||||||||||||||||||||||||||
// KubeletExtraArgs passes the specified kubelet args into the Amazon EKS machine bootstrap script | ||||||||||||||||||||||||||||||||||||
// +optional | ||||||||||||||||||||||||||||||||||||
KubeletExtraArgs map[string]string `json:"kubeletExtraArgs,omitempty"` | ||||||||||||||||||||||||||||||||||||
|
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.
Is there any way to derive this from the AMI being used rather than asking the user to specify in the API?