I am trying to create a cluster with a tainted node to test tolerations. From the documentation it should be possible to register a node with taints by using a kubeadmInitConfiguration patch, but this doesn't seem to work.
This will successfully create a cluster, but all information in the kubeadm patch is not reflected once the node is created.
Debug (-v 5) log shows the patch being used:
I am trying to create a cluster with a tainted node to test tolerations. From the documentation it should be possible to register a node with taints by using a
kubeadm
InitConfiguration
patch, but this doesn't seem to work.My cluster config looks like this:
This will successfully create a cluster, but all information in the
kubeadm
patch is not reflected once the node is created. Debug (-v 5) log shows the patch being used:But the node so created looks like this, with no taint and also missing the extra label:
What am I missing?