Skip to content
Snippets Groups Projects
Commit 5db012f1 authored by Nicolas Bouche's avatar Nicolas Bouche
Browse files

Update kube-jupyterhub.md

parent 0f084fc4
No related branches found
No related tags found
No related merge requests found
......@@ -34,7 +34,21 @@ version.BuildInfo{Version:"v3.5.0", GitCommit:"32c22239423b3b4ba6706d450bd044baf
### cinder volume
The creation of volumes required by a kubertenes app can achieved
if csi-cinder-controllerplugin + csi-cinder-nodeplugin pods are running
and if a dedicated storage class is created `storageclass.yaml`
and if a default storage class is created `storageclass.yaml`
```bash
kubectl apply -f sc-default.yaml
storageclass.storage.k8s.io/csi-sc-cinderplugin created
kubectl get storageclass
NAME PROVISIONER RECLAIMPOLICY VOLUMEBINDINGMODE ALLOWVOLUMEEXPANSION AGE
csi-sc-cinderplugin cinder.csi.openstack.org Delete Immediate false 62s
csi-sc-cinderplugin-dirty1 (default) cinder.csi.openstack.org Delete Immediate false 24h
kubectl patch storageclass csi-sc-cinderplugin -p '{"metadata": {"annotations":{"storageclass.kubernetes.io/is-default-class":"true"}}}'
storageclass.storage.k8s.io/csi-sc-cinderplugin patched
kubectl get storageclass
NAME PROVISIONER RECLAIMPOLICY VOLUMEBINDINGMODE ALLOWVOLUMEEXPANSION AGE
csi-sc-cinderplugin (default) cinder.csi.openstack.org Delete Immediate false 99s
csi-sc-cinderplugin-dirty1 (default) cinder.csi.openstack.org Delete Immediate false 24h
```
### volume node affinity conflict
```bash
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment