apiVersion: v1
kind: Service
metadata:
  annotations:
   service.beta.kubernetes.io/azure-load-balancer-internal: "true"
  labels:
    app: nginx
  name: nginx
  namespace: default
spec:
  externalTrafficPolicy: Cluster
  ipFamilies:
  - IPv4
  ipFamilyPolicy: SingleStack
  ports:
  - name: "80"
    port: 80
    protocol: TCP
    targetPort: 80
  - name: "443"
    port: 443
    protocol: TCP
    targetPort: 443
  selector:
    app: nginx
  type: LoadBalancer
status:
  loadBalancer: {}
