Skip to content

Commit

Permalink
feat(helm): health probe path
Browse files Browse the repository at this point in the history
  • Loading branch information
lindtvedtsebastian committed Aug 1, 2024
1 parent ce6fd02 commit 74e6e2c
Showing 1 changed file with 45 additions and 44 deletions.
89 changes: 45 additions & 44 deletions backend/helm/backend/values.yaml
Original file line number Diff line number Diff line change
@@ -1,45 +1,46 @@
common:
app: backend
shortname: backend
team: selvbetjent
ingress:
enabled: true
trafficType: public
service:
internalPort: 3000
container:
image: <+artifacts.primary.image>
cpu: 0.3
memory: 512
env:
- name: REDIS_PASSWORD
valueFrom:
secretKeyRef:
name: redis
key: redis-password
- name: BACKEND_API_KEY
valueFrom:
secretKeyRef:
name: backend
key: api-key
probes:
enabled: true
spec:
startupProbe:
tcpSocket:
port: 3000
periodSeconds: 1
timeoutSeconds: 1
failureThreshold: 300
livenessProbe:
tcpSocket:
port: 3000
periodSeconds: 5
successThreshold: 1
timeoutSeconds: 1
readinessProbe:
tcpSocket:
port: 3000
periodSeconds: 5
successThreshold: 1
timeoutSeconds: 1
app: backend
shortname: backend
team: selvbetjent
ingress:
enabled: true
trafficType: public
service:
internalPort: 3000
container:
image: <+artifacts.primary.image>
cpu: 0.3
memory: 512
env:
- name: REDIS_PASSWORD
valueFrom:
secretKeyRef:
name: redis
key: redis-password
- name: BACKEND_API_KEY
valueFrom:
secretKeyRef:
name: backend
key: api-key
probes:
enabled: true
spec:
startupProbe:
tcpSocket:
port: 3000
periodSeconds: 1
timeoutSeconds: 1
failureThreshold: 300
livenessProbe:
tcpSocket:
port: 3000
periodSeconds: 5
successThreshold: 1
timeoutSeconds: 1
path: /health
readinessProbe:
tcpSocket:
port: 3000
periodSeconds: 5
successThreshold: 1
timeoutSeconds: 1

0 comments on commit 74e6e2c

Please sign in to comment.