March 2020
Intermediate to advanced
626 pages
14h 45m
English
Consul Connect's core strength is its service mesh, which spans and covers both Kubernetes and VMs. Consul traffic management is available for services that might run in VMs and/or in Kubernetes environments. The Consul configuration can be pushed through the Consul CLI or API, or by using Kubernetes jobs. Let's take a look:
# Script: 08-service-defaults-web.hclkind = "service-defaults"name = "web"protocol = "http"
Here, an example of the Consul CLI demonstrates creating Consul primitive service-defaults for the web service. Notice that the web service does not exist yet – we will create that later on.
We can load the ...
Read now
Unlock full access