Skip to content

Commit

Permalink
Cherry pick #6130
Browse files Browse the repository at this point in the history
  • Loading branch information
fabriziopandini committed Nov 6, 2017
1 parent 9981b6b commit c9bd1f6
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions docs/admin/kubeadm-init.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,29 @@ featureGates:
<feature>: <bool>
```
### Passing custom arguments to control plane components {#custom-args}
If you would like to override or extend the behaviour of a control plane component, you can provide
extra arguments to kubeadm. When the component is deployed, it will use these additional arguments in
the pod command itself.
For example, to add additional feature-gate arguments to the apiserver, your [configuration file](#sample-master-configuration)
will need to look like this:
```
apiVersion: kubeadm.k8s.io/v1alpha1
kind: MasterConfiguration
apiServerExtraArgs:
feature-gates: APIResponseCompression=true
```
To customise the scheduler or controller-manager, use `schedulerExtraArgs` and `controllerManagerExtraArgs` respectively.

More information on custom arguments can be found here:
- [kube-apiserver](https://kubernetes.io/docs/admin/kube-apiserver/)
- [kube-controller-manager](https://kubernetes.io/docs/admin/kube-controller-manager/)
- [kube-scheduler](https://kubernetes.io/docs/admin/kube-scheduler/)

### Using custom images {#custom-images}

By default, kubeadm will pull images from `gcr.io/google_containers`, unless
Expand Down

0 comments on commit c9bd1f6

Please sign in to comment.