Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/google-cloud-platform/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Google cloud platform 在GKE中使用gcsfuse安装铲斗_Google Cloud Platform_Google Cloud Storage_Gcsfuse - Fatal编程技术网

Google cloud platform 在GKE中使用gcsfuse安装铲斗

Google cloud platform 在GKE中使用gcsfuse安装铲斗,google-cloud-platform,google-cloud-storage,gcsfuse,Google Cloud Platform,Google Cloud Storage,Gcsfuse,我试图在谷歌云中的GKE内的容器中装入一个桶,但我有以下错误。。。有什么想法吗 gcsfuse -o nonempty --foreground --debug_fuse --debug_fuse --debug_http --debug_invariants --key-file=credentials.json bucket-example /tmp/test 日志: modprobe保险丝 modprobe: ERROR: ../libkmod/libkmod.c:586 kmod_se

我试图在谷歌云中的GKE内的容器中装入一个桶,但我有以下错误。。。有什么想法吗

gcsfuse -o nonempty --foreground --debug_fuse --debug_fuse --debug_http --debug_invariants --key-file=credentials.json bucket-example /tmp/test
日志:

modprobe保险丝

modprobe: ERROR: ../libkmod/libkmod.c:586 kmod_search_moddep() could not open moddep file '/lib/modules/4.4.64+/modules.dep.bin'
modprobe: FATAL: Module fuse not found in directory /lib/modules/4.4.64+
uname-r

4.4.64+

谢谢

将securityContext添加到容器的yaml中:

    image: example:latest
    name: example-name
    securityContext:
      privileged: true
      capabilities:
        add:
          - SYS_ADMIN
    image: example:latest
    name: example-name
    securityContext:
      privileged: true
      capabilities:
        add:
          - SYS_ADMIN