Skip to content

Commit

Permalink
Update sysctl-cluster.md (kubernetes#5894)
Browse files Browse the repository at this point in the history
Include guide on enabling unsafe sysctls in minikube
  • Loading branch information
charlesverdad authored and bsteciuk committed Dec 1, 2017
1 parent 5cdc6c6 commit fa9cfac
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/concepts/cluster-administration/sysctl-cluster.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,11 @@ flag of the kubelet, e.g.:
```shell
$ 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.

## Setting Sysctls for a Pod
Expand Down

0 comments on commit fa9cfac

Please sign in to comment.