mirror of
https://github.com/FairwindsOps/polaris.git
synced 2026-05-16 06:07:18 +00:00
trying some liveness and readiness probes. Removing ranges on default configmap
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user