Added the docs related to CPU/Memory resources override on weave

This commit is contained in:
Diego Nogues 2021-08-24 14:36:50 -03:00
parent 91e063d533
commit d7c2a306f2
No known key found for this signature in database
GPG Key ID: C0DE45CFD83DD3A5
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.