-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Allow EC2 "Name" tag to be supplied in the provisioner spec #964
Conversation
✔️ Deploy Preview for karpenter-docs-prod ready! 🔨 Explore the source changes: 14b509f 🔍 Inspect the deploy log: https://app.netlify.com/sites/karpenter-docs-prod/deploys/61b7b87d62c76e0008563faa 😎 Browse the preview: https://deploy-preview-964--karpenter-docs-prod.netlify.app |
Fixing typo in docs Co-authored-by: Ellis Tarn <[email protected]>
…sioner/<provisioner-name>
"Name": fmt.Sprintf("karpenter.sh/%s", clusterName), | ||
fmt.Sprintf(ClusterTagKeyFormat, clusterName): "owned", | ||
fmt.Sprintf(KarpenterTagKeyFormat, clusterName): "owned", | ||
func MergeTags(ctx context.Context, customTags map[string]string) []*ec2.Tag { |
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.
Optional: put this on the aws object.
func (a *AWS) GetTags()
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.
Nice!
Head branch was pushed to by a user without write access
Thank you! Will cut a release soon. |
README: add link to Netlify dashboard (aws#964)
* chart: Added extraVolumes and extraVolumeMounts README: add link to Netlify dashboard (#964) * Update charts/karpenter/templates/deployment.yaml Co-authored-by: Brandon Wagner <[email protected]> * Update charts/karpenter/templates/deployment.yaml Co-authored-by: Brandon Wagner <[email protected]> Co-authored-by: Brandon Wagner <[email protected]>
1. Issue, if available:
#944
2. Description of changes:
These changes allow the EC2 "Name" tag to be set in the provisioner spec as:
If the Name tag is not supplied in the spec, the logic falls back to the previous default value of
Name: karpenter.sh/<cluster-name>
3. Does this change impact docs?
4. Testing
All local tests passed
In addition to the above local tests, the updated images were built locally and pushed to my development ECR. The updated chart was then deployed and the code changes were tested in AWS EKS.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.