Update sysctl-cluster.md (#5894)

Include guide on enabling unsafe sysctls in minikube
pull/6022/head
charlesverdad 2017-10-24 02:50:18 +08:00 committed by Steve Perry
parent 0bd5f3e6cb
commit 406bcc87f6
1 changed files with 4 additions and 0 deletions

View File

@ -93,7 +93,11 @@ flag of the kubelet, e.g.:
```shell ```shell
$ kubelet --experimental-allowed-unsafe-sysctls 'kernel.msg*,net.ipv4.route.min_pmtu' ... $ kubelet --experimental-allowed-unsafe-sysctls 'kernel.msg*,net.ipv4.route.min_pmtu' ...
``` ```
For minikube, this can be done via the `extra-config` flag:
```shell
$ minikube start --extra-config="kubelet.AllowedUnsafeSysctls=kernel.msg*,net.ipv4.route.min_pmtu"...
```
Only _namespaced_ sysctls can be enabled this way. Only _namespaced_ sysctls can be enabled this way.
## Setting Sysctls for a Pod ## Setting Sysctls for a Pod