Skip to content

Commit

Permalink
Issue argoproj#1546 - Add liveness probe to repo server/api servers (a…
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Matyushentsev authored May 4, 2019
1 parent f8283a1 commit 41cad56
Show file tree
Hide file tree
Showing 6 changed files with 55 additions and 0 deletions.
5 changes: 5 additions & 0 deletions manifests/base/repo-server/argocd-repo-server-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,8 @@ spec:
port: 8081
initialDelaySeconds: 5
periodSeconds: 10
livenessProbe:
tcpSocket:
port: 8081
initialDelaySeconds: 5
periodSeconds: 10
6 changes: 6 additions & 0 deletions manifests/base/server/argocd-server-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,12 @@ spec:
port: 8080
initialDelaySeconds: 3
periodSeconds: 30
livenessProbe:
httpGet:
path: /healthz
port: 8080
initialDelaySeconds: 3
periodSeconds: 30
volumes:
- emptyDir: {}
name: static-files
11 changes: 11 additions & 0 deletions manifests/ha/install.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2221,6 +2221,11 @@ spec:
- argocd
image: argoproj/argocd:latest
imagePullPolicy: Always
livenessProbe:
initialDelaySeconds: 5
periodSeconds: 10
tcpSocket:
port: 8081
name: argocd-repo-server
ports:
- containerPort: 8081
Expand Down Expand Up @@ -2278,6 +2283,12 @@ spec:
- argocd
image: argoproj/argocd:latest
imagePullPolicy: Always
livenessProbe:
httpGet:
path: /healthz
port: 8080
initialDelaySeconds: 3
periodSeconds: 30
name: argocd-server
ports:
- containerPort: 8080
Expand Down
11 changes: 11 additions & 0 deletions manifests/ha/namespace-install.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2136,6 +2136,11 @@ spec:
- argocd
image: argoproj/argocd:latest
imagePullPolicy: Always
livenessProbe:
initialDelaySeconds: 5
periodSeconds: 10
tcpSocket:
port: 8081
name: argocd-repo-server
ports:
- containerPort: 8081
Expand Down Expand Up @@ -2193,6 +2198,12 @@ spec:
- argocd
image: argoproj/argocd:latest
imagePullPolicy: Always
livenessProbe:
httpGet:
path: /healthz
port: 8080
initialDelaySeconds: 3
periodSeconds: 30
name: argocd-server
ports:
- containerPort: 8080
Expand Down
11 changes: 11 additions & 0 deletions manifests/install.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1993,6 +1993,11 @@ spec:
- argocd-redis:6379
image: argoproj/argocd:latest
imagePullPolicy: Always
livenessProbe:
initialDelaySeconds: 5
periodSeconds: 10
tcpSocket:
port: 8081
name: argocd-repo-server
ports:
- containerPort: 8081
Expand Down Expand Up @@ -2027,6 +2032,12 @@ spec:
- /shared/app
image: argoproj/argocd:latest
imagePullPolicy: Always
livenessProbe:
httpGet:
path: /healthz
port: 8080
initialDelaySeconds: 3
periodSeconds: 30
name: argocd-server
ports:
- containerPort: 8080
Expand Down
11 changes: 11 additions & 0 deletions manifests/namespace-install.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1908,6 +1908,11 @@ spec:
- argocd-redis:6379
image: argoproj/argocd:latest
imagePullPolicy: Always
livenessProbe:
initialDelaySeconds: 5
periodSeconds: 10
tcpSocket:
port: 8081
name: argocd-repo-server
ports:
- containerPort: 8081
Expand Down Expand Up @@ -1942,6 +1947,12 @@ spec:
- /shared/app
image: argoproj/argocd:latest
imagePullPolicy: Always
livenessProbe:
httpGet:
path: /healthz
port: 8080
initialDelaySeconds: 3
periodSeconds: 30
name: argocd-server
ports:
- containerPort: 8080
Expand Down

0 comments on commit 41cad56

Please sign in to comment.