1234567891011121314151617181920212223242526272829303132333435363738394041 |
- apiVersion: v1
- kind: Service
- metadata:
- name: consul-server
- labels:
- name: consul-server
- spec:
- selector:
- name: consul-server
- ports:
- - name: http
- port: 8500
- targetPort: 8500
- - name: https
- port: 8443
- targetPort: 8443
- - name: rpc
- port: 8400
- targetPort: 8400
- - name: serf-lan-tcp
- protocol: "TCP"
- port: 8301
- targetPort: 8301
- - name: serf-lan-udp
- protocol: "UDP"
- port: 8301
- targetPort: 8301
- - name: serf-wan-tcp
- protocol: "TCP"
- port: 8302
- targetPort: 8302
- - name: serf-wan-udp
- protocol: "UDP"
- port: 8302
- targetPort: 8302
- - name: server
- port: 8300
- targetPort: 8300
- - name: consul-dns
- port: 8600
- targetPort: 8600
|