-
Notifications
You must be signed in to change notification settings - Fork 33
[Infra] Adapt pocket helm chart for DevNets #682
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
Changes from 9 commits
544937e
6301c57
3593656
084f63f
dd37f8a
f083e2f
93faa62
f28296b
f59062e
e5dc25f
17e46c0
87e27a6
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -17,13 +17,13 @@ spec: | |
| spec: | ||
| serviceAccountName: debug-client-account | ||
| initContainers: | ||
| - name: wait-for-validator-001-pocket-validator | ||
| - name: wait-for-validator-001-pocket | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm going to have
|
||
| image: busybox | ||
| command: | ||
| [ | ||
| "sh", | ||
| "-c", | ||
| 'until wget -q -O - "http://validator-001-pocket-validator:50832/v1/health" --timeout=2 --tries=2 --spider >/dev/null 2>&1; do echo waiting for validator-001-pocket-validator to be online and healthy...; sleep 2; done;', | ||
| 'until wget -q -O - "http://validator-001-pocket:50832/v1/health" --timeout=2 --tries=2 --spider >/dev/null 2>&1; do echo waiting for validator-001-pocket to be online and healthy...; sleep 2; done;', | ||
| ] | ||
| containers: | ||
| - name: pocket | ||
|
|
@@ -91,7 +91,7 @@ spec: | |
| volumes: | ||
| - name: config-volume | ||
| configMap: | ||
| name: validator-001-pocket-validator-config | ||
| name: validator-001-pocket-config | ||
| defaultMode: 420 | ||
| - name: genesis-volume | ||
| configMap: | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -4,13 +4,13 @@ metadata: | |
| name: pocket-v1-cluster-manager | ||
| spec: | ||
| initContainers: | ||
| - name: wait-for-validator-001-pocket-validator | ||
| - name: wait-for-validator-001-pocket | ||
| image: busybox | ||
| command: | ||
| [ | ||
| "sh", | ||
| "-c", | ||
| 'until wget -q -O - "http://validator-001-pocket-validator:50832/v1/health" --timeout=2 --tries=2 --spider >/dev/null 2>&1; do echo waiting for validator-001-pocket-validator to be online and healthy...; sleep 2; done;', | ||
| 'until wget -q -O - "http://validator-001-pocket:50832/v1/health" --timeout=2 --tries=2 --spider >/dev/null 2>&1; do echo waiting for validator-001-pocket to be online and healthy...; sleep 2; done;', | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ditto, I think a ticket for s/validator-001/disaptch-node for everything in the infra would be appropriate. Thouhgts?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @Olshansk would dispatch node be just another validator in that case? Just a node that is not staked as validator?
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It'd be a full node, not necessarily a validator. |
||
| ] | ||
| containers: | ||
| - name: cluster-manager | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,9 +1,9 @@ | ||
| apiVersion: v1 | ||
| kind: ConfigMap | ||
| metadata: | ||
| name: {{ include "pocket-validator.fullname" . }}-config | ||
| name: {{ include "pocket.fullname" . }}-config | ||
| labels: | ||
| {{- include "pocket-validator.labels" . | nindent 4 }} | ||
| {{- include "pocket.labels" . | nindent 4 }} | ||
| data: | ||
| config.json: | | ||
| {{ .Values.config | toPrettyJson | nindent 4 }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we just remove arm?