Open anton-johansson opened 4 years ago
KubeletConfiguration
seems to be the best way of configuring kubelet (and other components as well). Many of the cmd arguments to kubelet is deprecated and I've moved them in to the kubelet config file for that reason.
It's easy to add a maxPods
variable which then adds in to the config when it's generated. But as I see it there are too much configuration to make it generic. Something that would solve this would be if Ansible supported overriding templates with the ansible-playbook
command letting users use custom templates. But Ansible can't do that unfortunately. So I'm not sure how to solve this.
We previously added support for configuring
kube-apiserver
parameters dynamically. This is nice, and we should probably have this for all components?However, how do we do it for
kubelet
, where the configuration comes from a file instead of command line arguments? Maybe the exact same way?For example, one parameter that I might want to change is
maxPods
(or--max-pods
).