mirror of https://github.com/status-im/consul.git
Merge pull request #5948 from hashicorp/lkysow-patch-1
Update kubernetes-reference.html.md
This commit is contained in:
commit
3517e47ad1
|
@ -33,19 +33,22 @@ The CPU and memory recommendations can be used when you select the resources
|
||||||
limits for the Consul pods. The disk recommendations can also be used when
|
limits for the Consul pods. The disk recommendations can also be used when
|
||||||
selecting the resources limits and configuring persistent volumes. You will
|
selecting the resources limits and configuring persistent volumes. You will
|
||||||
need to set both `limits` and `requests` in the Helm chart. Below is an example
|
need to set both `limits` and `requests` in the Helm chart. Below is an example
|
||||||
Helm chart for a Consul server in a large environment.
|
snippet of Helm config for a Consul server in a large environment.
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
# values.yaml
|
||||||
|
|
||||||
```yaml
|
|
||||||
server
|
server
|
||||||
resources: |
|
resources: |
|
||||||
requests:
|
requests:
|
||||||
memory: "32Gi"
|
memory: "32Gi"
|
||||||
cpu: "4"
|
cpu: "4"
|
||||||
disk: "50Gi"
|
|
||||||
limits:
|
limits:
|
||||||
memory: "32Gi"
|
memory: "32Gi"
|
||||||
cpu: "4"
|
cpu: "4"
|
||||||
disk: "50Gi"
|
|
||||||
|
storage: 50Gi
|
||||||
|
...
|
||||||
```
|
```
|
||||||
|
|
||||||
You should also set [resource limits for Consul
|
You should also set [resource limits for Consul
|
||||||
|
|
Loading…
Reference in New Issue