mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-05 21:46:22 +01:00
85 lines
2.0 KiB
Plaintext
85 lines
2.0 KiB
Plaintext
////
|
|
This PROCEDURE module included in the following assemblies:
|
|
- rhbjaeger-installation.adoc
|
|
////
|
|
|
|
[id="jaeger-removing-cli_{context}"]
|
|
= Removing a Jaeger instance from the CLI
|
|
|
|
|
|
. Log in to the {product-title} CLI.
|
|
+
|
|
[source,terminal]
|
|
----
|
|
$ oc login
|
|
----
|
|
+
|
|
. To display the Jaeger instances run the command:
|
|
+
|
|
[source,terminal]
|
|
----
|
|
$ oc get deployments -n <jaeger-project>
|
|
----
|
|
+
|
|
The names of operators have the suffix `-operator`. The following example shows two Jaeger Operators and four Jaeger instances:
|
|
+
|
|
[source,terminal]
|
|
----
|
|
$ oc get deployments -n jaeger-system
|
|
----
|
|
+
|
|
You should see output similar to the following:
|
|
+
|
|
[source,terminal]
|
|
----
|
|
NAME READY UP-TO-DATE AVAILABLE AGE
|
|
elasticsearch-operator 1/1 1 1 93m
|
|
jaeger-operator 1/1 1 1 49m
|
|
jaeger-test 1/1 1 1 7m23s
|
|
jaeger-test2 1/1 1 1 6m48s
|
|
tracing1 1/1 1 1 7m8s
|
|
tracing2 1/1 1 1 35m
|
|
----
|
|
+
|
|
. To remove an instance of Jaeger, run the command:
|
|
+
|
|
[source,terminal]
|
|
----
|
|
$ oc delete jaeger <deployment-name> -n <jaeger-project>
|
|
----
|
|
+
|
|
For example,
|
|
+
|
|
[source,terminal]
|
|
----
|
|
$ oc delete jaeger tracing2 -n jaeger-system
|
|
----
|
|
+
|
|
|
|
. To verify the deletion, run `oc get deployment` again:
|
|
+
|
|
[source,terminal]
|
|
----
|
|
$ oc get deployments -n <jaeger-project>
|
|
----
|
|
|
|
+
|
|
For example,
|
|
+
|
|
[source,terminal]
|
|
----
|
|
$ oc get deployments -n jaeger-system
|
|
----
|
|
+
|
|
Should generate output similar to the following:
|
|
+
|
|
[source,terminal]
|
|
----
|
|
NAME READY UP-TO-DATE AVAILABLE AGE
|
|
elasticsearch-operator 1/1 1 1 94m
|
|
jaeger-operator 1/1 1 1 50m
|
|
jaeger-test 1/1 1 1 8m14s
|
|
jaeger-test2 1/1 1 1 7m39s
|
|
tracing1 1/1 1 1 7m59s
|
|
----
|