---
apiVersion: v1
kind: Service
metadata:
  annotations:
    foo.com/duname: dkrconsul
    foo.com/duversion: 1.0.10-20190924.1569322386727
    foo.com/version: 1.0.10
  labels:
    app.kubernetes.io/name: consul
    helm.sh/chart: consul-1.0.10
  name: consul
spec:
  ports:
  - name: server
    port: 8300
    targetPort: server
  - name: serflan-tcp
    port: 8301
    protocol: TCP
    targetPort: serflan-tcp
  - name: serflan-udp
    port: 8301
    protocol: UDP
    targetPort: serflan-udp
  - name: serfwan-tcp
    port: 8302
    protocol: TCP
    targetPort: serfwan-tcp
  - name: serfwan-udp
    port: 8302
    protocol: UDP
    targetPort: serfwan-udp
  - name: http
    port: 8500
    targetPort: http
  - name: https
    port: 8501
    targetPort: https
  selector:
    app.kubernetes.io/name: consul
  type: ClusterIP
