Coder Social home page Coder Social logo

eosio-testnet-dm's Introduction

eosio-testnet-dm: Deploy a EOSIO Testnet on Google Kubernetes Engine

This is a Google Deployment Manager template to create a GKE cluster and deployment a EOSIO Testnet on the cluster. It exposes a single HTTP endpoint at port 8888 for cleos to connect to.

Notice that this solution is only for GKE. If you need to deploy a EOSIO Testnet on an exising kubernets cluster, please use eosio-testnet[https://github.com/huangminghuang/eosio-testnet].

Getting Started:

Modify eosio.yaml to adjust the parameters you need and then save it. Next, start the cluster as follows.

$ NAME=eosio
$ gcloud deployment-manager deployments create ${NAME} --config=eosio.yaml

Before you can directly interfact with the cluster, you need to obtain the credential of the cluster

$ gcloud container clusters get-credentitials ${NAME}-cluster

The bootstraping process may take a few minutes to be ready. You can examine whether all the pods are ready

$ kubectl get pods
NAME                          READY     STATUS    RESTARTS   AGE
eosio-bios-644df44b65-g6dg8   1/1       Running   0          3m
eosio-nodeos-0                1/1       Running   0          3m
eosio-nodeos-1                1/1       Running   0          48s
eosio-nodeos-2                1/1       Running   0          30s
eosio-nodeos-3                1/1       Running   0          17s

To get the IP address for cleos to connect to

kubectl get svc --namespace default eosio-nodeos -o jsonpath='{.status.loadBalancer.ingress[0].ip}'

cleanup

gcloud deployment-manager deployments delete ${NAME}

eosio-testnet-dm's People

Contributors

huangminghuang avatar

Watchers

 avatar  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.