-
Notifications
You must be signed in to change notification settings - Fork 522
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
kubelet: make cluster-dns-ip optional #1482
Conversation
Nits on commit message:
|
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.
I'm happy once @bcressey 's suggestions re: the commit message are addressed. :)
Were you able to confirm that instances' config was correct with and without the setting? Could you add that to the testing section in the description?
Outside of EKS, we cannot compute a value for this, and there's not a reasonable default. We also need to account for it being optional for kubelet in standalone mode.
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.
🔬
Issue number:
#1453
Description of changes:
Outside of EKS, we cannot compute a value for this, and there's not a reasonable default. We also need to account for it being optional for kubelet in standalone mode.
Testing done:
Since Those changes in different version kube-config are an identical change, and it works the same way in all versions, so we just need build aws-k8s-1.19-x86_64 and aws-k8s-1.19-aarch64 images to do test.
With
cluster-dns-ip
databottlerocket-aws-k8s-1.19-x86_64-v1.0.8-b20d9ca6
bottlerocket-aws-k8s-1.19-aarch64-v1.0.8-b20d9ca6
Launching instances to validate if
clusterDNS
works as expectation.Without
cluster-dns-ip
data (removecluster-dns-ip
value in50-aws-k8s.toml
)bottlerocket-aws-k8s-1.19-x86_64-v1.0.8-ad8c4812-dirty
bottlerocket-aws-k8s-1.19-aarch64-v1.0.8-ad8c4812-dirty
Launching instances to validate if
clusterDNS
is not inkubelet-config
.(no
clusterDNS
value there)Terms of contribution:
By submitting this pull request, I agree that this contribution is dual-licensed under the terms of both the Apache License, version 2.0, and the MIT license.