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.此内容没有您所选择的语言版本。
Chapter 13. Configuring for OpenStack
13.1. Overview 复制链接链接已复制到粘贴板!
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 复制链接链接已复制到粘贴板!
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 复制链接链接已复制到粘贴板!
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 复制链接链接已复制到粘贴板!
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)