⭐ We're looking for feedback on how folks are using Consul on Kubernetes. Please fill out our brief survey! ⭐
This repository contains the official HashiCorp Helm chart for installing and configuring Consul on Kubernetes. This chart supports multiple use cases of Consul on Kubernetes, depending on the values provided.
For full documentation on this Helm chart along with all the ways you can use Consul with Kubernetes, please see the Consul and Kubernetes documentation.
- Helm 3.0+ (Helm 2 is not supported)
- Kubernetes 1.16+ - This is the earliest version of Kubernetes tested. It is possible that this chart works with earlier versions but it is untested.
Detailed installation instructions for Consul on Kubernetes are found here.
-
Add the HashiCorp Helm Repository:
$ helm repo add hashicorp https://helm.releases.hashicorp.com "hashicorp" has been added to your repositories
-
Ensure you have access to the consul chart:
$ helm search repo hashicorp/consul NAME CHART VERSION APP VERSION DESCRIPTION hashicorp/consul 0.20.1 1.7.2 Official HashiCorp Consul Chart
-
Now you're ready to install Consul! To install Consul with the default configuration using Helm 3 run:
$ helm install consul hashicorp/consul --set global.name=consul NAME: consul
Please see the many options supported in the values.yaml
file. These are also fully documented directly on the
Consul website.
You can find examples and complete tutorials on how to deploy Consul on Kubernetes using Helm on the HashiCorp Learn website.