---
apiVersion: v1
kind: Service
metadata:
  labels:
    app: insolar-ve
  name: insolar-ve
spec:
  type: NodePort
  externalIPs:
  - "$EXTERNAL_IP"

  ports:
  - name: transport
    protocol: TCP
    port: 30000
    targetPort: 30000
    nodePort: 30000
  - name: consensus
    protocol: UDP
    port: 30001
    targetPort: 30001
    nodePort: 30001
  - name: api
    protocol: TCP
    port: 19191
    targetPort: 19191
    nodePort: 30091
  - name: metrics
    protocol: TCP
    port: 8080
    targetPort: 8080
    nodePort: 30080
  selector:
    app: insolar-ve
