Skip to content

Commit

Permalink
trying some liveness and readiness probes. Removing ranges on default…
Browse files Browse the repository at this point in the history
… configmap
  • Loading branch information
EJ Etherington committed Mar 28, 2019
1 parent 05791b1 commit c53f07a
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 4 deletions.
13 changes: 13 additions & 0 deletions charts/fairwinds/templates/fairwinds.deployment-dashboard.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
13 changes: 13 additions & 0 deletions charts/fairwinds/templates/fairwinds.deployment-webook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 2 additions & 4 deletions charts/fairwinds/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c53f07a

Please sign in to comment.