当我添加GSCFuse并在Kubernetes中部署我的应用程序时,得到了这个错误消息——任何可能的问题的建议



poststarthookeerror:命令'gcsfuse-o nonempty config_files_1_bucket/home/test123/'退出,返回126我正在我的yaml文件中添加gcs fuse命令,如

生命周期:

postStart:
exec:
command:
- gcsfuse
- -o
- nonempty
- config_files_1_bucket
- /home/test123
preStop:
exec:
command:
- fusermount
- -u
- /home/test123

此处相同。它曾经工作过(在gcsfuse版本0.28.1上(,但我现在不工作了(0.32.0(。事实上,他们删除了对非空选项的支持(https://github.com/appsembler/roles/pull/85)因为fusermount v3.0不支持它只需删除非空选项,它就会起作用。

更多信息:https://github.com/GoogleCloudPlatform/gcsfuse/issues/424

最新更新