SIENTIAPDE-1461

SIENTIAPDE-1461 Update values.yaml to configure resource limits and requests, enhance liveness and readiness probes, and set PYPI_SERVER environment variable for improved application performance and monitoring.
This commit is contained in:
vitor-aignosi
2026-01-06 11:31:04 -03:00
parent 36c5ddfd51
commit 4a6664f9e1

View File

@@ -52,7 +52,7 @@ securityContext: {}
# runAsUser: 1000
resources: {}
resources:
# We usually recommend not to specify default resources and to leave this as a conscious
# choice for the user. This also increases chances charts run on environments with little
# resources, such as Minikube. If you do want to specify resources, uncomment the following
@@ -64,24 +64,37 @@ resources: {}
# cpu: 100m
# memory: 128Mi
limits:
cpu: 1000m
memory: 2048Mi
requests:
cpu: 100m
memory: 128Mi
# This is to setup the liveness and readiness probes more information can be found here: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/
livenessProbe:
exec:
command:
- sh
- -c
- pgrep -f "orchestrator.worker.worker"
initialDelaySeconds: 20
periodSeconds: 30
- |
curl -sf http://localhost:9090/metrics | grep -q '^app_up{.*} 1'
initialDelaySeconds: 30
periodSeconds: 15
timeoutSeconds: 5
failureThreshold: 3
readinessProbe:
exec:
command:
- sh
- -c
- pgrep -f "orchestrator.worker.worker"
initialDelaySeconds: 10
periodSeconds: 15
- |
curl -sf http://localhost:9090/metrics | grep -q '^app_up{.*} 1'
initialDelaySeconds: 20
periodSeconds: 10
timeoutSeconds: 3
failureThreshold: 2
# This section is for setting up autoscaling more information can be found here: https://kubernetes.io/docs/concepts/workloads/autoscaling/
@@ -151,7 +164,7 @@ env:
- name: GITHUB_REPO_URL
value: "git@github.com:Aignosi/sientia-dataops-orchestrator_temporal.git"
- name: GITHUB_BRANCH
value: "main"
value: "fix/SIENTIAPDE-1461"
- name: PYTHON_APP
value: "orchestrator.worker.worker"
@@ -229,6 +242,9 @@ env:
- name: TEMPORAL_LABORIOUS_NAMESPACE
value: "laborious"
- name: PYPI_SERVER
value: "http://library-distribution-server.library.svc.cluster.local:5000"
ssh:
enabled: true
secretName: git-ssh-key-sientia-orchestrator-worker