遇到类似的问题。
1、GlusterFS和Heketi都已经配置完。
2、KubeSphere才用默认本地Local Disk安装完。
3、创建了保密字典,类型:用户名/密码
4、创建存储类型,选择GlusterFS,生成的YAML文件如下:
5、创建存储卷,报错信息:
Failed to provision volume with StorageClass “glusterfs”: invalid option “REST_AUTH_ENABLED” for volume plugin kubernetes.io/glusterfs
Failed to provision volume with StorageClass “glusterfs”: invalid option “CLUSTER_ID” for volume plugin kubernetes.io/glusterfs
Failed to provision volume with StorageClass “glusterfs”: invalid option “REST_USER” for volume plugin kubernetes.io/glusterfs
Failed to provision volume with StorageClass “glusterfs”: invalid option “SECRET_NAMESPACE” for volume plugin kubernetes.io/glusterfs
Failed to provision volume with StorageClass “glusterfs”: invalid option “GID_MIN” for volume plugin kubernetes.io/glusterfs
不可能都不对,所以估计是KubeSphere自己生成的YAML文件的问题