Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adds Hetzner CSI addon #291

Merged
merged 1 commit into from
Nov 9, 2019
Merged

adds Hetzner CSI addon #291

merged 1 commit into from
Nov 9, 2019

Conversation

xetys
Copy link
Owner

@xetys xetys commented Nov 9, 2019

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

@xetys xetys self-assigned this Nov 9, 2019
@xetys xetys added this to the 0.5 milestone Nov 9, 2019
@xetys xetys merged commit 4055cf5 into master Nov 9, 2019
@mavimo mavimo deleted the hetzner-csi-addon branch November 9, 2019 16:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant