Fixed kubedns e2e test fail,change k8s-app name to kube-dns

This commit is contained in:
billy2180 2017-06-08 12:01:57 +08:00
parent ef3c2d86d3
commit 81f7fc4595
2 changed files with 5 additions and 5 deletions

View file

@ -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:

View file

@ -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