1
0
mirror of https://github.com/openshift/installer.git synced 2026-02-06 00:48:45 +01:00
Files
installer/docs/user/openstack/customization.md
Mike Fedosin 3f2c3a0eba OpenStack: remove region from install config
This parameter is not used by the installer and completely ignored
during the installation, so it just confuses users and should be removed.

The real region value is taken from clouds.yaml file.
2019-09-11 10:19:22 +02:00

2.2 KiB

OpenStack Platform Customization

Beyond the platform-agnostic install-config.yaml properties, the installer supports additional, OpenStack-specific properties.

Cluster-scoped properties

  • cloud (required string): The name of the OpenStack cloud to use from clouds.yaml.
  • computeFlavor (required string): The OpenStack compute flavor to use for control-plane machines. This is currently required, but has lower precedence than the type property on the controlPlane machine-pool.
  • externalNetwork (required string): The OpenStack external network name to be used for installation.
  • lbFloatingIP (required string): Existing Floating IP to associate with the API load balancer.
  • octaviaSupport (optional string): Whether OpenStack supports Octavia (1 for true or 0 for false)
  • region (deprecated string): The OpenStack region where the cluster will be created. Currently this value is not used by the installer.
  • trunkSupport (optional string): Whether OpenStack ports can be trunked (1 for true or 0 for false)

Machine pools

  • type (optional string): The OpenStack flavor name for machines in the pool.

Examples

Some example install-config.yaml are shown below. For examples of platform-agnostic configuration fragments, see here.

Minimal

An example minimal OpenStack install config is:

apiVersion: v1
baseDomain: example.com
metadata:
  name: test-cluster
platform:
  openstack:
    cloud: mycloud
    computeFlavor: m1.s2.xlarge
    externalNetwork: external
    lbFloatingIP: 128.0.0.1
    region: region1
pullSecret: '{"auths": ...}'
sshKey: ssh-ed25519 AAAA...

Custom machine pools

An example OpenStack install config with custom machine pools:

apiVersion: v1
baseDomain: example.com
controlPlane:
  name: master
  replicas: 3
compute:
- name: worker
  platform:
    openstack:
      type: ml.large
  replicas: 3
metadata:
  name: test-cluster
platform:
  openstack:
    cloud: mycloud
    computeFlavor: m1.s2.xlarge
    externalNetwork: external
    lbFloatingIP: 128.0.0.1
    region: region1
pullSecret: '{"auths": ...}'
sshKey: ssh-ed25519 AAAA...