dns - GetDNSVersion does not depend of the version #870
Labels
documentation/confusing
kind/feature
Categorizes issue or PR as related to a new feature.
sig/cluster-lifecycle
Categorizes an issue or PR as relevant to SIG Cluster Lifecycle.
Is this a BUG REPORT or FEATURE REQUEST?
BUG REPORT
Reopening the issue from here: kubernetes/kubernetes#64454
Versions
kubeadm version (use
kubeadm version
):last one - master for 1.11
What happened?
From that Review : kubernetes/kubernetes#64258
in this piece of code : https://github.com/kubernetes/kubernetes/pull/64258/files/8d8b47596e6e71ae705ed2fd1e946e32a98a42f0#diff-6f6577e723201d3cf7ff85de45a73068
there is a comment:
Obviously, there is no implementation of logic to return the DNS version that as pushed for one version of Kubernetes. (neither for kube-dns, neither for CoreDNS)
for instance:
CoreDNS 1.0.0 was pushed in the release k8s v1.9.0
CoreDNS 1.0.6 was pushed in the release k8s v1.10.0
CoreDNS 1.1.3 is now pushed in the coming release k8s v1.11.0
However, the last version CoreDNS 1.1.3 is compatible with all versions of k8s (1.9 and highers).
What you expected to happen?
A better description on what logic should be encoded in this function. Based on example of above, should that GetDNSVersion function return always 1.1.3 , or check k8s version and return 1.0.0 or 1.0.6 or 1.1.3 ?
Maybe explanation on when this function will not be called with the version of k8s it is released on.
/sig cluster-lifecycle
/cc @luxas
/cc @fturib
The text was updated successfully, but these errors were encountered: