polkadot builds (gitlab), releases (docker) and deployment (kubernetes) (#48)

* ci: add Dockerfile and its build

* make docker version tag

* polkadot with static ip address in nodeport stateful set on kubernetes

* use helm for templating

* enable rbac for polkadot
This commit is contained in:
gabriel klawitter
2018-12-07 12:18:52 +01:00
committed by GitHub
parent e008813f8b
commit f17258c14d
9 changed files with 436 additions and 21 deletions
+37
View File
@@ -0,0 +1,37 @@
# set tag manually --set image.tag=latest
image:
repository: parity/polkadot
tag: latest
pullPolicy: Always
basepath: /polkadot
# if set to true a service account for polkadot will be created
rbac:
enable: true
name: polkadot
nodes:
replicas: 2
args:
- --chain
- krummelanke
# serve rpc within the local network
# - fenced off the world via firewall
# - used for health checks
- --rpc-external
- --ws-external
# - --log
# - sub-libp2p=trace
# - --validator
# - --key
# - key_name
# maybe adopt resource limits here to the nodes of the pool
# resources:
# memory: "5Gi"
# cpu: "1.5"