Configure the cluster and machines metadata

  1. Adjust the templates/cluster.yaml.template parameters to suit your deployment:

    1. In the spec::providerSpec::value section, add the mandatory ExternalNetworkID parameter that is the ID of an external OpenStack network. It is required to have public Internet access to virtual machines.

    2. In the spec::clusterNetwork::services section, add the corresponding values for cidrBlocks.

    3. Configure other parameters as required.

    1. In templates/machines.yaml.template, modify the spec:providerSpec:value section for 3 control plane nodes marked with the label by substituting the flavor and image parameters with the corresponding values of the control plane nodes in the related OpenStack cluster. For example:

      spec: &cp_spec
            apiVersion: ""
            kind: "OpenstackMachineProviderSpec"
            flavor: kaas.minimal
            image: bionic-server-cloudimg-amd64-20190612


      The flavor parameter value provided in the example above is cloud-specific and must meet the Container Cloud requirements.

    2. Optional. Available as TechPreview. To boot cluster machines from a block storage volume, define the following parameter in the spec:providerSpec section of templates/machines.yaml.template:

        enabled: true
        volumeSize: 120


      The minimal storage requirement is 120 GB per node. For details, see Requirements for an OpenStack-based cluster.

      To boot the Bastion node from a volume, add the same parameter to templates/cluster.yaml.template in the spec:providerSpec section for Bastion. The default amount of storage 80 is enough.

    Also, modify other parameters as required.