Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

service.yaml 535 B

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
  1. apiVersion: v1
  2. kind: Service
  3. metadata:
  4. name: "{{ include "name" . }}"
  5. annotations: {{ toYaml .Values.service.annotations | nindent 4 }}
  6. namespace: {{ .Release.Namespace }}
  7. labels: {{ include "labels.standard" . | nindent 4 }}
  8. spec:
  9. ports:
  10. - name: http
  11. port: 80
  12. protocol: TCP
  13. targetPort: http
  14. {{- if $.Values.monitoring.enabled }}
  15. - name: metrics
  16. port: 5565
  17. protocol: TCP
  18. targetPort: metrics
  19. {{- end }}
  20. selector: {{ include "labels.standard" . | nindent 4 }}
  21. type: {{.Values.service.type}}
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...