Created
March 6, 2017 21:50
-
-
Save vnugent/53a72c675daa8ee86802a9fa88f239e8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
As of March 2017 there is no command for deleting registry. You may encounter registry deployment and wish to redploy. Run the following commands to delete all registry-related objects: | |
oc delete clusterrolebinding registry-registry-role | |
oc delete dc/docker-registry | |
oc delete svc/docker-registry | |
oc delete sa/registry | |
for i in $(oc get secrets | grep registry | awk '{print $1}'); do oc delete secret/$i; done # didn't do this the first few times. | |
# systemctl restart origin-master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment