kubedam搭建的k8s部署metrics
在正常 情况下,控制台输入kubectl top pods 命令,会返回如下提示:[root@k8s-master ~]# kubectl top podsError from server (NotFound): the server could not find the requested resource (get services http:heapster:)这是因为还缺少个组件,这个组件叫做metric-server。部署metric-serverkubectl apply -f