Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: add probes for containers #210

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
51 changes: 51 additions & 0 deletions charts/devnet/templates/chains/cosmos/genesis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,31 @@ spec:
name: addresses
- mountPath: /scripts
name: scripts
livenessProbe:
httpGet:
path: /status
port: 1317
periodSeconds: 10
timeoutSeconds: 1
successThreshold: 1
failureThreshold: 3
readinessProbe:
httpGet:
path: /status
port: 1317
periodSeconds: 10
timeoutSeconds: 1
successThreshold: 1
failureThreshold: 3
startupProbe:
httpGet:
path: /status
port: 1317
initialDelaySeconds: 30
periodSeconds: 10
timeoutSeconds: 2
successThreshold: 1
failureThreshold: 3
- name: exposer
image: {{ $.Values.exposer.image }}
imagePullPolicy: Always
Expand All @@ -176,6 +201,22 @@ spec:
name: node
- mountPath: /configs
name: addresses
readinessProbe:
httpGet:
path: /node_id
port: 8000
initialDelaySeconds: 10
periodSeconds: 10
successThreshold: 1
failureThreshold: 3
livenessProbe:
httpGet:
path: /node_id
port: 8000
initialDelaySeconds: 20
periodSeconds: 10
successThreshold: 1
failureThreshold: 3
- name: faucet
image: {{ $faucet.image }}
imagePullPolicy: Always
Expand Down Expand Up @@ -233,6 +274,16 @@ spec:
port: 8000
initialDelaySeconds: 10
periodSeconds: 10
successThreshold: 1
failureThreshold: 3
livenessProbe:
httpGet:
path: /status
port: 8000
initialDelaySeconds: 30
periodSeconds: 10
successThreshold: 1
failureThreshold: 3
volumes:
- name: node
emptyDir: { }
Expand Down
Loading