Merge pull request #949 from mrunalp/test_fix_kube_dns
test: Fix kube dns bring up in cluster
This commit is contained in:
commit
825f7f290b
1 changed files with 2 additions and 1 deletions
|
@ -23,6 +23,7 @@
|
||||||
After=network-online.target
|
After=network-online.target
|
||||||
Wants=network-online.target
|
Wants=network-online.target
|
||||||
[Service]
|
[Service]
|
||||||
|
WorkingDirectory={{ ansible_env.GOPATH }}/src/k8s.io/kubernetes
|
||||||
ExecStart=/usr/local/bin/createcluster.sh
|
ExecStart=/usr/local/bin/createcluster.sh
|
||||||
User=root
|
User=root
|
||||||
[Install]
|
[Install]
|
||||||
|
@ -44,7 +45,7 @@
|
||||||
export API_HOST={{ ansible_eth0.ipv4.address }}
|
export API_HOST={{ ansible_eth0.ipv4.address }}
|
||||||
export API_HOST_IP={{ ansible_eth0.ipv4.address }}
|
export API_HOST_IP={{ ansible_eth0.ipv4.address }}
|
||||||
export KUBE_ENABLE_CLUSTER_DNS=true
|
export KUBE_ENABLE_CLUSTER_DNS=true
|
||||||
{{ ansible_env.GOPATH }}/src/k8s.io/kubernetes/hack/local-up-cluster.sh
|
./hack/local-up-cluster.sh
|
||||||
mode: "u=rwx,g=rwx,o=x"
|
mode: "u=rwx,g=rwx,o=x"
|
||||||
|
|
||||||
- name: Set kubernetes_provider to be local
|
- name: Set kubernetes_provider to be local
|
||||||
|
|
Loading…
Reference in a new issue