trying some liveness and readiness probes. Removing ranges on default configmap

This commit is contained in:
EJ Etherington
2019-03-26 09:43:59 -07:00
parent 5a71316788
commit 613c120c68
3 changed files with 28 additions and 4 deletions

View File

@@ -37,6 +37,19 @@ spec:
name: dashboard
ports:
- containerPort: 8080
livenessProbe:
exec:
command:
- sh
- -c
- ps -ef | grep fairwinds
initialDelaySeconds: 5
periodSeconds: 5
readinessProbe:
tcpSocket:
port: 8080
initialDelaySeconds: 15
periodSeconds: 20
resources:
limits:
cpu: 100m

View File

@@ -37,6 +37,19 @@ spec:
name: webhook
ports:
- containerPort: 9876
livenessProbe:
exec:
command:
- sh
- -c
- ps -ef | grep fairwinds
initialDelaySeconds: 5
periodSeconds: 5
readinessProbe:
tcpSocket:
port: 8080
initialDelaySeconds: 15
periodSeconds: 20
resources:
limits:
cpu: 100m

View File

@@ -8,11 +8,9 @@ config: |
require: true
limits:
cpu:
min: 0.1
max: 1
require: true
memory:
min: 10m
max: 2000M
require: true
healthChecks:
readiness:
require: true