apiVersion: v1
kind: Service
metadata:
  labels:
    app: test-web
  name: test-web-svc-lb
  namespace: test
spec:
  ports:
  - name: http 
    port: 80
    protocol: TCP
    targetPort: 80
  - name: https
    port: 443
    targetPort: 80
  selector:
    app: nginx
  type: LoadBalancer
