Register master node in API server
This commit is contained in:
parent
e6fe9d5807
commit
1c8e8907c9
1 changed files with 1 additions and 0 deletions
|
@ -23,6 +23,7 @@ KUBELET_HOSTNAME="--hostname-override={{ ansible_hostname }}"
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if not standalone_kubelet|bool %}
|
{% if not standalone_kubelet|bool %}
|
||||||
{% set kubelet_args %}--kubeconfig={{ kube_config_dir}}/node-kubeconfig.yaml --require-kubeconfig {{ kubelet_args_dns }}{% endset %}
|
{% set kubelet_args %}--kubeconfig={{ kube_config_dir}}/node-kubeconfig.yaml --require-kubeconfig {{ kubelet_args_dns }}{% endset %}
|
||||||
|
KUBELET_REGISTER_NODE="--register-node=true --register-schedulable=false"
|
||||||
{% else %}
|
{% else %}
|
||||||
{% set kubelet_args = kubelet_args_dns %}
|
{% set kubelet_args = kubelet_args_dns %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
Loading…
Reference in a new issue