Configure the cluster and machines metadata¶
In
templates/machines.yaml.template
, modify thespec:providerSpec:value
section for 3 control plane nodes marked with thecluster.sigs.k8s.io/control-plane
label by substituting theflavor
andimage
parameters with the corresponding values of the control plane nodes in the related OpenStack cluster. For example:spec: &cp_spec providerSpec: value: apiVersion: "openstackproviderconfig.k8s.io/v1alpha1" kind: "OpenstackMachineProviderSpec" flavor: kaas.minimal image: bionic-server-cloudimg-amd64-20190612
Note
The
flavor
parameter value provided in the example above is cloud-specific and must meet the Container Cloud requirements.Also, modify other parameters as required.
Modify the
templates/cluster.yaml.template
parameters to fit your deployment. For example, add the corresponding values forcidrBlocks
in thespec::clusterNetwork::services
section.