Skip to content
This repository was archived by the owner on Oct 19, 2024. It is now read-only.

Commit a8c4fe6

Browse files
Add livenessProbe to controller (#273)
* Add livenessProbe to controller Signed-off-by: KeisukeYamashita <[email protected]> * Run make generate Signed-off-by: KeisukeYamashita <[email protected]>
1 parent 1a9d8e5 commit a8c4fe6

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

manifests/controller/argocd-notifications-controller-deployment.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ spec:
2222
- /app/argocd-notifications-backend
2323
- controller
2424
workingDir: /app
25+
livenessProbe:
26+
tcpSocket:
27+
port: 9001
2528
image: argoprojlabs/argocd-notifications:latest
2629
imagePullPolicy: Always
2730
name: argocd-notifications-controller

manifests/install-bot.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,9 @@ spec:
184184
- controller
185185
image: argoprojlabs/argocd-notifications:latest
186186
imagePullPolicy: Always
187+
livenessProbe:
188+
tcpSocket:
189+
port: 9001
187190
name: argocd-notifications-controller
188191
volumeMounts:
189192
- mountPath: /app/config/tls

manifests/install.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,9 @@ spec:
104104
- controller
105105
image: argoprojlabs/argocd-notifications:latest
106106
imagePullPolicy: Always
107+
livenessProbe:
108+
tcpSocket:
109+
port: 9001
107110
name: argocd-notifications-controller
108111
volumeMounts:
109112
- mountPath: /app/config/tls

0 commit comments

Comments
 (0)