apiVersion: v1
kind: Service
metadata:
  namespace: pipeline-craft
  name: pipeline-craft
  labels:
    app: pipeline-craft
    tier: backend
spec:
  selector:
    app: pipeline-craft
    tier: backend
  ports:
  - port: 8082
    name: k8s-backend
    targetPort: 8080
  type: LoadBalancer
  #type: NodePort  