Update cluster spec documentation with node reservation flags

This commit is contained in:
King'ori Maina 2017-07-17 23:06:16 +02:00
parent 05834eeb2f
commit 38c4d2af5c
No known key found for this signature in database
GPG Key ID: 04398F1A6E1D9B22
1 changed files with 21 additions and 0 deletions

View File

@ -155,6 +155,27 @@ spec:
Will result in the flag `--feature-gates=ExperimentalCriticalPodAnnotation=true,AllowExtTrafficLocalEndpoints=false`
#### Compute Resources Reservation
```yaml
spec:
kubelet:
kubeReserved:
cpu: "100m"
memory: "100Mi"
storage: "1Gi"
kubeReservedCgroup: "/kube-reserved"
systemReserved:
cpu: "100m"
memory: "100Mi"
storage: "1Gi"
systemReservedCgroup: "/system-reserved"
enforceNodeAllocatable: "pods,system-reserved,kube-reserved"
```
Will result in the flag `--kube-reserved=cpu=100m,memory=100Mi,storage=1Gi --kube-reserved-cgroup=/kube-reserved --system-reserved=cpu=100mi,memory=100Mi,storage=1Gi --system-reserved-cgroup=/system-reserved --enforce-node-allocatable=pods,system-reserved,kube-reserved`
Learn [more about reserving compute resources](https://kubernetes.io/docs/tasks/administer-cluster/reserve-compute-resources/).
### networkID