Difference between revisions of "Openebs"

From UVOO Tech Wiki
Jump to navigation Jump to search
Line 8: Line 8:
 
sudo microk8s enable openebs
 
sudo microk8s enable openebs
 
watch sudo microk8s kubectl get pod -n openebs
 
watch sudo microk8s kubectl get pod -n openebs
 +
kubectl patch storageclass openebs-jiva-default -p '{"metadata": {"annotations":{"storageclass.kubernetes.io/is-default-class":"true"}}}'
 +
kubectl patch storageclass microk8s-hostpath -p '{"metadata": {"annotations":{"storageclass.kubernetes.io/is-default-class":"false"}}}'
 
```
 
```
  

Revision as of 21:12, 16 June 2021

Ubuntu Microk8s

sudo systemctl status iscsid
sudo systemctl enable --now iscsid
sudo microk8s enable openebs
watch sudo microk8s kubectl get pod -n openebs
kubectl patch storageclass openebs-jiva-default -p '{"metadata": {"annotations":{"storageclass.kubernetes.io/is-default-class":"true"}}}'
kubectl patch storageclass microk8s-hostpath -p '{"metadata": {"annotations":{"storageclass.kubernetes.io/is-default-class":"false"}}}'

https://microk8s.io/docs/addon-openebs

https://docs.openebs.io/v110/docs/next/jivaguide.html

https://docs.openebs.io/#:~:text=OpenEBS%20creates%20a%20Micro%2Dservice,%2D%20Mayastor%2C%20cStor%20or%20Jiva.&text=When%20the%20node%20running%20the,data%20copies%20on%20other%20nodes.

https://docs.openebs.io/docs/next/ugndm.html

https://www.portainer.io/blog/portainer-on-microk8s-openebs-metallb-and-ingress

https://docs.openebs.io/docs/next/jivaguide.html#create-a-pool