kind: Service
apiVersion: v1
metadata:
  name: nginx-service
  labels:
    app: nginx
    role: $TARGET_ROLE
    env: prod
spec:
  type: LoadBalancer
  selector:
    app: nginx
    role: $TARGET_ROLE
  ports:
    - port: 80
      targetPort: 80