1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-06 06:46:26 +01:00
Files
openshift-docs/modules/delete-kn-trigger.adoc
2022-08-04 14:38:35 +00:00

42 lines
999 B
Plaintext

// Module included in the following assemblies:
//
// * /serverless/develop/serverless-triggers.adoc
:_content-type: PROCEDURE
[id="delete-kn-trigger_{context}"]
= Deleting a trigger by using the Knative CLI
Using the Knative (`kn`) CLI to delete a trigger provides a streamlined and intuitive user interface. 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 Knative (`kn`) CLI.
* You have created a project or have access to a project with the appropriate roles and permissions to create applications and other workloads in {product-title}.
.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.
----