Added docs on policyConfigMap

This commit is contained in:
Manatsawin Hanmongkolchai 2017-10-07 00:02:49 +07:00
parent 78023ba0df
commit be8aa9fecc
1 changed files with 15 additions and 0 deletions

View File

@ -194,6 +194,21 @@ NOTE: Where the corresponding configuration value can be empty, fields can be se
Will result in the flag `--resolv-conf=` being built.
### kubeScheduler
This block contains configurations for `kube-scheduler`. See https://kubernetes.io/docs/admin/kube-scheduler/
```yaml
spec:
kubeScheduler:
policyConfigMap: scheduler-policy
policyConfigMapNamespace: default
```
Will resulting to running kube-scheduler with the arguments `--policy-configmap=scheduler-policy --policy-configmap-namespace=default`.
Note that as of Kubernetes 1.8.0 kube-scheduler does not reload its configuration from configmap automatically. You will need to ssh into the master instance and restart the Docker container manually.
#### Feature Gates
```yaml