Merge pull request #32 from Aignosi/fix/SIENTIAPDE-1461

Enhance Kubernetes Chart Configuration and Update sientia-dataops-library
This commit is contained in:
vitor-aignosi
2026-01-06 11:56:38 -03:00
committed by GitHub
3 changed files with 27 additions and 10 deletions

View File

@@ -0,0 +1 @@
git+ssh://git@github.com/Aignosi/sientia-dataops-library.git:sientia-do

View File

@@ -4,5 +4,5 @@ sqlalchemy
redis
pymongo
jinja2
git+ssh://git@github.com/Aignosi/sientia-dataops-library.git@1.6.1
git+ssh://git@github.com/Aignosi/sientia-dataops-library.git@1.7.1
prometheus-client

View File

@@ -11,7 +11,7 @@ image:
# This sets the pull policy for images.
pullPolicy: Always
# Overrides the image tag whose default is the chart appVersion.
tag: "0.5.2"
tag: "1.0.0"
# This is for the secrets for pulling an image from a private repository more information can be found here: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
imagePullSecrets:
@@ -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: "feature/SIENTIAPDE-1445"
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