Eduardo Medeiros

Eduardo Medeiros

System Engineer.

© 2022

About me

Browse by categories

Consul: survivals commands

Consul is a service mesh solution providing a full featured control plane with service discovery, configuration, and segmentation functionality.

Listing members

$ consul members
$ consul members -detailed
$ curl http://consul.your-awesome-domain.com:8500/v1/catalog/nodes | jq

Listing server cluster

$ consul members | grep -i server

Join cluster

$ consul join <ip>

Reload

$ consul reload

Checking health state

$ curl http://consul.your-awesome-domain.com:8500/v1/health/state/critical | jq
$ curl http://127.0.0.1:8500/v1/operator/autopilot/health | jq

Listing raft peers

$ consul operator raft list-peers

Some external utils documentation

Backup & Restore

https://learn.hashicorp.com/consul/datacenter-deploy/backup

Check list

https://learn.hashicorp.com/consul/datacenter-deploy/production-checklist

Outage:

https://www.consul.io/docs/guides/outage.html