Description of problem:
"oc get cluster" doesn't work
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. $ oc get cluster -n openshift-machine-api
2. $ oc get clusters.machine.openshift.io -n openshift-machine-api
3. $ oc get crd
"oc get cluster" doesn't work.
$ oc get cluster --all-namespaces
No resources found.
$ oc get crd
$ oc get clusters.machine.openshift.io --all-namespaces
NAMESPACE NAME AGE
openshift-machine-api zhsun3-hpdfk 70m
By default using "oc get cluster" to check cluster instead of using "oc get clusters.machine.openshift.io".
"oc get cluster" will show when https://github.com/openshift/machine-api-operator/pull/225 it's merged
However cluster object is for internal tooling only, we plan to remove the cluster CRD eventually and it's not advised for the user to get/manipulate it at all
$ oc get cluster
$ oc get clusterversion
NAME VERSION AVAILABLE PROGRESSING SINCE STATUS
version 4.0.0-0.nightly-2019-02-27-213933 True False 7m32s Cluster version is 4.0.0-0.nightly-2019-02-27-213933
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, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.