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.2. Uninstalling a metering namespace
Uninstall your metering namespace, for example the openshift-metering
namespace, by removing the MeteringConfig
resource and deleting the openshift-metering
namespace.
Prerequisites
- The Metering Operator is removed from your cluster.
Procedure
Remove all resources created by the Metering Operator:
oc --namespace openshift-metering delete meteringconfig --all
$ oc --namespace openshift-metering delete meteringconfig --all
Copy to Clipboard Copied! Toggle word wrap Toggle overflow After the previous step is complete, verify that all pods in the
openshift-metering
namespace are deleted or are reporting a terminating state:oc --namespace openshift-metering get pods
$ oc --namespace openshift-metering get pods
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Delete the
openshift-metering
namespace:oc delete namespace openshift-metering
$ oc delete namespace openshift-metering
Copy to Clipboard Copied! Toggle word wrap Toggle overflow