<p>I have k8s v1.5 installad, I tried to following  <a href="https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/" rel="nofollow noreferrer">https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/</a> to implement HPA with custom metric.</p>

<p>In the page above, it said "<code>--horizontal-pod-autoscaler-use-rest-clients</code> flag on the controller manager set to true. " but while I set it, the controller manager cannot be started because this flag is not support.</p>

<p>So how can I find any guide for k8s v1.5?</p>

<p>Here is my k8s version information:</p>

<pre><code>[bow@devvm13 ~]$ kubectl version 
Client Version: version.Info{Major:"1", Minor:"5", GitVersion:"v1.5.1", GitCommit:"82450d03cb057bab0950214ef122b67c83fb11df", GitTreeState:"clean", BuildDate:"2016-12-14T00:57:05Z", GoVersion:"go1.7.4", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"5", GitVersion:"v1.5.0", GitCommit:"58b7c16a52c03e4a849874602be42ee71afdcab1", GitTreeState:"clean", BuildDate:"2016-12-12T23:31:15Z", GoVersion:"go1.7.4", Compiler:"gc", Platform:"linux/amd64"}
</code></pre>

<p>--horizontal-pod-autoscaler-use-rest-clients is supported after 1.6. <br/> you can refer <a href="https://medium.com/@marko.luksa/kubernetes-autoscaling-based-on-custom-metrics-without-using-a-host-port-b783ed6241ac" rel="nofollow noreferrer">https://medium.com/@marko.luksa/kubernetes-autoscaling-based-on-custom-metrics-without-using-a-host-port-b783ed6241ac</a> as an example.</p>
