website icon indicating copy to clipboard operation
website copied to clipboard

kubernetes controller has no --apiserver flag

Open aabed opened this issue 9 years ago • 5 comments

This is a...

  • [ ] Feature Request
  • [x] Bug Report

Problem:

in this file https://github.com/kubernetes/kubernetes.github.io/blob/master/docs/tasks/run-application/horizontal-pod-autoscale.md it states that to enable custom metrics you should pass api aggregator to the manager using --apiserver

but

--apiserver is unknown flag to the kube-controller-manager

Proposed Solution:

Page to Update: https://github.com/kubernetes/kubernetes.github.io/blob/master/docs/tasks/run-application/horizontal-pod-autoscale.md

aabed avatar Jul 28 '17 19:07 aabed

Is it called --api-server perhaps? The next paragraph refers to an --api-server flag on Heapster. It appears like @directxman12 added this in #2720.

ahmetb avatar Jul 29 '17 00:07 ahmetb

It's now either --master or --kubeconfig, it appears

DirectXMan12 avatar Aug 01 '17 15:08 DirectXMan12

There may be some research to do here about which flag to use, but this still looks actionable for docs purposes.

zacharysarah avatar Aug 01 '17 19:08 zacharysarah

@DirectXMan12 if you have any familiarity, I appreciate if you can submit a PR.

ahmetb avatar Aug 01 '17 19:08 ahmetb

Doc fix for this was merged last week

jesscodez avatar Aug 08 '17 01:08 jesscodez