mirror of https://github.com/kubernetes/kops.git
Added the docs related to CPU/Memory resources override on weave
This commit is contained in:
parent
91e063d533
commit
d7c2a306f2
|
|
@ -85,3 +85,24 @@ spec:
|
||||||
weave:
|
weave:
|
||||||
version: "2.7.0"
|
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.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue