12 Star 24 Fork 6

openEuler / eggo

Create your Gitee Account
Explore and code with more than 6 million developers,Free private repositories !:)
Sign up
Clone or download
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README.en.md

eggo

Description

Eggo is a tool built to provide standard multi-ways for creating Kubernetes clusters.

Software Architecture

Software architecture description

Build and install

# enable go mod
$ export GO111MODULE=on
# set goproxy
$ go env -w GOPROXY=https://goproxy.cn,direct
# download dependences
$ go mod tidy
# compile
$ make
# use vendor to compile, must download dependences go library at first
$ go mod vendor
$ make local
# install
$ make install

Unit test

$ make test

Usages

# generate default template for cluster
$ eggo template -f test.yaml
# use special master ips to generate template
$ eggo template  --masters=192.168.0.1  --masters=192.168.0.2 -f test.yaml
# current support arguments for subcommand template
$ ./eggo template --help
      --etcds stringArray          set etcd node ips
  -l, --loadbalancer stringArray   set loadbalancer node (default [192.168.0.1])
      --masters stringArray        set master ips (default [192.168.0.2])
  -n, --name string                set cluster name (default "k8s-cluster")
      --nodes stringArray          set worker ips (default [192.168.0.3,192.168.0.4])
  -p, --password string            password to login all node (default "123456")
  -u, --user string                user to login all node (default "root")

# use generated config to deploy cluster
$ eggo deploy -f test.yaml

# use generated config to cleanup cluster
$ eggo cleanup -f test.yaml

see https://gitee.com/openeuler/eggo/blob/master/docs/manual.md for detail usage.

Gratitude

The design of Eggo was inspired by Kubekey, thanks to their great work.

Contribution

  1. Fork the repository
  2. Create Feat_xxx branch
  3. Commit your code
  4. Create Pull Request

Comments ( 0 )

Sign in for post a comment

About

Eggo is a tool built to provide standard multi-ways for creating Kubernetes clusters. spread retract
Go and 4 more languages
MulanPSL-2.0
Cancel

Releases (2)

All

eggo

Contributors

All

Activities

load more
can not load any more
1
https://gitee.com/openeuler/eggo.git
git@gitee.com:openeuler/eggo.git
openeuler
eggo
eggo
master

Search

102255 3a0e046c 1850385 102255 7aaa926c 1850385