Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs tweak - specify flag, not kube-up env var #3583

Merged
merged 1 commit into from
Oct 10, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions docs/cluster_spec.md
Original file line number Diff line number Diff line change
Expand Up @@ -195,14 +195,15 @@ NOTE: Where the corresponding configuration value can be empty, fields can be se
Will result in the flag `--resolv-conf=` being built.

#### Enable Custom metrics support
To use custom metrics in kubernetes as per [custom metrics doc](https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/#support-for-custom-metrics) we have to set flag `ENABLE_CUSTOM_METRICS` to `true` on all the kubelets.
we can specify that in the `kubelet` spec in our cluster.yml.
To use custom metrics in kubernetes as per [custom metrics doc](https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/#support-for-custom-metrics)
we have to set the flag `--enable-custom-metrics` to `true` on all the kubelets. We can specify that in the `kubelet` spec in our cluster.yml.

```
spec:
kubelet:
enableCustomMetrics: true
```

### kubeScheduler

This block contains configurations for `kube-scheduler`. See https://kubernetes.io/docs/admin/kube-scheduler/
Expand Down