Register master node in API server

This commit is contained in:
Dominika Krzyszczyk 2016-12-09 16:25:20 +01:00
parent e6fe9d5807
commit 1c8e8907c9

View file

@ -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 %}