Skip to content
This repository was archived by the owner on May 3, 2023. It is now read-only.

Commit 7ff095a

Browse files
committed
0.3.4: chore: add liveness probe
1 parent e37be84 commit 7ff095a

File tree

2 files changed

+19
-3
lines changed

2 files changed

+19
-3
lines changed

service.dev.yaml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,21 @@ spec:
2424
periodSeconds: 30
2525
timeoutSeconds: 30
2626
failureThreshold: 30
27+
livenessProbe:
28+
httpGet:
29+
path: /health
30+
initialDelaySeconds: 30
31+
successThreshold: 1
32+
periodSeconds: 30
33+
timeoutSeconds: 30
34+
failureThreshold: 30
2735
env:
2836
- name: ENVIRONMENT
2937
value: "development"
3038
- name: UPLOAD_BATCH_SIZE
3139
value: "100"
3240
- name: SENTRY_RELEASE
33-
value: "0.3.3"
41+
value: "0.3.4"
3442
ports:
3543
- containerPort: 8080
3644
name: http1

service.prod.yaml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ spec:
1515
serviceAccountName: [email protected]
1616
containerConcurrency: 80
1717
containers:
18-
image: gcr.io/embedbase/embedbase-hosted:0.3.3
18+
image: gcr.io/embedbase/embedbase-hosted:0.3.4
1919
startupProbe:
2020
httpGet:
2121
path: /health
@@ -24,13 +24,21 @@ spec:
2424
periodSeconds: 30
2525
timeoutSeconds: 30
2626
failureThreshold: 30
27+
livenessProbe:
28+
httpGet:
29+
path: /health
30+
initialDelaySeconds: 30
31+
successThreshold: 1
32+
periodSeconds: 30
33+
timeoutSeconds: 30
34+
failureThreshold: 30
2735
env:
2836
- name: ENVIRONMENT
2937
value: "production"
3038
- name: UPLOAD_BATCH_SIZE
3139
value: "100"
3240
- name: SENTRY_RELEASE
33-
value: "0.3.3"
41+
value: "0.3.4"
3442
ports:
3543
- containerPort: 8080
3644
name: http1

0 commit comments

Comments
 (0)