Open
Description
Is this a BUG REPORT or FEATURE REQUEST?
Choose one: BUG REPORT
What happened?
Due we apply the control plane taint after the control plane comes up, on a multi-control plane case we can have pod scheduled to this control plane.
What you expected to happen?
Use the kubelet --register-with-taints config instead of handler it on a separate phase.
How to reproduce it (as minimally and precisely as possible)?
- Kubeadm init
- Create a daemonset
- Join another control plane
Anything else we need to know?
For now, I just use this config but would be nice if kubeadm can handler it.
apiVersion: kubeadm.k8s.io/v1beta1
kind: InitConfiguration
nodeRegistration:
# Remove the default control-plane taint so we taint it manually with KUBELET_EXTRA_ARGS
taints: []
```