🚀(helm) add resource requests/limit and liveness probe

All defined in the default values file, can be overriden per environment
if needed.
This commit is contained in:
Jonathan Perret
2024-05-02 18:53:19 +02:00
parent aa68ce574e
commit 8fdf8e5f89
+11 -5
View File
@@ -105,16 +105,22 @@ satosa:
## @param satosa.probes.readiness.targetPort [nullable] Configure port for satosa HTTP readiness probe
## @param satosa.probes.readiness.initialDelaySeconds [nullable] Configure initial delay for satosa readiness probe
## @param satosa.probes.readiness.initialDelaySeconds [nullable] Configure timeout for satosa readiness probe
probes: {}
#liveness:
# path: /__heartbeat__
# initialDelaySeconds: 10
probes:
liveness:
targetPost: 8000
path: /ping
initialDelaySeconds: 10
#readiness:
# path: /__lbheartbeat__
# initialDelaySeconds: 10
## @param satosa.resources Resource requirements for the satosa container
resources: {}
resources:
requests:
memory: "256Mi"
cpu: "250m"
limits:
memory: "512Mi"
## @param satosa.nodeSelector Node selector for the satosa Pod
nodeSelector: {}