Este contenido no está disponible en el idioma seleccionado.

12.6. Using Multiple OpenShift Configuration Files


The OpenShift Enterprise interactive setup wizard creates a new express.conf configuration file in the ~/.openshift directory with the specified user and server settings. Multiple configuration files can be created, but you must then use the --config option with the client tools to select the appropriate configuration file.

Procedure 12.2. To Create a New Configuration File:

  1. Run rhc setup with the --config command to create a new configuration file:
    # rhc setup --config=~/.openshift/bob.conf# rhc setup --config=~/.openshift/bob.conf
    Copy to Clipboard Toggle word wrap
  2. Verify that you can connect to OpenShift using different configuration files. Run an rhc command without specifying the configuration file. In this example, the domain for the account configured in the express.conf file is displayed.
    # rhc domain show
    Copy to Clipboard Toggle word wrap
  3. Run the rhc command with --config option. In this example, the domain for the account configured in the bob.conf file is displayed.
    # rhc domain show --config=~/.openshift/bob.conf# rhc domain show --config=~/.openshift/bob.conf
    Copy to Clipboard Toggle word wrap

Note

To switch between different OpenShift environments frequently, see Section 12.7, “Switching Between Multiple OpenShift Environments”.
Volver arriba
Red Hat logoGithubredditYoutubeTwitter

Aprender

Pruebe, compre y venda

Comunidades

Acerca de la documentación de Red Hat

Ayudamos a los usuarios de Red Hat a innovar y alcanzar sus objetivos con nuestros productos y servicios con contenido en el que pueden confiar. Explore nuestras recientes actualizaciones.

Hacer que el código abierto sea más inclusivo

Red Hat se compromete a reemplazar el lenguaje problemático en nuestro código, documentación y propiedades web. Para más detalles, consulte el Blog de Red Hat.

Acerca de Red Hat

Ofrecemos soluciones reforzadas que facilitan a las empresas trabajar en plataformas y entornos, desde el centro de datos central hasta el perímetro de la red.

Theme

© 2025 Red Hat