Description of problem: The current version of openshift/coredns is based on CoreDNS 1.8.7 and vendors Kubernetes 1.23 packages. OpenShift 4.11 is based on Kubernetes 1.24. OpenShift release version: 4.11. Steps to Reproduce (in detail): 1. Check <https://github.com/openshift/coredns/blob/release-4.11/go.mod>. Actual results: Kubernetes packages (k8s.io/api, k8s.io/apimachinery, and k8s.io/client-go) are at version v0.23.1. Expected results: Kubernetes packages are at version v0.24.0 or later. Impact of the problem: Using old Kubernetes API and client packages brings risk of API compatibility issues. Newer CoreDNS releases also include important fixes. Additional info: The release-4.11 branch of the github.com/openshift/coredns repository is based on upstream github.com/coredns/coredns version 1.8.7. Upstream CoreDNS moved to Kubernetes 1.24 in its 1.9.2 release (see <https://github.com/coredns/coredns/compare/v1.9.1...v1.9.2>).
melvinjoseph@mjoseph-mac Downloads % oc get clusterversion NAME VERSION AVAILABLE PROGRESSING SINCE STATUS version 4.11.0-0.ci.test-2022-05-30-150908-ci-ln-xfrkp2b-latest True False 51m Cluster version is 4.11.0-0.ci.test-2022-05-30-150908-ci-ln-xfrkp2b-latest melvinjoseph@mjoseph-mac Downloads % melvinjoseph@mjoseph-mac Downloads % melvinjoseph@mjoseph-mac Downloads % melvinjoseph@mjoseph-mac Downloads % melvinjoseph@mjoseph-mac Downloads % oc version Client Version: 4.10.10 Server Version: 4.11.0-0.ci.test-2022-05-30-150908-ci-ln-xfrkp2b-latest Kubernetes Version: v1.24.0-alpha.3.3613+01aa0f3f6052c9-dirty melvinjoseph@mjoseph-mac Downloads % oc get pod -n openshift-dns NAME READY STATUS RESTARTS AGE dns-default-24sk4 2/2 Running 0 67m dns-default-42qtf 2/2 Running 0 61m dns-default-f5cdr 2/2 Running 0 67m dns-default-hcthw 2/2 Running 0 67m dns-default-kkmdc 2/2 Running 0 60m node-resolver-6bbpq 1/1 Running 0 61m node-resolver-fgkgr 1/1 Running 0 67m node-resolver-gfjv6 1/1 Running 0 61m node-resolver-k9btf 1/1 Running 0 67m node-resolver-lr54t 1/1 Running 0 67m node-resolver-vvmhs 1/1 Running 0 61m melvinjoseph@mjoseph-mac Downloads % oc rsh -n openshift-dns dns-default-24sk4 Defaulted container "dns" out of: dns, kube-rbac-proxy sh-4.4# coredns --version CoreDNS-1.9.2 linux/amd64, go1.18, sh-4.4# exit exit melvinjoseph@mjoseph-mac Downloads % Hence verified
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Important: OpenShift Container Platform 4.11.0 bug fix and security update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2022:5069