Skip to content

Commit

Permalink
Updated docs for UsePolicyConfigMap
Browse files Browse the repository at this point in the history
  • Loading branch information
whs committed Oct 27, 2017
1 parent a708919 commit 170bf52
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions docs/cluster_spec.md
Original file line number Diff line number Diff line change
Expand Up @@ -211,13 +211,12 @@ This block contains configurations for `kube-scheduler`. See https://kubernetes
```yaml
spec:
kubeScheduler:
policyConfigMap: scheduler-policy
policyConfigMapNamespace: default
usePolicyConfigMap: true
```

Will resulting to running kube-scheduler with the arguments `--policy-configmap=scheduler-policy --policy-configmap-namespace=default`.
Will make kube-scheduler use the scheduler policy from configmap "scheduler-policy" in namespace kube-system.

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. Also, this option is not supported during cluster creation, only during updates.
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.

### kubeControllerManager
This block contains configurations for the `controller-manager`.
Expand Down

0 comments on commit 170bf52

Please sign in to comment.