diff --git a/git-requirements-mapping.txt b/git-requirements-mapping.txt new file mode 100644 index 0000000..1362493 --- /dev/null +++ b/git-requirements-mapping.txt @@ -0,0 +1 @@ +git+ssh://git@github.com/Aignosi/sientia-dataops-library.git:sientia-do \ No newline at end of file diff --git a/requirements.txt b/requirements.txt index cadaefb..315579b 100644 --- a/requirements.txt +++ b/requirements.txt @@ -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 diff --git a/values.yaml b/values.yaml index fb697b8..e6a0fb7 100644 --- a/values.yaml +++ b/values.yaml @@ -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