Added apiserver extra args variable for kubeadm config (#2291)
This commit is contained in:
parent
46284198f8
commit
03c61685fb
3 changed files with 6 additions and 2 deletions
|
@ -83,6 +83,7 @@ controller_mgr_custom_flags: []
|
||||||
scheduler_custom_flags: []
|
scheduler_custom_flags: []
|
||||||
|
|
||||||
## Extra args for k8s components passing by kubeadm
|
## Extra args for k8s components passing by kubeadm
|
||||||
|
kube_kubeadm_apiserver_extra_args: {}
|
||||||
kube_kubeadm_controller_extra_args: {}
|
kube_kubeadm_controller_extra_args: {}
|
||||||
kube_kubeadm_scheduler_extra_args: {}
|
kube_kubeadm_scheduler_extra_args: {}
|
||||||
|
|
||||||
|
|
|
@ -58,6 +58,9 @@ apiServerExtraArgs:
|
||||||
runtime-config: {{ kube_api_runtime_config | join(',') }}
|
runtime-config: {{ kube_api_runtime_config | join(',') }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
allow-privileged: "true"
|
allow-privileged: "true"
|
||||||
|
{% for key in kube_kubeadm_apiserver_extra_args %}
|
||||||
|
{{ key }}: {{ kube_kubeadm_apiserver_extra_args[key] }}
|
||||||
|
{% endfor %}
|
||||||
controllerManagerExtraArgs:
|
controllerManagerExtraArgs:
|
||||||
node-monitor-grace-period: {{ kube_controller_node_monitor_grace_period }}
|
node-monitor-grace-period: {{ kube_controller_node_monitor_grace_period }}
|
||||||
node-monitor-period: {{ kube_controller_node_monitor_period }}
|
node-monitor-period: {{ kube_controller_node_monitor_period }}
|
||||||
|
|
Loading…
Reference in a new issue