You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.