CLUSTER_NAME | yes | - | cluster-template-clusterclass.yaml, cluster-template-libvirt.yaml, cluster-template.yaml | Name of every object. |
CONTROL_PLANE_MACHINE_COUNT | yes | - | cluster-template-clusterclass.yaml, cluster-template-libvirt.yaml, cluster-template.yaml | Control-plane replicas: an odd number of at least 3 keeps a maxSurge: 0 rollout available. |
KUBERNETES_VERSION | yes | - | cluster-template-clusterclass.yaml, cluster-template-libvirt.yaml, cluster-template.yaml | KubeadmControlPlane and MachineDeployment version. |
NAMESPACE | yes | - | identity-libvirt.yaml, identity.yaml | The namespace allowed to use the identity; used by identity.yaml and identity-libvirt.yaml. |
POD_CIDR | no | 192.168.0.0/16 | cluster-template-clusterclass.yaml, cluster-template-libvirt.yaml, cluster-template.yaml | Cluster.spec.clusterNetwork.pods. |
SERVICE_CIDR | no | 10.128.0.0/12 | cluster-template-clusterclass.yaml, cluster-template-libvirt.yaml, cluster-template.yaml | Cluster.spec.clusterNetwork.services. |
TERRAFORM_CLUSTER_IMAGE | yes | cluster-template-libvirt.yaml: ghcr.io/captf-io/cluster-api-provider-terraform/libvirt-cluster:v0.1.0-opentofu | cluster-template-clusterclass.yaml, cluster-template-libvirt.yaml, cluster-template.yaml | TerraformCluster.spec.source.image. |
TERRAFORM_CP_NODE_STARTUP_TIMEOUT | no | 1800 | cluster-template-clusterclass.yaml, cluster-template-libvirt.yaml, cluster-template.yaml | Control-plane MachineHealthCheck nodeStartupTimeoutSeconds; longer than the worker default, since kubeadm init/join plus kube-vip does strictly more work than a worker join. |
TERRAFORM_CP_UNHEALTHY_TIMEOUT | no | 3600 | cluster-template-clusterclass.yaml, cluster-template-libvirt.yaml, cluster-template.yaml | Control-plane MachineHealthCheck timeout; longer, since replacing a control-plane machine is costlier. |
TERRAFORM_IDENTITY_NAME | yes | cluster-template-libvirt.yaml: libvirt | cluster-template-clusterclass.yaml, cluster-template-libvirt.yaml, cluster-template.yaml, identity.yaml | The identity the cluster, and by default its machines, use. |
TERRAFORM_MACHINE_IMAGE | yes | cluster-template-libvirt.yaml: ghcr.io/captf-io/cluster-api-provider-terraform/libvirt-machine:v0.1.0-opentofu | cluster-template-clusterclass.yaml, cluster-template-libvirt.yaml, cluster-template.yaml | TerraformMachineTemplate.spec.template.spec.source.image (control plane and workers). |
TERRAFORM_NODE_STARTUP_TIMEOUT | no | 1200 | cluster-template-clusterclass.yaml, cluster-template-libvirt.yaml, cluster-template.yaml | Worker MachineHealthCheck nodeStartupTimeoutSeconds. |
TERRAFORM_UNHEALTHY_TIMEOUT | no | 1800 | cluster-template-clusterclass.yaml, cluster-template-libvirt.yaml, cluster-template.yaml | Worker MachineHealthCheck: seconds of InfrastructureReady=False before remediation. It must exceed apply time plus one drift interval (30m by default), because the window starts when the apply starts. |
TERRAFORM_VIP | yes | - | cluster-template-libvirt.yaml | The control-plane VIP kube-vip announces; must be in 192.168.150.200-220 (cluster-template-libvirt.yaml). |
WORKER_MACHINE_COUNT | yes | - | cluster-template-clusterclass.yaml, cluster-template-libvirt.yaml, cluster-template.yaml | MachineDeployment replicas. |