1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-06 06:46:26 +01:00
Files
openshift-docs/modules/metering-uninstall.adoc

36 lines
914 B
Plaintext

// Module included in the following assemblies:
//
// * metering/metering-uninstall.adoc
[id="metering-uninstall_{context}"]
= 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:
+
[source,terminal]
----
$ oc --namespace openshift-metering delete meteringconfig --all
----
. After the previous step is complete, verify that all pods in the `openshift-metering` namespace are deleted or are reporting a terminating state:
+
[source,terminal]
----
$ oc --namespace openshift-metering get pods
----
. Delete the `openshift-metering` namespace:
+
[source,terminal]
----
$ oc delete namespace openshift-metering
----