From d097faf2e9c0ad28890ecd4d1c9dc5203609edb8 Mon Sep 17 00:00:00 2001 From: David Yu Date: Thu, 22 Feb 2024 21:11:08 +0000 Subject: [PATCH 1/3] backport of commit ae9fbc9299eababbc04e4c92368c9015a6e1a53d --- .../gateways/api-gateway/install-k8s.mdx | 68 +++++++++---------- 1 file changed, 34 insertions(+), 34 deletions(-) diff --git a/website/content/docs/connect/gateways/api-gateway/install-k8s.mdx b/website/content/docs/connect/gateways/api-gateway/install-k8s.mdx index 305a829a7303..4c66ebe8f6e6 100644 --- a/website/content/docs/connect/gateways/api-gateway/install-k8s.mdx +++ b/website/content/docs/connect/gateways/api-gateway/install-k8s.mdx @@ -81,40 +81,40 @@ The Consul API gateway ships with Consul and is automatically installed when you 1. 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](https://github.com/hashicorp/consul-k8s/releases) in GitHub releases for the available versions. - - - -Refer to the official [Consul K8S CLI documentation](/consul/docs/k8s/k8s-cli) to find additional settings. - -```shell-session -$ brew tap hashicorp/tap -``` - -```shell-session -$ brew install hashicorp/tap/consul-k8s -``` - -```shell-session -$ consul-k8s install -config-file=values.yaml -set global.image=hashicorp/consul:1.16.0 -``` - - - - -Add the HashiCorp Helm repository. - -```shell-session -$ helm repo add hashicorp https://helm.releases.hashicorp.com -``` - -Install Consul with API Gateway on your Kubernetes cluster by specifying the `values.yaml` file. - -```shell-session -$ helm install consul hashicorp/consul --version 1.2.0 --values values.yaml --create-namespace --namespace consul -``` - - - + + + + Refer to the official [Consul K8S CLI documentation](/consul/docs/k8s/k8s-cli) to find additional settings. + + ```shell-session + $ brew tap hashicorp/tap + ``` + + ```shell-session + $ brew install hashicorp/tap/consul-k8s + ``` + + ```shell-session + $ consul-k8s install -config-file=values.yaml -set global.image=hashicorp/consul:1.16.0 + ``` + + + + + Add the HashiCorp Helm repository. + + ```shell-session + $ helm repo add hashicorp https://helm.releases.hashicorp.com + ``` + + Install Consul with API Gateway on your Kubernetes cluster by specifying the `values.yaml` file. + + ```shell-session + $ helm install consul hashicorp/consul --version 1.2.0 --values values.yaml --create-namespace --namespace consul + ``` + + +