> For the complete documentation index, see [llms.txt](https://memogarcia.gitbook.io/continuous-learning/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://memogarcia.gitbook.io/continuous-learning/tech/service-mesh/consul.md).

# Consul

```
helm repo add hashicorp https://helm.releases.hashicorp.com
helm repo update

helm install consul hashicorp/consul --create-namespace -n consul --values config.yml

helm upgrade \
    consul \
    hashicorp/consul \
    -i \
    -n consul \
    -f values.yml

helm install \
    consul \
    hashicorp/consul \
    -n consul \
    -f values.yml
```

## Service traffic accross datacenters (clusters)

<https://www.consul.io/docs/connect/gateways/mesh-gateway/service-to-service-traffic-datacenters>

## References

* [values.yml](https://github.com/hashicorp/consul-helm/blob/master/values.yaml)
