diff --git a/roles/kubernetes-apps/ansible/templates/kubedns-deploy.yml b/roles/kubernetes-apps/ansible/templates/kubedns-deploy.yml index a2150cc70..5946aa035 100644 --- a/roles/kubernetes-apps/ansible/templates/kubedns-deploy.yml +++ b/roles/kubernetes-apps/ansible/templates/kubedns-deploy.yml @@ -4,19 +4,19 @@ metadata: name: kubedns namespace: {{ system_namespace }} labels: - k8s-app: kubedns + k8s-app: kube-dns version: v19 kubernetes.io/cluster-service: "true" spec: replicas: {{ kubedns_min_replicas }} selector: matchLabels: - k8s-app: kubedns + k8s-app: kube-dns version: v19 template: metadata: labels: - k8s-app: kubedns + k8s-app: kube-dns version: v19 kubernetes.io/cluster-service: "true" spec: diff --git a/roles/kubernetes-apps/ansible/templates/kubedns-svc.yml b/roles/kubernetes-apps/ansible/templates/kubedns-svc.yml index ce8779326..e57a0bc16 100644 --- a/roles/kubernetes-apps/ansible/templates/kubedns-svc.yml +++ b/roles/kubernetes-apps/ansible/templates/kubedns-svc.yml @@ -4,12 +4,12 @@ metadata: name: kubedns namespace: {{ system_namespace }} labels: - k8s-app: kubedns + k8s-app: kube-dns kubernetes.io/cluster-service: "true" kubernetes.io/name: "kubedns" spec: selector: - k8s-app: kubedns + k8s-app: kube-dns clusterIP: {{ skydns_server }} ports: - name: dns