nginx-https-svc.yml 301 B

12345678910111213141516171819
  1. apiVersion: v1
  2. kind: Service
  3. metadata:
  4. name: nginx-https-svc
  5. labels:
  6. app: nginx-https
  7. spec:
  8. type: LoadBalancer
  9. ports:
  10. - port: 31080
  11. targetPort: 80
  12. protocol: TCP
  13. name: http
  14. - port: 31443
  15. targetPort: 443
  16. protocol: TCP
  17. name: https
  18. selector:
  19. app: nginx-https