Update startup scripts for kube-dns ConfigMap and ServiceAccount

This commit is contained in:
Zihong Zheng
2017-03-08 16:45:22 -08:00
parent 7b4bec038c
commit 3acff7d3ef
9 changed files with 30 additions and 0 deletions

View File

@@ -34,6 +34,7 @@ function deploy_dns {
if [ ! "$KUBEDNS" ]; then
# use kubectl to create kube-dns deployment and service
${KUBECTL} --namespace=kube-system create -f kubedns-sa.yaml
${KUBECTL} --namespace=kube-system create -f kubedns-cm.yaml
${KUBECTL} --namespace=kube-system create -f kubedns-controller.yaml
${KUBECTL} --namespace=kube-system create -f kubedns-svc.yaml