cff4c5db4a
Includes CoreDNS with etcd pod for its backend.
20 lines
374 B
Django/Jinja
20 lines
374 B
Django/Jinja
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: coredns
|
|
namespace: {{ system_namespace }}
|
|
labels:
|
|
k8s-app: coredns
|
|
kubernetes.io/cluster-service: "true"
|
|
kubernetes.io/name: "coredns"
|
|
spec:
|
|
selector:
|
|
k8s-app: coredns
|
|
clusterIP: {{ coredns_server }}
|
|
ports:
|
|
- name: dns
|
|
port: 53
|
|
protocol: UDP
|
|
- name: dns-tcp
|
|
port: 53
|
|
protocol: TCP
|