xetys / hetzner-kube

A CLI tool for provisioning kubernetes clusters on Hetzner Cloud
Apache License 2.0
745 stars 116 forks source link

hetzner-kube cluster addon install openebs fails: storageclasses.storage.k8s.io "openebs-standard" not found #283

Open Steinblock opened 5 years ago

Steinblock commented 5 years ago

See the console output

hetzner-kube cluster addon install --name cluster-name openebs
2019/06/17 09:43:20 installing addon openebs
Enter passphrase for SSH key /home/user/.ssh/id_rsa:
2019/06/17 09:43:30 run failed
command:kubectl delete -f openebs-storageclass.yaml && kubectl apply -f openebs-storageclass.yaml
stdout:Error from server (NotFound): error when deleting "openebs-storageclass.yaml": storageclasses.storage.k8s.io "openebs-standard" not found

I think the kubectl delete -f openebs-storageclass.yaml needs an --ignore-not-found=true

dsteinberg111 commented 5 years ago

I run into the same problem. after I cleaned up everything from that broken install I took the standard helm-chart

helm install --namespace openebs -n openebs stable/openebs

tholu commented 4 years ago

I'm still running into this error with Kubernetes v1.16.3 on latest hetzner-kube.

@dsteinberg111 How did you do the cleanup?