c12s-kubespray/roles/kubernetes/federation/templates/etcd-svc.yml.j2
Matthew Mosesohn cff4c5db4a Add federation support
Includes CoreDNS with etcd pod for its backend.
2017-03-20 19:42:59 +03:00

21 lines
408 B
Django/Jinja

apiVersion: v1
kind: Service
metadata:
name: coredns-etcd
namespace: {{ system_namespace }}
labels:
k8s-app: coredns-etcd
kubernetes.io/cluster-service: "true"
kubernetes.io/name: "coredns-etcd"
spec:
selector:
k8s-app: coredns-etcd
ports:
- name: client
port: 2379
protocol: TCP
targetPort: 2379
- name: server
port: 2380
protocol: TCP
targetPort: 2380