Could you help me please. Should cluster-api metadata propagation work with cluster-api-bootstrap-provider-talos, or should I define node labels in the config?
versions used:
NAME NAMESPACE TYPE CURRENT VERSION NEXT VERSION
bootstrap-kubeadm capi-kubeadm-bootstrap-system BootstrapProvider v1.5.0 Already up to date
bootstrap-talos cabpt-system BootstrapProvider v0.6.0 Already up to date
control-plane-talos cacppt-system ControlPlaneProvider v0.5.1 Already up to date
cluster-api capi-system CoreProvider v1.5.0 Already up to date
infrastructure-hetzner caph-system InfrastructureProvider v1.0.0-beta.18 Already up to date
kubectl get nodes --show-labels
NAME STATUS ROLES AGE VERSION LABELS
hil2-capihcmt-control-plane-pdjpn Ready control-plane 3m36s v1.27.2 beta.kubernetes.io/arch=amd64,beta.kubernetes.io/os=linux,kubernetes.io/arch=amd64,kubernetes.io/hostname=hil2-capihcmt-control-plane-pdjpn,kubernetes.io/os=linux,node-role.kubernetes.io/control-plane=
hil2-capihcmt-md-0-ndm2b Ready <none> 3m39s v1.27.2 beta.kubernetes.io/arch=amd64,beta.kubernetes.io/os=linux,kubernetes.io/arch=amd64,kubernetes.io/hostname=hil2-capihcmt-md-0-ndm2b,kubernetes.io/os=linux
unfortunately the label node-role.kubernetes.io/worker=nodepool-md0 is not added
Yes, at the moment it needs to be defined as a config patch for a machine config. CABPT doesn't have any integration with CAPI metadata, but it might be a nice feature.
Could you help me please. Should cluster-api metadata propagation work with cluster-api-bootstrap-provider-talos, or should I define node labels in the config?
versions used:
my MachineDeployment:
result:
unfortunately the label node-role.kubernetes.io/worker=nodepool-md0 is not added