Configuring agents
When Consul is installed, the very first task we need to perform is configuring the Consul agent. All the nodes within a Kubernetes cluster manager that have containerized services will deploy the Consul agent. The agent performs health checks and gathers metrics for the infrastructure, platform, and overall services running within Kubernetes. The Consul agent is not used for service discovery or to gather key-value data.
If there are multiple Kubernetes clusters, the Consul agent can be enabled to communicate with multiple Consul servers as long as the agent is installed across all Kubernetes clusters. The Consul server is where all the data is stored, and a primary server is defined to serve as a master server.
The Consul ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access