Closed nickperry closed 5 years ago
Actually
Exec[kubeadm init]/returns: can not mix '--config' with arguments [feature-gates]
So I can enable feature-gates via the config using kubeadm_extra_config. However, this only works for the controllers, not worker nodes at this time. This is because the module does not write a config file and pass it to kubeadm for join - only for init.
Fundamentally, the higher level problem I'm tying myself in knots trying to fix is how to use this module to define a custom infra / pause container for use in our air-gapped environments. This was easy to achieve for controllers, through the addition of $kubelet_extra_arguments. However, the fact that join doesn't use a config file whereas init does in this module, is making this tricky for worker nodes.
I have realised I can work around this by managing /etc/sysconfig/kubelet from my profile manifest which calls the kubenernetes module.
Is this a FEATURE REQUEST? YES
Versions:
3.1