Consul
Install API gateway for Kubernetes
The Consul API gateway ships with Consul and is automatically installed when you install Consul on Kubernetes. Before you begin the installation process, verify that the environment you are deploying Consul and the API gateway in meets the requirements listed in the Technical Specifications. Refer to the Release Notes for any additional information about the version you are deploying.
The Consul Helm chart deploys the API gateway using the configuration specified in the
values.yaml
file. Refer to Helm Chart Configuration -connectInject.apiGateway
for information about the Helm chart configuration options. Create avalues.yaml
file for configuring your Consul API gateway deployment and include the following settings:values.yaml
global: name: consul connectInject: enabled: true apiGateway: manageExternalCRDs: true
Install Consul API Gateway using the standard Consul Helm chart or Consul K8s CLI specify the custom values file. Refer to the Consul Helm chart in GitHub releases for the available versions.
Refer to the official Consul K8S CLI documentation to find additional settings.
$ brew tap hashicorp/tap
$ brew install hashicorp/tap/consul-k8s
$ consul-k8s install -config-file=values.yaml -set global.image=hashicorp/consul:1.17.0