Closed xetys closed 5 years ago
With this, hetzner-kube retrieves an addon that enables the usage of Hetzner CSI driver in your cluster.
Run
$ hetzner-kube cluster addon install hetzner-csi -n <my-cluster>
and then you can test the storage support by
apiVersion: v1 kind: PersistentVolumeClaim metadata: name: csi-pvc spec: accessModes: - ReadWriteOnce resources: requests: storage: 10Gi storageClassName: hcloud-volumes --- kind: Pod apiVersion: v1 metadata: name: my-csi-app spec: containers: - name: my-frontend image: busybox volumeMounts: - mountPath: "/data" name: my-csi-volume command: [ "sleep", "1000000" ] volumes: - name: my-csi-volume persistentVolumeClaim: claimName: csi-pvc
With this, hetzner-kube retrieves an addon that enables the usage of Hetzner CSI driver in your cluster.
Run
and then you can test the storage support by