21 lines
373 B
YAML
21 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
|