ceph-csi/vendor/k8s.io/kubernetes/examples/openshift-origin/etcd-service.yaml

25 lines
362 B
YAML
Raw Normal View History

2018-01-09 18:57:14 +00:00
kind: Service
apiVersion: v1
metadata:
name: etcd
labels:
name: etcd
spec:
ports:
- name: client
protocol: TCP
port: 2379
targetPort: 2379
nodePort: 0
- name: server
protocol: TCP
port: 2380
targetPort: 2380
nodePort: 0
selector:
name: etcd
sessionAffinity: None
type: ClusterIP
status:
loadBalancer: {}