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

How to deploy polkadot using helm? #17

Open
zhouqiang-cl opened this issue Aug 15, 2020 · 4 comments
Open

How to deploy polkadot using helm? #17

zhouqiang-cl opened this issue Aug 15, 2020 · 4 comments

Comments

@zhouqiang-cl
Copy link

Hi,
I see this repo, but the readme did not show how to deploy Polkadot using helm.
Could you provide an example?

Thank you very much

@fgimenez
Copy link
Contributor

Hi thanks for your interest in the project! We will add a proper readme in the coming days, fr the time being, you could use these values for polkadot chart:

name: polkadot-internal
deploymentName: polkadot-internal
p2pPort: 30334
chainspec:
  custom: false
  preset: true
  name: "polkadot"
validator: false
extraBootnodes: []
image:
  repo: parity/polkadot
  tag: v0.8.22
persistence:
  enabled: true
resources:
  requests:
    memory: "2.5Gi"
    cpu: "500m"
unsafeEndpointAccess: true
sessionInjection:
  enabled: false
nodeRestart:
  enabled: true
  schedule: "0 6,14,22 * * *"
extraArgs:
  common: "--pruning=archive"

and these values for polkadot-base-services chart (you need both):

name: polkadot-rpc-node
websocketsSelector: polkadot-rpc-node
domain: polkadot-internal.w3f.tech
monitoring: false
createCertIssuer: false
createBootNodeService: false

Let us know if you have any additional question.

@c410-f3r
Copy link

Hum... unsafeEndpointAccess enables security-sensitive calls and they are necessary to inject the session keys for node initialization.

Is there the so called JSON-RPC proxy? I couldn't find a k8s resource of it

@fgimenez
Copy link
Contributor

Is there the so called JSON-RPC proxy? I couldn't find a k8s resource of it

no JSON-RPC proxy, the RPC endpoint is not exposed for external access.

@c410-f3r
Copy link

the RPC endpoint is not exposed for external access.

Heh, that is a clever solution! Thanks @fgimenez!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants