Update k8s license docs to account for license autoload
This commit is contained in:
parent
cc816879c0
commit
14b23f37c1
|
@ -24,21 +24,36 @@ In your `config.yaml`, change the value of `global.image` to one of the enterpri
|
||||||
```yaml
|
```yaml
|
||||||
# config.yaml
|
# config.yaml
|
||||||
global:
|
global:
|
||||||
image: 'hashicorp/consul-enterprise:1.4.3-ent'
|
image: 'hashicorp/consul-enterprise:1.10.0-ent'
|
||||||
```
|
```
|
||||||
|
|
||||||
Add the name and key of the secret you just created to `server.enterpriseLicense`.
|
Add the name and key of the secret you just created to `server.enterpriseLicense`, if using Consul version 1.10+.
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
# config.yaml
|
# config.yaml
|
||||||
global:
|
global:
|
||||||
image: 'hashicorp/consul-enterprise:1.4.3-ent'
|
image: 'hashicorp/consul-enterprise:1.10.0-ent'
|
||||||
server:
|
server:
|
||||||
enterpriseLicense:
|
enterpriseLicense:
|
||||||
secretName: 'consul-ent-license'
|
secretName: 'consul-ent-license'
|
||||||
secretKey: 'key'
|
secretKey: 'key'
|
||||||
```
|
```
|
||||||
|
|
||||||
|
If the version of Consul is < 1.10, use the following config with the name and key of the secret you just created.
|
||||||
|
|
||||||
|
-> **Note:** The value of `server.enterpriseLicense.enableLicenseAutoload` must be set to `false`.
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
# config.yaml
|
||||||
|
global:
|
||||||
|
image: 'hashicorp/consul-enterprise:1.8.3-ent'
|
||||||
|
server:
|
||||||
|
enterpriseLicense:
|
||||||
|
secretName: 'consul-ent-license'
|
||||||
|
secretKey: 'key'
|
||||||
|
enableLicenseAutoload: false
|
||||||
|
```
|
||||||
|
|
||||||
Now run `helm install`:
|
Now run `helm install`:
|
||||||
|
|
||||||
```shell-session
|
```shell-session
|
||||||
|
@ -74,9 +89,9 @@ Licensed Features:
|
||||||
Advanced Network Federation
|
Advanced Network Federation
|
||||||
$ consul members
|
$ consul members
|
||||||
Node Address Status Type Build Protocol DC Segment
|
Node Address Status Type Build Protocol DC Segment
|
||||||
hashicorp-consul-server-0 10.60.0.187:8301 alive server 1.4.3+ent 2 dc1 <all>
|
hashicorp-consul-server-0 10.60.0.187:8301 alive server 1.10.0+ent 2 dc1 <all>
|
||||||
hashicorp-consul-server-1 10.60.1.229:8301 alive server 1.4.3+ent 2 dc1 <all>
|
hashicorp-consul-server-1 10.60.1.229:8301 alive server 1.10.0+ent 2 dc1 <all>
|
||||||
hashicorp-consul-server-2 10.60.2.197:8301 alive server 1.4.3+ent 2 dc1 <all>
|
hashicorp-consul-server-2 10.60.2.197:8301 alive server 1.10.0+ent 2 dc1 <all>
|
||||||
```
|
```
|
||||||
|
|
||||||
If you get an error:
|
If you get an error:
|
||||||
|
|
Loading…
Reference in New Issue