c75f394707
Also place in global vars and do not repeat the kube_*_config_dir and kube_namespace vars for better code maintainability and UX. Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
20 lines
373 B
YAML
20 lines
373 B
YAML
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: kubedns
|
|
namespace: {{ system_namespace }}
|
|
labels:
|
|
k8s-app: kubedns
|
|
kubernetes.io/cluster-service: "true"
|
|
kubernetes.io/name: "kubedns"
|
|
spec:
|
|
selector:
|
|
k8s-app: kubedns
|
|
clusterIP: {{ skydns_server }}
|
|
ports:
|
|
- name: dns
|
|
port: 53
|
|
protocol: UDP
|
|
- name: dns-tcp
|
|
port: 53
|
|
protocol: TCP
|