From ed5f8aeec824f4770bbf9322557f3865bbc8d642 Mon Sep 17 00:00:00 2001 From: Matthew Mosesohn Date: Fri, 2 Sep 2016 15:09:38 +0400 Subject: [PATCH] Rename kube-dns back to kubedns kubedns should stay named the same so that services which depend on this name are not broken. --- roles/kubernetes-apps/templates/kubedns-rc.yml | 2 +- roles/kubernetes-apps/templates/kubedns-svc.yml | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/roles/kubernetes-apps/templates/kubedns-rc.yml b/roles/kubernetes-apps/templates/kubedns-rc.yml index 2daaf044e..4c8779eb1 100644 --- a/roles/kubernetes-apps/templates/kubedns-rc.yml +++ b/roles/kubernetes-apps/templates/kubedns-rc.yml @@ -4,7 +4,7 @@ metadata: name: kube-dns-v19 namespace: kube-system labels: - k8s-app: kube-dns + k8s-app: kubedns version: v19 kubernetes.io/cluster-service: "true" spec: diff --git a/roles/kubernetes-apps/templates/kubedns-svc.yml b/roles/kubernetes-apps/templates/kubedns-svc.yml index 4820525c5..2e21bc9e6 100644 --- a/roles/kubernetes-apps/templates/kubedns-svc.yml +++ b/roles/kubernetes-apps/templates/kubedns-svc.yml @@ -1,15 +1,15 @@ apiVersion: v1 kind: Service metadata: - name: kube-dns + name: kubedns namespace: kube-system labels: - k8s-app: kube-dns + k8s-app: kubedns kubernetes.io/cluster-service: "true" - kubernetes.io/name: "KubeDNS" + kubernetes.io/name: "kubedns" spec: selector: - k8s-app: kube-dns + k8s-app: kubedns clusterIP: {{ skydns_server }} ports: - name: dns