ingress-nginx-service.yaml 540 B

1234567891011121314151617181920212223
  1. apiVersion: v1
  2. kind: Service
  3. metadata:
  4. annotations:
  5. service.kubernetes.io/qcloud-loadbalancer-internal-subnetid: subnet-bkmrev02
  6. name: ingress-nginx-service
  7. namespace: ingress-nginx
  8. spec:
  9. externalTrafficPolicy: Cluster
  10. ports:
  11. - name: 80-80-tcp
  12. port: 80
  13. protocol: TCP
  14. targetPort: 80
  15. - name: 443-443-tcp
  16. port: 443
  17. protocol: TCP
  18. targetPort: 443
  19. selector:
  20. app.kubernetes.io/name: ingress-nginx
  21. app.kubernetes.io/part-of: ingress-nginx
  22. sessionAffinity: None
  23. type: ClusterIP