Add configurator docs for kubeadm

pull/2079/head
Matt Rickard 2017-10-17 15:34:42 -07:00
parent 5ccaae8998
commit c6bdac10a2
1 changed files with 20 additions and 1 deletions

View File

@ -1,10 +1,29 @@
### Configuring Kubernetes
## Configuring Kubernetes
Minikube has a "configurator" feature that allows users to configure the Kubernetes components with arbitrary values.
To use this feature, you can use the `--extra-config` flag on the `minikube start` command.
This flag is repeated, so you can pass it several times with several different values to set multiple options.
### Kubeadm bootstrapper
The kubeadm bootstrapper can be configured by the `--extra-config` flag on the `minikube start` command. It takes a string of the form `component.key=value` where `component` is one of the strings
* kubelet
* apiserver
* controller-manager
* scheduler
and `key=value` is a flag=value pair for the component being configured. For example,
```
minikube start --extra-config=apiserver.v=10 --extra-config=kubelet.max-pods=100
```
### Localkube
The configurator interpretes the `--extra-config` flags differently for localkube.
This flag takes a string of the form `component.key=value`, where `component` is one of the strings from the list below, `key` is a value on the
configuration struct and `value` is the value to set.