mirror of https://github.com/hashicorp/consul
docs: format API GW tab docs (#20707)
* Update install-k8s.mdx * Update install-k8s.mdxpull/20695/head
parent
235747d473
commit
e72152465f
|
@ -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.
|
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.
|
||||||
|
|
||||||
<Tabs>
|
<Tabs>
|
||||||
<Tab heading="Consul K8s CLI (Mac Only)">
|
<Tab heading="Consul K8s CLI (Mac Only)">
|
||||||
|
|
||||||
Refer to the official [Consul K8S CLI documentation](/consul/docs/k8s/k8s-cli) to find additional settings.
|
Refer to the official [Consul K8S CLI documentation](/consul/docs/k8s/k8s-cli) to find additional settings.
|
||||||
|
|
||||||
```shell-session
|
```shell-session
|
||||||
$ brew tap hashicorp/tap
|
$ brew tap hashicorp/tap
|
||||||
```
|
```
|
||||||
|
|
||||||
```shell-session
|
```shell-session
|
||||||
$ brew install hashicorp/tap/consul-k8s
|
$ brew install hashicorp/tap/consul-k8s
|
||||||
```
|
```
|
||||||
|
|
||||||
```shell-session
|
```shell-session
|
||||||
$ consul-k8s install -config-file=values.yaml -set global.image=hashicorp/consul:1.16.0
|
$ consul-k8s install -config-file=values.yaml -set global.image=hashicorp/consul:1.17.0
|
||||||
```
|
```
|
||||||
|
|
||||||
</Tab>
|
</Tab>
|
||||||
<Tab heading="Helm">
|
<Tab heading="Helm">
|
||||||
|
|
||||||
Add the HashiCorp Helm repository.
|
Add the HashiCorp Helm repository.
|
||||||
|
|
||||||
```shell-session
|
```shell-session
|
||||||
$ helm repo add hashicorp https://helm.releases.hashicorp.com
|
$ helm repo add hashicorp https://helm.releases.hashicorp.com
|
||||||
```
|
```
|
||||||
|
|
||||||
Install Consul with API Gateway on your Kubernetes cluster by specifying the `values.yaml` file.
|
Install Consul with API Gateway on your Kubernetes cluster by specifying the `values.yaml` file.
|
||||||
|
|
||||||
```shell-session
|
```shell-session
|
||||||
$ helm install consul hashicorp/consul --version 1.2.0 --values values.yaml --create-namespace --namespace consul
|
$ helm install consul hashicorp/consul --version 1.3.0 --values values.yaml --create-namespace --namespace consul
|
||||||
```
|
```
|
||||||
|
|
||||||
</Tab>
|
</Tab>
|
||||||
</Tabs>
|
</Tabs>
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
****** KEEP ALL PAGE CONTENT ABOVE THIS LINE *******
|
****** KEEP ALL PAGE CONTENT ABOVE THIS LINE *******
|
||||||
|
|
Loading…
Reference in New Issue