mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-06 06:46:26 +01:00
63 lines
2.0 KiB
Plaintext
63 lines
2.0 KiB
Plaintext
////
|
|
This PROCEDURE module included in the following assemblies:
|
|
* service_mesh/v1x/prepare-to-deploy-applications-ossm.adoc
|
|
* service_mesh/v2x/prepare-to-deploy-applications-ossm.adoc
|
|
////
|
|
|
|
[id="ossm-tutorial-bookinfo-removing_{context}"]
|
|
= Removing the Bookinfo application
|
|
|
|
Follow these steps to remove the Bookinfo application.
|
|
|
|
.Prerequisites
|
|
|
|
* {product-title} 4.1 or higher installed.
|
|
* {ProductName} {ProductVersion} installed.
|
|
* Access to the {product-title} Command-line Interface (CLI) also known as `oc`.
|
|
|
|
[id="ossm-delete-bookinfo-project_{context}"]
|
|
== Delete the Bookinfo project
|
|
|
|
.Procedure
|
|
|
|
. Log in to the {product-title} web console.
|
|
|
|
. Click to *Home* -> *Projects*.
|
|
|
|
. Click on the `bookinfo` menu {kebab}, and then click *Delete Project*.
|
|
|
|
. Type `bookinfo` in the confirmation dialog box, and then click *Delete*.
|
|
+
|
|
** Alternatively, you can run this command from the CLI to create the `bookinfo` project.
|
|
+
|
|
[source,terminal]
|
|
----
|
|
$ oc delete project bookinfo
|
|
----
|
|
|
|
[id="ossm-remove-bookinfo-smmr_{context}"]
|
|
== Remove the Bookinfo project from the {ProductShortName} member roll
|
|
|
|
.Procedure
|
|
|
|
. Log in to the {product-title} web console.
|
|
|
|
. Click *Operators* -> *Installed Operators*.
|
|
|
|
. Click the *Project* menu and choose `openshift-operators` from the list.
|
|
|
|
. Click the *Istio Service Mesh Member Roll* link under *Provided APIS* for the *{ProductName}* Operator.
|
|
|
|
. Click the `ServiceMeshMemberRoll` menu {kebab} and select *Edit Service Mesh Member Roll*.
|
|
|
|
. Edit the default Service Mesh Member Roll YAML and remove `bookinfo` from the *members* list.
|
|
+
|
|
** Alternatively, you can run this command from the CLI to remove the `bookinfo` project from the `ServiceMeshMemberRoll`. Replace `<control_plane_project>` with the name of your control plane project.
|
|
+
|
|
[source,terminal]
|
|
----
|
|
$ oc -n <control_plane_project> patch --type='json' smmr default -p '[{"op": "remove", "path": "/spec/members", "value":["'"bookinfo"'"]}]'
|
|
----
|
|
|
|
. Click *Save* to update Service Mesh Member Roll.
|