The downloaded oc binary's version doesn't match the server version
Issue
- In every OpenShift cluster, there is a URL to download the command line tools, like
https://downloads-openshift-console.apps.cluster.domain.tld/command-line-tools
, for several different operating systems. - The version of the tools downloaded there does not match the cluster version.
-
For example, for a 4.4.15 cluster:
$ curl -k https://downloads-openshift-console.apps.cluster.domain.tld/amd64/linux/oc.tar | tar xf - $ ./oc version Client Version: openshift-clients-4.4.0-202006211643.p0-2-gd89e458c3 Server Version: 4.4.15 Kubernetes Version: v1.17.1+3288478
Environment
- Red Hat OpenShift Container Platform
- 4
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.