stefanprodan / k8s-scw-baremetal

Kubernetes installer for Scaleway bare-metal AMD64 and ARMv7
MIT License
177 stars 58 forks source link

Default storageclass volume missing #49

Open ekandreas opened 5 years ago

ekandreas commented 5 years ago

When i provision these scripts from scratch the k8s environment missing a default storageclass for automatic volume claim. So when using a simple helm install like mysql it will be stucked on mounting a volume. Any clue how to get pass that issue?

stephenmoloney commented 5 years ago

What I do is:

  1. install isci
  2. deploy openebs helm chart
  3. Create openebs storage pool resource
  4. Create openebs storageclass

Openebs docs can help with it.

I haven't got around to making a PR for this because it's part of a more elaborate deployment strategy but the strategy above does work nicely.

I haven't looked into local volumes but maybe that's a possibility too. https://kubernetes.io/docs/concepts/storage/storage-classes/#local

Another thing to note, is that with the DSSD volumes (C2L) instances, I observed much better performance. An additional step is required if using C2L local SSD which is to mount the DSSD local disk.

CarlQLange commented 5 years ago

@stephenmoloney Do you have a blog post or other instructions on how to do this? Sounds very useful.