This documentation is for a release that is no longer maintained
See documentation for the latest supported version 3 or the latest supported version 4.Este conteúdo não está disponível no idioma selecionado.
Chapter 13. Configuring for OpenStack
13.1. Overview Copiar o linkLink copiado para a área de transferência!
When deployed on OpenStack, OpenShift can be configured to access OpenStack infrastructure, including using OpenStack Cinder volumes as persistent storage for application data.
13.2. Configuring OpenStack Variables Copiar o linkLink copiado para a área de transferência!
To set the required OpenStack variables, create a /etc/cloud.conf file with the following contents on all of your OpenShift hosts, both masters and nodes:
Consult your OpenStack administrators for values of the OS_
variables, which are commonly used in OpenStack configuration.
13.3. Configuring Masters Copiar o linkLink copiado para a área de transferência!
Edit or create the master configuration file on all masters (/etc/origin/master/master-config.yaml by default) and update the contents of the apiServerArguments
and controllerArguments
sections:
13.4. Configuring Nodes Copiar o linkLink copiado para a área de transferência!
Edit or create the node configuration file on all nodes (/etc/origin/node/node-config.yaml by default) and update the contents of the kubeletArguments
and nodeName
sections:
- 1
- Name of the OpenStack instance where the node runs (i.e., name of the virtual machine)