Skip to content
Snippets Groups Projects
Commit c130ecb0 authored by Michael Davis's avatar Michael Davis
Browse files

Fixed behaviour when kube-system name space already exists.

parent 4f50c312
No related branches found
No related tags found
No related merge requests found
......@@ -51,7 +51,7 @@ perl -p -i -e 's/<%= \@dns_domainname -%>/'"${dns_domainname}"'/' ${dnspoddir}/p
perl -p -i -e 's/<%= \@my_ipaddress -%>/'"${docker_ipaddress}"'/' ${dnspoddir}/pod-dns.yaml
perl -p -i -e 's/<%= \@upper_level_dns -%>/'"${upper_level_dns}"'/' ${dnspoddir}/pod-dns.yaml
sudo kubectl create -f kubernetes/kube-system_ns.yaml
sudo kubectl create -f kubernetes/kube-system_ns.yaml || true
sudo kubectl create -f ${dnspoddir}/dns-svc.yaml
sudo kubectl create -f ${dnspoddir}/pod-dns.yaml
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment