Merge pull request #5948 from hashicorp/lkysow-patch-1

Update kubernetes-reference.html.md
This commit is contained in:
Luke Kysow 2019-06-13 10:07:15 +01:00 committed by GitHub
commit c28ace2db1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 5 deletions

View File

@ -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