Consul Template
In this lesson, we'll discuss Consul Templates.
We'll cover the following
Introduction #
For each microservice, Apache httpd must have an entry in its configuration file. For this, Consul Template can be used.
In the example, the 00-default.ctmpl
file is used as a
template to create the Apache httpd configuration. It is written in
the Consul Templating Language.
For each microservice, it creates an entry that distributes the load
between the instances and redirects external requests to these
instances.
Get hands-on with 1400+ tech skills courses.