1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-07 09:46:53 +01:00
Files
openshift-docs/modules/serverless-uninstalling-knative-eventing.adoc
2023-10-30 10:13:25 -04:00

36 lines
925 B
Plaintext

// Module included in the following assemblies:
//
// * serverless/removing/uninstalling-knative-eventing.adoc
:_mod-docs-content-type: PROCEDURE
[id="serverless-uninstalling-knative-eventing_{context}"]
= Uninstalling Knative Eventing
.Prerequisites
ifdef::openshift-enterprise[]
* You have access to an {product-title} account with cluster administrator access.
endif::[]
ifdef::openshift-dedicated[]
* You have access to an {product-title} account with cluster administrator or dedicated administrator access.
endif::[]
* Install the OpenShift CLI (`oc`).
.Procedure
. Delete the `KnativeEventing` CR:
+
[source,terminal]
----
$ oc delete knativeeventings.operator.knative.dev knative-eventing -n knative-eventing
----
. After the command has completed and all pods have been removed from the `knative-eventing` namespace, delete the namespace:
+
[source,terminal]
----
$ oc delete namespace knative-eventing
----