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
Add a way to customize coredns version. #78851
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -259,6 +259,7 @@ fi | |
# Optional: Install cluster DNS. | ||
# Set CLUSTER_DNS_CORE_DNS to 'false' to install kube-dns instead of CoreDNS. | ||
CLUSTER_DNS_CORE_DNS="${CLUSTER_DNS_CORE_DNS:-true}" | ||
CORE_DNS_VERSION="${KUBE_CORE_DNS_VERSION:-}" | ||
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. if KUBE_CORE_DNS_VERSION is unset, will this produce an invalid manifest? If so, we should either set a valid default here or remove the 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. I don't see 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. It's not required -- the default value is used in configure-helper.sh if this is not specified. In #77918 I was adding similar config variable using slightly different approach:
This time I'm using slightly different approach to avoid breaking gke. |
||
ENABLE_CLUSTER_DNS="${KUBE_ENABLE_CLUSTER_DNS:-true}" | ||
DNS_SERVER_IP="${KUBE_DNS_SERVER_IP:-10.0.0.10}" | ||
DNS_DOMAIN="${KUBE_DNS_DOMAIN:-cluster.local}" | ||
|
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.
Based on changes in #78691 I think the
readinessProbe.httpGet
fields should also be modifiedThere 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 agree, and the ConfigMap Corefile needs to include the ready plugin when being deployed in 1.5.0.