Kubernetes HPA具有1.5中的自定义指标

Kubernetes HPA具有1.5中的自定义指标,kubernetes,Kubernetes,我已经安装了K8SV1.5版,我尝试按照自定义度量实现HPA 在上面的页面中,它说“——控制器管理器上的horizontal pod autoscaler use rest clients标志设置为true”。但在我设置该标志时,控制器管理器无法启动,因为该标志不受支持 那么我怎样才能找到K8SV1.5版的指南呢 以下是我的k8s版本信息: [bow@devvm13 ~]$ kubectl version Client Version: version.Info{Major:"1", Mino

我已经安装了K8SV1.5版,我尝试按照自定义度量实现HPA

在上面的页面中,它说“
——控制器管理器上的horizontal pod autoscaler use rest clients
标志设置为true”。但在我设置该标志时,控制器管理器无法启动,因为该标志不受支持

那么我怎样才能找到K8SV1.5版的指南呢

以下是我的k8s版本信息:

[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"}

--1.6版本后支持水平pod autoscaler使用rest客户端
你可以举个例子。

我试过了,它不起作用。不同的是,页面使用了minikub,我使用的是标准版。我在kubelet中设置了所有可能的选项:#ps-ef | grep kubelet root 20168 1 4 15:07?00:10:11/usr/bin/kubelet--kubeconfig=/etc/kubernetes/kubelet.conf--require kubeconfig=true--pod manifest path=/etc/kubernetes/manifests--allow privileged=true--network plugin=cni--cni conf dir=/etc/cni/net.d--cni bin--cluster dns=10.96.0.10--cluster domain=cluster.local enable custom metrics=trueEnableCustomMetrics=true启用\自定义\度量=true