标签:rgs hub https sys aml yam ext uber server
git clone https://github.com/kubernetes-incubator/metrics-server.git
cd metrics-server/deploy/1.8+/
sed -i ‘s#k8s.gcr.io/metrics-server-amd64:v0.3.3#lanvv/metrics-server-amd64:v0.3.3#‘ metrics-server-deployment.yaml
sed -i ‘32a \
args: \
- --kubelet-insecure-tls \
- --kubelet-preferred-address-types=InternalIP,Hostname,InternalDNS,ExternalDNS,ExternalIP \
- --metric-resolution=30s‘ metrics-server-deployment.yaml
kubectl create -f .
验证:
kubectl -n kube-system get pods
标签:rgs hub https sys aml yam ext uber server
原文地址:https://www.cnblogs.com/xiangyu5945/p/11352489.html