HashiCorp Setup

Installing Gloo will require an environment for installation. In this document we will review how to prepare an environment that uses the HashiCorp family of products for the installation of Gloo.

Overview

HashiCorp has the following products that can be utilized by Gloo for different functions:

HashiCorp Example

Nomad

HashiCorp provides excellent documentation and examples on how to deploy Nomad in a development or production environment. The Nomad agent is installed on nodes that will host workloads deployed by a Nomad job. In the case of Gloo, the hosts must support the deployment of containers.

You should have the most recent version of Nomad downloaded and the Nomad agent deployed on any worker nodes on which you want to install Gloo. You can also run Nomad locally in development mode.

Consul

HashiCorp provides documentation and examples on how to deploy Consul in a development or production environment. Consul can be deployed on bare-metal, virtual machines, or containers. It is possible to deploy Consul on Kubernetes, and then use Consul for service discovery and configuration data storage instead of using Custom Resources and Kubernetes service discovery.

You should have the most recent version of Consul downloaded and deployed in a location that is addressable by your target Gloo environment. Consul and Gloo do not have to run on the same Nomad nodes or Kubernetes cluster. You can also run Consul locally in development mode.

Vault

HashiCorp provides documentation and examples on how to deploy Vault in a development or production environment. Vault can be deployed on bare-metal, virtual machines, or containers. It is possible to deploy Vault on Kubernetes, and then use Vault for secrets management instead of using Secrets in Kubernetes.

You should have the most recent version of Vault downloaded and deployed in a location that is addressable by your target Gloo environment. Vault and Gloo do not have to run on the same Nomad nodes or Kubernetes cluster. You can also run Vault locally in development mode.


Next Steps

Once you have prepared a suitable environment for the deployment of Gloo on HashiCorp’s products, you can run through the guide for getting Gloo Gateway deployed.