You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

csi-controller-rclone.yaml 1.7 kB

1 year ago
1 year ago
1 year ago
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. # This YAML file contains attacher & csi driver API objects that are necessary
  2. # to run external CSI attacher for rclone
  3. kind: StatefulSet
  4. apiVersion: apps/v1
  5. metadata:
  6. name: csi-controller-rclone
  7. namespace: kube-system
  8. spec:
  9. serviceName: "csi-controller-rclone"
  10. replicas: 1
  11. selector:
  12. matchLabels:
  13. app: csi-controller-rclone
  14. template:
  15. metadata:
  16. labels:
  17. app: csi-controller-rclone
  18. spec:
  19. serviceAccountName: csi-controller-rclone
  20. containers:
  21. - name: csi-attacher
  22. #image: k8s.gcr.io/sig-storage/csi-attacher:v3.4.0
  23. image: registry.cn-hangzhou.aliyuncs.com/google_containers/csi-attacher:v3.4.0
  24. args:
  25. - "--v=5"
  26. - "--csi-address=$(ADDRESS)"
  27. - "--leader-election"
  28. env:
  29. - name: ADDRESS
  30. value: /csi/csi.sock
  31. imagePullPolicy: "Always"
  32. volumeMounts:
  33. - name: socket-dir
  34. mountPath: /csi
  35. - name: rclone
  36. image: dvcrn/csi-rclone-reloaded:v1.4.0
  37. image: 10.16.43.85:5010/csi-rclone-reloaded_arm64:v1.4.0
  38. args:
  39. - "/bin/csi-rclone-plugin"
  40. - "--nodeid=$(NODE_ID)"
  41. - "--endpoint=$(CSI_ENDPOINT)"
  42. env:
  43. - name: NODE_ID
  44. valueFrom:
  45. fieldRef:
  46. fieldPath: spec.nodeName
  47. - name: CSI_ENDPOINT
  48. value: unix://plugin/csi.sock
  49. imagePullPolicy: "Always"
  50. volumeMounts:
  51. - name: socket-dir
  52. mountPath: /plugin
  53. volumes:
  54. - name: socket-dir
  55. emptyDir: {}

本项目旨在将云际存储公共基础设施化,使个人及企业可低门槛使用高效的云际存储服务(安装开箱即用云际存储客户端即可,无需关注其他组件的部署),同时支持用户灵活便捷定制云际存储的功能细节。