mirror of
https://github.com/puppetlabs/vmpooler-deployment.git
synced 2026-01-26 03:28:41 -05:00
Initial commit
This commit is contained in:
commit
074778d0b0
34 changed files with 1381 additions and 0 deletions
19
helm/vmpooler/templates/service-manager.yaml
Normal file
19
helm/vmpooler/templates/service-manager.yaml
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: {{ include "vmpooler.fullname" . }}-manager
|
||||
labels:
|
||||
{{- include "vmpooler.labels" . | nindent 4 }}
|
||||
annotations:
|
||||
prometheus.io/scrape: {{ .Values.service.metricsEnabled | quote }}
|
||||
prometheus.io/path: '/prometheus'
|
||||
spec:
|
||||
type: {{ .Values.service.type }}
|
||||
ports:
|
||||
- port: {{ .Values.service.port }}
|
||||
targetPort: {{ .Values.service.port }}
|
||||
protocol: TCP
|
||||
name: http
|
||||
clusterIP: None
|
||||
selector:
|
||||
app: {{ include "vmpooler.fullname" . }}-manager
|
||||
Loading…
Add table
Add a link
Reference in a new issue