Closed huangzx3 closed 2 years ago
你这个是flexvolume转csi? kubelet的参数改了吗?
你这个是flexvolume转csi? kubelet的参数改了吗?
您好,也不算是flexvolume转csi,之前参考过其他教程装过flexvolume,发现无法使用,后来才装的 alibaba-cloud-csi-driver,算是直接使用的csi,集群也是刚搭建的
我用k8s 1.22(安装方法:https://github.com/lizhenliang/ansible-install-k8s)也报这个错,可能安装的时候哪里没配置好吧,1.20没问题。
是的,我也是用1.22不行
@mowangdk 请问是否跟1.22有关呢
我们更新一下sidecar image version, 目前这个版本的应该不支持1.22
@huangzx3 @lc-1203
https://github.com/kubernetes-sigs/alibaba-cloud-csi-driver/tree/master/deploy/ack
重新部署一下csi-provisioner & csi-plugin
回退 1.20 之后 挂载成功了
回退 1.20 之后 挂载成功了
好的
@mowangdk 1.22.4,重新部署了还是不行。自动创建云盘了,但是无法挂载。
csi-provisioner:external-disk-attacher:pod1日志
E1223 09:23:25.273955 8 reflector.go:156] pkg/mod/k8s.io/client-go@v0.17.0/tools/cache/reflector.go:108: Failed to list *v1beta1.CSINode: the server could not find the requested resource
pod2日志
I1223 09:24:10.257338 8 leaderelection.go:352] lock is held by node01 and has not yet expired I1223 09:24:10.257364 8 leaderelection.go:247] failed to acquire lease kube-system/external-attacher-leader-diskplugin-csi-alibabacloud-com
@mowangdk 1.22.4,重新部署了还是不行。自动创建云盘了,但是无法挂载。 csi-provisioner:external-disk-attacher:pod1日志
E1223 09:23:25.273955 8 reflector.go:156] pkg/mod/k8s.io/client-go@v0.17.0/tools/cache/reflector.go:108: Failed to list *v1beta1.CSINode: the server could not find the requested resource
pod2日志I1223 09:24:10.257338 8 leaderelection.go:352] lock is held by node01 and has not yet expired I1223 09:24:10.257364 8 leaderelection.go:247] failed to acquire lease kube-system/external-attacher-leader-diskplugin-csi-alibabacloud-com
external-attacher & external-resizer的版本还需要更新下,我这边随后提pr 更新模板
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs.
This bot triages issues and PRs according to the following rules:
lifecycle/stale
is appliedlifecycle/stale
was applied, lifecycle/rotten
is appliedlifecycle/rotten
was applied, the issue is closedYou can:
/remove-lifecycle stale
/lifecycle rotten
/close
Please send feedback to sig-contributor-experience at kubernetes/community.
/lifecycle stale
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs.
This bot triages issues and PRs according to the following rules:
lifecycle/stale
is appliedlifecycle/stale
was applied, lifecycle/rotten
is appliedlifecycle/rotten
was applied, the issue is closedYou can:
/remove-lifecycle rotten
/close
Please send feedback to sig-contributor-experience at kubernetes/community.
/lifecycle rotten
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs.
This bot triages issues and PRs according to the following rules:
lifecycle/stale
is appliedlifecycle/stale
was applied, lifecycle/rotten
is appliedlifecycle/rotten
was applied, the issue is closedYou can:
/reopen
/remove-lifecycle rotten
Please send feedback to sig-contributor-experience at kubernetes/community.
/close
@k8s-triage-robot: Closing this issue.
disk-plugin.yaml
disk-provisioner.yaml
csi_connector.log
flexvolume_disk.log
plugin.csi.alibabacloud.com.log
plugin.csi.alibabacloud.com.log
kubectl get pv
kubectl get pvc
kubectl describe pod apisix-1639713714-etcd-0