Merge pull request #12201 from diegocn/dn-master/docs/weave-improvement

Added the docs related to CPU/Memory resources override on weave
This commit is contained in:
Kubernetes Prow Robot 2021-08-26 00:07:23 -07:00 committed by GitHub
commit 9c7ccff249
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 21 additions and 0 deletions

View File

@ -85,3 +85,24 @@ spec:
weave:
version: "2.7.0"
```
### Override default CPU/Memory resources
Weave networking comes with default specs related to CPU/Memory requests and limits, already configured by kOps.
In case users want to override default values, specs should be customized as follows:
```yaml
spec:
networking:
weave:
memoryRequest: 300Mi
cpuRequest: 100m
memoryLimit: 300Mi
cpuLimit: 100m
npcMemoryRequest: 300Mi
npcCPURequest: 100m
npcMemoryLimit: 300Mi
npcCPULimit: 100m
```
> **NOTE**: These are just example values and not necessarily the recommended values. You should override the default values according to your needs.