Giter Site home page Giter Site logo

etherkube's Introduction

Ethereum Kubernetes Sandbox

The purpose of the project is to simplify the process of launching a private Ethereum cluster, with the main use case which is testing Ethereum protocol modifications, private Dapp testing or for running a private blockchain.

Features:

  • supports Parity or Geth

  • run different versions in same cluster

  • fast sync or full sync mode

  • blockchain monitoring tools

  • cluster monitoring tools

  • scheduled operations over the cluster (backup, restore, etc)

  • secure access

System requirements

Docker

You need Docker to build container images, download Docker for your platform: https://www.docker.com/products/overview

Kubernetes

Currently EtherKube is being tested against Google Cloud Container, and you have to download latest Gcloud SDK tool from https://cloud.google.com/sdk/downloads

Then install Kubernetes command line client:

gcloud components install kubectl

Rust Compiler

You need Rust compiler and Cargo tool to build Etherkube command line utility. Most simple way would be to install Rustup from https://www.rustup.rs/, which will install and will help you to manage all required Rust components.

Usage

0. Compile tools

make

1. Setup Cloud provider

To start you have to create a new Google Cloud project with a Cloud Containers cluster.

2. Configure EtherKube

For Google Cloud project Id is my_project_id and a Cloud Container Cluster named test-cluster-1 run following:

cp etherekube-config.samle.yaml etherekube-config.yaml
vim etherekube-config.yaml
./bin/etherkube init

3. Copy binaries

Copy Geth compiled binary for Linux in ./containers/geth-provided/ directory

4. Deploy Geth to the cloud

./bin/etherkube deploy geth-provided

5. Watch how it works

kubectl logs --tail=10 -f <node-geth-XXXX>

(it’s safe to Ctrl-C at any moment, to detach from remote log)

License

All configurations and running scripts are provided under Apache 2.0 license

etherkube's People

Contributors

mmitrofanmade avatar splix avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.