If you are trying to add nodes to a DKP preprovisioned cluster, you may encounter a scenario where the node is stuck being provisioned.
Checking the logs for the cappp-controller-manager logs, you might see messages like the following:
20XX-XX-XXTXX:XX:XX.XXXZ ERROR controller.preprovisionedmachine Reconciler error {"reconciler group": "infrastructure.cluster.konvoy.d2iq.io", "reconciler kind": "PreprovisionedMachine", "name": "cluster-control-plane-xxxxx", "namespace": "default", "error": "no available hosts"...
To troubleshoot further, ensure that there are available hosts in the associated PreprovisionedInventory objects that are not already provisioned as PreprovisionedMachines:
kubectl get preprovisionedinventory -A -oyaml
kubectl get preprovisionedmachines -A
Ensure that all control plane and worker node addresses are unique, and correspond to hosts that you have preprovisioned.