etcdadmin

command module
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 13, 2020 License: Apache-2.0 Imports: 1 Imported by: 0

README

etcdadmin

etcdadmin contains etcdadmind and etcdadminctl. It makes it easy to create a new etcd cluster, add a member to, or remove a member from an existing etcd cluster.

  • etcdadmind is a service to manage etcd cluster.
  • etcdadminctl is a tool for operating etcdadmind, such as add, remove or list members.

Depends

  • etcd.service

Here is an example contrib/etcd.service

Getting started

How to install
# go get github.com/rayylee/etcdadmin/etcdadmin
# go get github.com/rayylee/etcdadmin/etcdadminctl
How to run
# etcdadmin install
Install Etcd admin service:                 [  OK  ]

# etcdadmin start
Starting Etcd admin service:                [  OK  ]

  • Add member
    # etcdadminctl member add node1 --peer-ip=169.254.155.111
    # etcdadminctl member add node2 --peer-ip=169.254.155.112
    
  • List memebers
    # etcdadminctl member list
    
  • Remove member
    # etcdadminctl remove node1
    

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL