sc.yaml 872 B

1234567891011121314151617181920212223
  1. storageClasses:
  2. - name: juicefs-sc
  3. enabled: true
  4. reclaimPolicy: Retain
  5. # JuiceFS 文件系统认证信息
  6. # 如果已经提前创建好文件系统,则只需填写 `name` 和 `metaurl` 这两项
  7. backend:
  8. name: "<name>" # JuiceFS 文件系统名
  9. metaurl: "<meta-url>" # 元数据引擎的 URL
  10. storage: "<storage-type>" # 对象存储类型 (例如 s3、gcs、oss、cos)
  11. accessKey: "<access-key>" # 对象存储的 Access Key
  12. secretKey: "<secret-key>" # 对象存储的 Secret Key
  13. bucket: "<bucket>" # 存储数据的桶路径
  14. # 设置 Mount Pod 时区,默认为 UTC。
  15. # envs: "{TZ: Asia/Shanghai}"
  16. mountPod:
  17. resources: # Mount pod 的资源配置
  18. requests:
  19. cpu: "1"
  20. memory: "1Gi"
  21. limits:
  22. cpu: "5"
  23. memory: "5Gi"