apiVersion: v1
kind: Service
metadata:
  labels:
    app: api-service-dev
  name: api-service-dev
  namespace: production-tracker-dev
spec:
  ports:
  - protocol: TCP
    port: 8080
    targetPort: 8080
  selector:
    app: api-service-dev
  #
  # Note:
  # To use an Ingress Controller
  # the type should be set as ClusterIP
  # rather than NodePort or LoadBalancer.
  #
  type: ClusterIP
