According to this documentation, Extra flags for the API server, controller, and scheduler components can be specified using the variables below, in the form of dicts of key-value pairs of configuration parameters that will be inserted into the kubeadm YAML config file:
- kube_kubeadm_apiserver_extra_args
- kube_kubeadm_controller_extra_args
- kube_kubeadm_scheduler_extra_args
But I can't really figure out where to add them in ansible playbooks so that they can be rendered on the master node during the cluster deloyment.
I tried using this file kubespray/roles/kubernetes/master/defaults/main/main.yml
and this file kubespray/roles/kubespray-defaults/defaults/main.yaml
but it doesn't work for none of the two files, ansible doesn't deploy them, like if ansible doesn't read them.
Where the kubeadm
YAML config file is located?
Can someone here help with these parameters management?