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.
|
- # This YAML file contains attacher & csi driver API objects that are necessary
- # to run external CSI attacher for rclone
-
- kind: StatefulSet
- apiVersion: apps/v1
- metadata:
- name: csi-controller-rclone
- namespace: kube-system
- spec:
- serviceName: "csi-controller-rclone"
- replicas: 1
- selector:
- matchLabels:
- app: csi-controller-rclone
- template:
- metadata:
- labels:
- app: csi-controller-rclone
- spec:
- serviceAccountName: csi-controller-rclone
- containers:
- - name: csi-attacher
- #image: k8s.gcr.io/sig-storage/csi-attacher:v3.4.0
- image: registry.cn-hangzhou.aliyuncs.com/google_containers/csi-attacher:v3.4.0
- args:
- - "--v=5"
- - "--csi-address=$(ADDRESS)"
- - "--leader-election"
- env:
- - name: ADDRESS
- value: /csi/csi.sock
- imagePullPolicy: "Always"
- volumeMounts:
- - name: socket-dir
- mountPath: /csi
- - name: rclone
- image: dvcrn/csi-rclone-reloaded:v1.4.0
- image: 10.16.43.85:5010/csi-rclone-reloaded_arm64:v1.4.0
- args:
- - "/bin/csi-rclone-plugin"
- - "--nodeid=$(NODE_ID)"
- - "--endpoint=$(CSI_ENDPOINT)"
- env:
- - name: NODE_ID
- valueFrom:
- fieldRef:
- fieldPath: spec.nodeName
- - name: CSI_ENDPOINT
- value: unix://plugin/csi.sock
- imagePullPolicy: "Always"
- volumeMounts:
- - name: socket-dir
- mountPath: /plugin
- volumes:
- - name: socket-dir
- emptyDir: {}
|