/consul-cli

Command line interface to Consul HTTP API

Primary LanguageGoApache License 2.0Apache-2.0

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