Skip to content

fzymgc/consul-cli

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

consul-cli

Command line interface to Consul HTTP API

Subcommands

Command Synopsis
acl-clone Create a new token from an existing one
acl-create Create an ACL
acl-destroy Destroy an ACL
acl-info Query an ACL token
acl-list List all active ACL tokens
acl-update Update an ACL
agent-checks Get the checks the agent is managing
agent-force-leave Force the removal of a node
agent-join Trigger the local agent to join a node
agent-maintenance Manage node maintenance mode
agent-members Get the members as seen by the serf agent
agent-self Get the node configuration
agent-services Get the services the agent is managing
catalog-datacenters Get all datacenters known by the Consul agent
catalog-node Get the services provided by a node
catalog-nodes Get all nodes registered in a given DC
catalog-service Get the nodes providing a service
catalog-services Get all services registered in a given DC
check-deregister Remove a check from the agent
check-fail Mark a local check as critical
check-pass Mark a local check as passing
check-register Register a new local check
check-warn Mark a local check as warning
health-checks Get the health checks for a service
health-node Get the health info for a node
health-service Get nodes and health info for a service
health-state Get the checks in a given state
kv-delete Delete a path
kv-lock Lock a node
kv-read Read a value
kv-unlock Unlock a node
kv-watch Watch a node for changes
kv-write Write a value
service-deregister Remove a service from the agent
service-maintenance Manage maintenance mode on a service
service-register Register a new local service
session-create Create a new session
session-destroy Destroy a session
session-info Get information on a session
session-list List active sessions for a datacenter
session-node Get active sessions for a node
session-renew Renew the given session
status-leader Get the current Raft leader
status-peers Get the current Raft peer set

About

Command line interface to Consul HTTP API

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 98.7%
  • Makefile 1.3%