vSphere Provision on the Flatcar Linux OS
When provisioning onto the Flatcar Container Linux distribution, you must instruct the bootstrap cluster to make some changes related to the installation paths. To accomplish this, add the --os-hint flatcar
flag to the dkp create cluster
command.
Flatcar default network interface name might require specifying. It is most likely to be ens192
requiring passing the parameter --virtual-ip-interface ens192
to the dkp create cluster vsphere
command. Otherwise, the cluster creation might fail because kube-vip
can not configure the first control-plane virtual IP.
Flatcar Linux example
These flags are also shown in context on the Create Cluster page for either air-gapped or non-air-gapped environments:
dkp create cluster vsphere \
--cluster-name ${CLUSTER_NAME} \
--os-hint flatcar
For provisioning DKP on Flatcar, DKP configures cluster nodes to use Control Groups (cgroups) version 1. In versions prior to Flatcar 3033.3.x, a restart is required in order to apply the changes to the kernel. For more information, refer to the Flatcar documentation.
Also note that once Ignition runs, it is not available on reboot.