O'Reilly logo

OpenShift Cookbook by Shekhar Gulati

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Leaving a domain using rhc

You have now become a member of a domain that corresponds to the production environment. You have completed your work and now you want to leave the production domain.

Getting ready

To complete this recipe, you will need to have rhc installed on your machine. Please refer to the Installing the OpenShift rhc command-line client recipe in Chapter 1, Getting Started with OpenShift, for instructions.

How to do it…

To leave a domain, you should run the following command. All the users are allowed to leave the domain they are a member of:

$ rhc leave-domain --namespace prodosbook -l openshift.cookbook.test@gmail.com

How it works…

The rhc leave-domain command requires only one mandatory argument, which is --namespace, the namespace ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required