This documentation is for a release that is no longer maintained
See documentation for the latest supported version 3 or the latest supported version 4.9.3. Uninstalling metering custom resource definitions
The metering custom resource definitions (CRDs) remain in the cluster after the Metering Operator is uninstalled and the openshift-metering namespace is deleted.
重要
Deleting the metering CRDs disrupts any additional metering installations in other namespaces in your cluster. Ensure that there are no other metering installations before proceeding.
Prerequisites
-
The
MeteringConfigcustom resource in theopenshift-meteringnamespace is deleted. -
The
openshift-meteringnamespace is deleted.
Procedure
Delete the remaining metering CRDs:
oc get crd -o name | grep "metering.openshift.io" | xargs oc delete
$ oc get crd -o name | grep "metering.openshift.io" | xargs oc deleteCopy to Clipboard Copied! Toggle word wrap Toggle overflow