创建部署问题时,请参考下面模板,你提供的信息越多,越容易及时获得解答。如果未按模板创建问题,管理员有权关闭问题。
确保帖子格式清晰易读,用 markdown code block 语法格式化代码块。
你只花一分钟创建的问题,不能指望别人花上半个小时给你解答。
操作系统信息
例如:虚拟机/物理机,Centos7.5/Ubuntu18.04,4C/8G
Kubernetes版本信息
将 kubectl version
命令执行结果贴在下方
Client Version: version.Info{Major:“1”, Minor:“21”, GitVersion:“v1.21.5”, GitCommit:“aea7bbadd2fc0cd689de94a54e5b7b758869d691”, GitTreeState:“clean”, BuildDate:“2021-09-15T21:10:45Z”, GoVersion:“go1.16.8”, Compiler:“gc”, Platform:“linux/amd64”}
Server Version: version.Info{Major:“1”, Minor:“21+”, GitVersion:“v1.21.13-eks-84b4fe6”, GitCommit:“e1318dce57b3e319a2e3fecf343677d1c4d4aa75”, GitTreeState:“clean”, BuildDate:“2022-06-09T18:22:07Z”, GoVersion:“go1.16.15”, Compiler:“gc”, Platform:“linux/amd64”}
容器运行时
将 docker version
/ crictl version
/ nerdctl version
结果贴在下方
KubeSphere版本信息
KubeSphere 版本 : v3.3.0
问题是现在kubesphere里面查看持久卷调研的版本是v1beata1 我想换成v1的版本
{“apiVersion”:“snapshot.storage.k8s.io/v1”,“items”:[{“apiVersion”:“snapshot.storage.k8s.io/v1”,“deletionPolicy”:“Delete”,“driver”:“efs.csi.aws.com”,“kind”:“VolumeSnapshotClass”,“metadata”:{“creationTimestamp”:“2022-03-02T10:32:53Z”,“generation”:1,“managedFields”:[{“apiVersion”:“snapshot.storage.k8s.io/v1”,“fieldsType”:“FieldsV1”,“fieldsV1”:{“f:deletionPolicy”:{},“f:driver”:{}},“manager”:“controller-manager”,“operation”:“Update”,“time”:“2022-03-02T10:32:53Z”}],“name”:“efs-sc”,“resourceVersion”:“822535”,“uid”:“e6febfa7-d35f-4076-8b2b-4ea5bb0fff06”}},{“apiVersion”:“snapshot.storage.k8s.io/v1”,“deletionPolicy”:“Delete”,“driver”:“kubernetes.io/aws-ebs”,“kind”:“VolumeSnapshotClass”,“metadata”:{“creationTimestamp”:“2022-05-12T08:18:01Z”,“generation”:1,“managedFields”:[{“apiVersion”:“snapshot.storage.k8s.io/v1”,“fieldsType”:“FieldsV1”,“fieldsV1”:{“f:deletionPolicy”:{},“f:driver”:{}},“manager”:“controller-manager”,“operation”:“Update”,“time”:“2022-05-12T08:18:01Z”}],“name”:“gp2”,“resourceVersion”:“34693364”,“uid”:“02ce9957-d019-43d4-be40-18b6671d33b9”}},{“apiVersion”:“snapshot.storage.k8s.io/v1”,“deletionPolicy”:“Delete”,“driver”:“ebs.csi.aws.com”,“kind”:“VolumeSnapshotClass”,“metadata”:{“creationTimestamp”:“2022-05-09T09:45:30Z”,“generation”:1,“managedFields”:[{“apiVersion”:“snapshot.storage.k8s.io/v1”,“fieldsType”:“FieldsV1”,“fieldsV1”:{“f:deletionPolicy”:{},“f:driver”:{}},“manager”:“controller-manager”,“operation”:“Update”,“time”:“2022-05-09T09:45:30Z”}],“name”:“gp3”,“resourceVersion”:“33220156”,“uid”:“fbe6167a-2d6c-40cb-83f2-37533b91a8fd”}},{“apiVersion”:“snapshot.storage.k8s.io/v1”,“deletionPolicy”:“Delete”,“driver”:“ebs.csi.aws.com”,“kind”:“VolumeSnapshotClass”,“metadata”:{“creationTimestamp”:“2022-08-04T05:05:34Z”,“generation”:1,“managedFields”:[{“apiVersion”:“snapshot.storage.k8s.io/v1”,“fieldsType”:“FieldsV1”,“fieldsV1”:{“f:deletionPolicy”:{},“f:driver”:{}},“manager”:“controller-manager”,“operation”:“Update”,“time”:“2022-08-04T05:05:34Z”}],“name”:“gp3-db-service”,“resourceVersion”:“81244263”,“uid”:“c98e01dc-bd1e-4330-aaae-8663a2c39fa1”}},{“apiVersion”:“snapshot.storage.k8s.io/v1”,“deletionPolicy”:“Delete”,“driver”:“ebs.csi.aws.com”,“kind”:“VolumeSnapshotClass”,“metadata”:{“creationTimestamp”:“2022-08-04T05:23:35Z”,“generation”:1,“managedFields”:[{“apiVersion”:“snapshot.storage.k8s.io/v1”,“fieldsType”:“FieldsV1”,“fieldsV1”:{“f:deletionPolicy”:{},“f:driver”:{}},“manager”:“controller-manager”,“operation”:“Update”,“time”:“2022-08-04T05:23:35Z”}],“name”:“gp3-db-service-demi”,“resourceVersion”:“81252868”,“uid”:“7128c787-ef68-4501-857f-18fdc74847ce”}}],“kind”:“VolumeSnapshotClassList”,“metadata”:{“continue”:"",“resourceVersion”:“103183021”}}
如果换成https://k8s.platform.miotech.com/apis/snapshot.storage.k8s.io/v1beat1/volumesnapshotclasses 就提示404