Add web port

This commit is contained in:
David Burke 2021-06-03 15:34:39 -04:00
parent 99cf95f663
commit 9829e09f28
2 changed files with 4 additions and 3 deletions

View file

@ -44,20 +44,20 @@ spec:
imagePullPolicy: {{ .Values.image.pullPolicy }}
ports:
- name: http
containerPort: 8080
containerPort: {{ .Values.web.port | default 8080 }}
protocol: TCP
livenessProbe:
failureThreshold: {{ .Values.web.livenessProbe.failureThreshold }}
httpGet:
path: {{ .Values.web.livenessProbe.path | default "/_health/" }}
port: 8080
port: {{ .Values.web.port | default 8080 }}
initialDelaySeconds: {{ .Values.web.livenessProbe.initialDelaySeconds }}
timeoutSeconds: {{ .Values.web.livenessProbe.timeoutSeconds }}
readinessProbe:
failureThreshold: {{ .Values.web.readinessProbe.failureThreshold }}
httpGet:
path: {{ .Values.web.readinessProbe.path | default "/_health/" }}
port: 8080
port: {{ .Values.web.port | default 8080 }}
initialDelaySeconds: {{ .Values.web.readinessProbe.initialDelaySeconds }}
timeoutSeconds: {{ .Values.web.readinessProbe.timeoutSeconds }}
resources:

View file

@ -20,6 +20,7 @@ env:
web:
replicaCount: 2
port: 8080
autoscaling:
enabled: false
minReplicas: 1