service.yaml 351 B

123456789101112131415161718
  1. apiVersion: v1
  2. kind: Service
  3. metadata:
  4. name: {{ template "rancher.fullname" . }}
  5. labels:
  6. {{ include "rancher.labels" . | indent 4 }}
  7. spec:
  8. ports:
  9. - port: 80
  10. targetPort: 80
  11. protocol: TCP
  12. name: http
  13. - port: 443
  14. targetPort: 444
  15. protocol: TCP
  16. name: https-internal
  17. selector:
  18. app: {{ template "rancher.fullname" . }}