安装指定版本的nfs-client-provisioner
$helm repo add stable https://charts.helm.sh/stable
$helm repo update
$helm install nfs-client-provisioner stable/nfs-client-provisioner --version 1.2.8 --set nfs.server=192.168.1.105 --set nfs.path=/nfs/data/
出现报错信息:
Error: create: failed to create: Get https://[::1]:6443/api/v1/namespaces/default/resourcequotas: dial tcp [::1]:6443: connect: cannot assign requested address
或者:
Error: create: failed to create: Internal error occurred: resource quota evaluates timeout
解决方法:运行如下命令
swapoff --all
systemctl restart docker
systemctl restart kubelet
systemctl daemon-reload
helm添加https://kubernetes-charts.storage.googleapis.com 报错:原因
Old Location
stable https://kubernetes-charts.storage.googleapis.com
incubator https://kubernetes-charts-incubator.storage.googleapis.com
New Location
stable https://charts.helm.sh/stable
incubator https://charts.helm.sh/incubator
参考链接:
https://github.com/helm/charts/tree/master/stable/nfs-client-provisioner
https://helm.sh/blog/new-location-stable-incubator-charts/