Skip to content

Commit

Permalink
Merge pull request #22 from PrivateAIM/21-add-liveness-probe-to-k8s-d…
Browse files Browse the repository at this point in the history
…eployment

Add startup and liveness probes, update image tag, fix ssl config
  • Loading branch information
mjugl authored Feb 22, 2024
2 parents b75b067 + 04d3f7e commit 5b68cf6
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions k8s/node-result-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ spec:
spec:
containers:
- name: node-result-service
image: ghcr.io/privateaim/node-result-service:sha-8de419a
image: ghcr.io/privateaim/node-result-service:sha-b75b067
imagePullPolicy: IfNotPresent
ports:
- containerPort: 8080
Expand All @@ -27,8 +27,20 @@ spec:
- name: MINIO__SECRET_KEY
value: s3cr3t_p4ssw0rd
- name: MINIO__USE_SSL
value: false
value: "false"
- name: MINIO__BUCKET
value: flame
startupProbe:
httpGet:
path: /healthz
port: http-result-srv
failureThreshold: 5
periodSeconds: 5
livenessProbe:
httpGet:
path: /healthz
port: http-result-srv
failureThreshold: 3
periodSeconds: 10
imagePullSecrets:
- name: dockerconfigjson-github-com

0 comments on commit 5b68cf6

Please sign in to comment.