Skip to content

Commit

Permalink
Merge pull request #5 from pokt-network/remove-healthcheck-appgate
Browse files Browse the repository at this point in the history
turn off healthcheck
  • Loading branch information
okdas authored Nov 11, 2023
2 parents 4425b9b + 743d90a commit 9c7d39e
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 11 deletions.
2 changes: 1 addition & 1 deletion charts/poktroll/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.1.2
version: 0.1.3

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,15 @@ spec:
# TODO(@okdas): parametrize
- containerPort: 40006
- containerPort: 42069
livenessProbe:
httpGet:
path: /
port: 42069
readinessProbe:
httpGet:
path: /
port: 42069
# TODO(@okdas): add healthchecks to appgateserver
# livenessProbe:
# httpGet:
# path: /
# port: 42069
# readinessProbe:
# httpGet:
# path: /
# port: 42069
resources:
{{- toYaml .Values.resources | nindent 12 }}
volumeMounts:
Expand Down
4 changes: 2 additions & 2 deletions charts/poktroll/templates/scripts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ data:
# You can attach to this process with delve (dlv) for debugging purpose with `dlv attach $(pgrep poktrolld) --listen :40005 --headless --api-version=2 --accept-multiclient` - run inside the container!
# TODO(@okdas): separate scripts for each actor
{{ if .Values.relayer.enable }}
poktrolld relayer --node=sequencer-poktroll-sequencer:36657 --signing-key=supplier1 --keyring-backend=test
poktrolld relayer --node=tcp://sequencer-poktroll-sequencer:36657 --signing-key=supplier1 --keyring-backend=test
{{ else if .Values.appgateserver.enable }}
poktrolld appgate-server --comet-websocket-url=ws://sequencer-poktroll-sequencer:36657/websocket --node=sequencer-poktroll-sequencer:36657 --signing-key app1 --keyring-backend test --self-signing
poktrolld appgate-server --comet-websocket-url=ws://sequencer-poktroll-sequencer:36657/websocket --node=tcp://sequencer-poktroll-sequencer:36657 --signing-key app1 --keyring-backend test --self-signing
{{ end }}
# OR debug the node (uncomment this line but comment previous line)
Expand Down

0 comments on commit 9c7d39e

Please sign in to comment.