apiVersion: v1
kind: Service
metadata:
  name: nginx-service
  labels:
    run: nginx
  name: http-svc
  namespace: default
spec:
  ports:
  - name: web
    port: 80
    protocol: TCP
    targetPort: 80
  selector:
    app: nginx
  type: LoadBalancer
