Skip to content

Commit

Permalink
snapshot-controller: add ready/liveness probe
Browse files Browse the repository at this point in the history
Signed-off-by: Moritz Wanzenböck <[email protected]>
  • Loading branch information
WanzenBug committed Jun 7, 2024
1 parent a1e4dd4 commit 135f88e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/snapshot-controller/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v2
type: application
name: snapshot-controller
version: 3.0.1
version: 3.0.2
appVersion: "v8.0.1"
kubeVersion: ">= 1.25"
icon: https://raw.githubusercontent.com/piraeusdatastore/piraeus/master/artwork/sandbox-artwork/icon/color.svg
Expand Down
10 changes: 10 additions & 0 deletions charts/snapshot-controller/templates/deployment_controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,16 @@ spec:
- name: http
containerPort: 8080
protocol: TCP
readinessProbe:
httpGet:
port: http
path: /healthz/leader-election
scheme: HTTP
livenessProbe:
httpGet:
port: http
path: /healthz/leader-election
scheme: HTTP
env:
- name: NAMESPACE
valueFrom:
Expand Down

0 comments on commit 135f88e

Please sign in to comment.