Fixed kubedns e2e test fail,change k8s-app name to kube-dns
This commit is contained in:
parent
ef3c2d86d3
commit
81f7fc4595
2 changed files with 5 additions and 5 deletions
|
@ -4,19 +4,19 @@ metadata:
|
||||||
name: kubedns
|
name: kubedns
|
||||||
namespace: {{ system_namespace }}
|
namespace: {{ system_namespace }}
|
||||||
labels:
|
labels:
|
||||||
k8s-app: kubedns
|
k8s-app: kube-dns
|
||||||
version: v19
|
version: v19
|
||||||
kubernetes.io/cluster-service: "true"
|
kubernetes.io/cluster-service: "true"
|
||||||
spec:
|
spec:
|
||||||
replicas: {{ kubedns_min_replicas }}
|
replicas: {{ kubedns_min_replicas }}
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
k8s-app: kubedns
|
k8s-app: kube-dns
|
||||||
version: v19
|
version: v19
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
k8s-app: kubedns
|
k8s-app: kube-dns
|
||||||
version: v19
|
version: v19
|
||||||
kubernetes.io/cluster-service: "true"
|
kubernetes.io/cluster-service: "true"
|
||||||
spec:
|
spec:
|
||||||
|
|
|
@ -4,12 +4,12 @@ metadata:
|
||||||
name: kubedns
|
name: kubedns
|
||||||
namespace: {{ system_namespace }}
|
namespace: {{ system_namespace }}
|
||||||
labels:
|
labels:
|
||||||
k8s-app: kubedns
|
k8s-app: kube-dns
|
||||||
kubernetes.io/cluster-service: "true"
|
kubernetes.io/cluster-service: "true"
|
||||||
kubernetes.io/name: "kubedns"
|
kubernetes.io/name: "kubedns"
|
||||||
spec:
|
spec:
|
||||||
selector:
|
selector:
|
||||||
k8s-app: kubedns
|
k8s-app: kube-dns
|
||||||
clusterIP: {{ skydns_server }}
|
clusterIP: {{ skydns_server }}
|
||||||
ports:
|
ports:
|
||||||
- name: dns
|
- name: dns
|
||||||
|
|
Loading…
Reference in a new issue