apiVersion: apps/v1
kind: Service
metadata:
  labels:
    app: darzee
  name: darzee-svc
spec:
  type: NodePort
  ports:
    # NOTE: Node is available through this port.
    - nodePort: 9991
    # NOTE: Exposting ports
    - name: http-port
      port: 8080
      protocol: TCP
      targetPort: 8080
    - name: prometheus-port
      port: 9090
      protocol: TCP
      targetPort: 9090
  selector:
    app: darzee
  sessionAffinity: None

apiVersion: apps/v1
kind: Service
metadata:
  labels:
    app: darzee
  name: darzee-svc
spec:
  type: LoadBalancer
  ports:
    # NOTE: Exposting ports
    - port: 8080
      targetPort: 8080
    - port: 9090
      targetPort: 9090
  selector:
    app: darzee
  sessionAffinity: None

Change Node Port to Load balancer @ Kubernetes service.
Change Node Port to Load balancer @ Kubernetes service.
