Merge branch 'master' into etcddockerdefault
This commit is contained in:
commit
623becabf8
5 changed files with 6 additions and 2 deletions
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
- include: set_facts.yml
|
|
||||||
- include: install.yml
|
- include: install.yml
|
||||||
- include: set_cluster_health.yml
|
- include: set_cluster_health.yml
|
||||||
- include: configure.yml
|
- include: configure.yml
|
||||||
|
|
|
@ -29,6 +29,9 @@ kube_log_dir: "/var/log/kubernetes"
|
||||||
|
|
||||||
dns_domain: "{{ cluster_name }}"
|
dns_domain: "{{ cluster_name }}"
|
||||||
|
|
||||||
|
# resolv.conf to base dns config
|
||||||
|
kube_resolv_conf: "/etc/resolv.conf"
|
||||||
|
|
||||||
kube_proxy_mode: iptables
|
kube_proxy_mode: iptables
|
||||||
|
|
||||||
# An experimental dev/test only dynamic volumes provisioner,
|
# An experimental dev/test only dynamic volumes provisioner,
|
||||||
|
|
|
@ -21,7 +21,7 @@ KUBELET_REGISTER_NODE="--register-node=false"
|
||||||
{% endif %}
|
{% endif %}
|
||||||
# location of the api-server
|
# location of the api-server
|
||||||
{% if dns_setup %}
|
{% if dns_setup %}
|
||||||
KUBELET_ARGS="--cluster_dns={{ dns_server }} --cluster_domain={{ dns_domain }} --kubeconfig={{ kube_config_dir}}/node-kubeconfig.yaml --config={{ kube_manifest_dir }}"
|
KUBELET_ARGS="--cluster_dns={{ dns_server }} --cluster_domain={{ dns_domain }} --kubeconfig={{ kube_config_dir}}/node-kubeconfig.yaml --config={{ kube_manifest_dir }} --resolv-conf={{ kube_resolv_conf }}"
|
||||||
{% else %}
|
{% else %}
|
||||||
KUBELET_ARGS="--kubeconfig={{ kube_config_dir}}/kubelet.kubeconfig --config={{ kube_manifest_dir }}"
|
KUBELET_ARGS="--kubeconfig={{ kube_config_dir}}/kubelet.kubeconfig --config={{ kube_manifest_dir }}"
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
|
@ -2,6 +2,8 @@
|
||||||
- include: gitinfos.yml
|
- include: gitinfos.yml
|
||||||
when: run_gitinfos
|
when: run_gitinfos
|
||||||
|
|
||||||
|
- include: set_facts.yml
|
||||||
|
|
||||||
- name: gather os specific variables
|
- name: gather os specific variables
|
||||||
include_vars: "{{ item }}"
|
include_vars: "{{ item }}"
|
||||||
with_first_found:
|
with_first_found:
|
||||||
|
|
Loading…
Reference in a new issue