summaryrefslogtreecommitdiffstats
path: root/kubernetes/sdc/components/sdc-wfd-be/values.yaml
diff options
context:
space:
mode:
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>2021-05-05 11:12:48 +0200
committerSylvain Desbureaux <sylvain.desbureaux@orange.com>2021-05-05 11:12:48 +0200
commit8c9416ba16ce872d52622f7ba14bb0021b227b93 (patch)
tree1470f35f1b5238f7e79d4e733aae07f70be7d509 /kubernetes/sdc/components/sdc-wfd-be/values.yaml
parent6c8fddaf607bd9e14621090ca090b38776ee03c8 (diff)
[SDC] Use Startup probes
Instead of long initial delay on readiness and liveness probes, use startup probes and be more aggressive on readiness and liveness. Issue-ID: OOM-2743 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: Ibde8d10dad150fcad5740533d0bdd0926a44ccc1
Diffstat (limited to 'kubernetes/sdc/components/sdc-wfd-be/values.yaml')
-rw-r--r--kubernetes/sdc/components/sdc-wfd-be/values.yaml22
1 files changed, 22 insertions, 0 deletions
diff --git a/kubernetes/sdc/components/sdc-wfd-be/values.yaml b/kubernetes/sdc/components/sdc-wfd-be/values.yaml
index 4aebe7ab9a..0d75ae3c8b 100644
--- a/kubernetes/sdc/components/sdc-wfd-be/values.yaml
+++ b/kubernetes/sdc/components/sdc-wfd-be/values.yaml
@@ -101,6 +101,28 @@ readiness:
initialDelaySeconds: 60
periodSeconds: 10
+# probe configuration parameters
+liveness:
+ initialDelaySeconds: 1
+ periodSeconds: 10
+ successThreshold: 1
+ failureThreshold: 3
+ # necessary to disable liveness probe when setting breakpoints
+ # in debugger so K8s doesn't restart unresponsive container
+ enabled: true
+
+readiness:
+ initialDelaySeconds: 1
+ periodSeconds: 10
+ successThreshold: 1
+ failureThreshold: 3
+
+startup:
+ initialDelaySeconds: 10
+ periodSeconds: 10
+ successThreshold: 1
+ failureThreshold: 60
+
service:
type: NodePort
portName: sdc-wfd-be