Skip to content
This repository was archived by the owner on Dec 21, 2023. It is now read-only.

Undeploying Discovery from the local CRC Cluster

Alberto Bellotti edited this page Apr 21, 2023 · 5 revisions

Un-deploying Discovery from the local Code-Ready-Container cluster.

While one can go ahead and delete all the individual resources created for us during a deployment, the following command simplifies the process:

$ cd ~/projects/discovery-deployer
$ discodeploy --undeploy
Discovery UnDeployer ...

OCP_SERVER (api.crc.testing:6443):
OCP_USER (developer):
OCP_PASSWORD (*********):
DISCOVERY_NAMESPACE (discovery): 

About to undeploy Discovery from "api.crc.testing:6443"
as user "developer" in project "discovery" namespace (y/n)? y
...

Once completed, running oc get pods should return nothing. After which, another deployment can be made.

Clone this wiki locally