[5.03.20] Probies again

This commit is contained in:
andrewso 2020-03-05 10:56:48 +00:00
parent 6ad2b48036
commit 7e33a030c6
2 changed files with 19 additions and 19 deletions

View File

@ -64,24 +64,24 @@ spec:
ports:
- containerPort: 5000
name: RESOURCE_NAME
# livenessProbe:
# httpGet:
# path: /health
# port: 5000
# initialDelaySeconds: 30
# periodSeconds: 30
# timeoutSeconds: 1
# successThreshold: 1
# failureThreshold: 1
# readinessProbe:
# httpGet:
# port: 5000
# path: /readiness
# initialDelaySeconds: 30
# periodSeconds: 5
# timeoutSeconds: 1
# successThreshold: 1
# failureThreshold: 1
livenessProbe:
httpGet:
path: /health
port: 5000
initialDelaySeconds: 30
periodSeconds: 30
timeoutSeconds: 1
successThreshold: 1
failureThreshold: 1
readinessProbe:
httpGet:
port: 5000
path: /readiness
initialDelaySeconds: 30
periodSeconds: 5
timeoutSeconds: 1
successThreshold: 1
failureThreshold: 1
imagePullPolicy: Always
resources:
requests:

View File

@ -10,7 +10,7 @@ spec:
app: RESOURCE_NAME
ports:
- port: 5000
protocol: TCP
protocol: HTTP
targetPort: 5000
sessionAffinity: None
type: ClusterIP