apiVersion: v1
kind: Service
metadata:
  namespace: logistics-base-ns
  name: consul-service
  labels:
    name: consul-service
    app: logistics-app
    tier: base
spec:
  type: NodePort
  ports:
    - port: 8500
      targetPort: 8500
      nodePort: 30101
  selector:
    name: consul-pod
    app: logistics-app
    tier: base