mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-06 06:46:26 +01:00
36 lines
596 B
Plaintext
36 lines
596 B
Plaintext
[id="delete-kn-trigger_{context}"]
|
|
= Deleting a trigger by using the Knative CLI
|
|
|
|
You can use the `kn trigger delete` command to delete a trigger.
|
|
|
|
.Prerequisites
|
|
|
|
* The {ServerlessOperatorName} and Knative Eventing are installed on your {product-title} cluster.
|
|
* You have installed the `kn` CLI.
|
|
|
|
.Procedure
|
|
|
|
* Delete a trigger:
|
|
+
|
|
[source,terminal]
|
|
----
|
|
$ kn trigger delete <trigger_name>
|
|
----
|
|
|
|
.Verification
|
|
|
|
. List existing triggers:
|
|
+
|
|
[source,terminal]
|
|
----
|
|
$ kn trigger list
|
|
----
|
|
|
|
. Verify that the trigger no longer exists:
|
|
+
|
|
.Example output
|
|
[source,terminal]
|
|
----
|
|
No triggers found.
|
|
----
|