Skip to content

Latest commit

 

History

History
59 lines (36 loc) · 1.8 KB

README.md

File metadata and controls

59 lines (36 loc) · 1.8 KB

kubernetes-ethereum-chart

Private Ethereum Network

TL;DR;

$ git clone [email protected]:jpoon/kubernetes-ethereum-chart.git
$ helm install --name ethereum kubernetes-ethereum-chart

Introduction

This chart bootstraps a private Ethereum network on a Kubernetes cluster using the Helm package manager. For more information, https://www.microsoft.com/developerblog/2018/02/09/using-helm-deploy-blockchain-kubernetes/.

Prerequisites

  • Kubernetes 1.8

Installing the Chart

The chart can be installed as follows:

$ git clone [email protected]:jpoon/kubernetes-ethereum-chart.git
$ helm install --name ethereum kubernetes-ethereum-chart

The command deploys a private Ethereum network on the Kubernetes cluster in the default configuration. The configuration section lists various ways to override default configuration during deployment.

Tip: List all releases using helm list

Uninstalling the Chart

To uninstall/delete the my-release deployment:

$ helm delete ethereum

The command removes all the Kubernetes components associated with the chart and deletes the release.

Configuration

See values.yaml for configuration notes. Specify each parameter using the --set key=value[,key=value] argument to helm install. For example,

$ helm install kubernetes-ethereum-chart --name ethereum --set geth.genesis.networkid=98052 

The above command sets the networkId to 98052

Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart. For example,

$ helm install kubernetes-ethereum-chart --name ethereum -f values.yaml 

Tip: You can use the default values.yaml