Difference between revisions of "Openebs"

From UVOO Tech Wiki
Jump to navigation Jump to search
Line 6: Line 6:
 
sudo systemctl status iscsid
 
sudo systemctl status iscsid
 
sudo systemctl enable --now iscsid
 
sudo systemctl enable --now iscsid
sudo microk8s enable openebs
+
sudo microk8s dns ingress rbac 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 openebs-jiva-default -p '{"metadata": {"annotations":{"storageclass.kubernetes.io/is-default-class":"true"}}}'

Revision as of 23:29, 18 June 2021

Ubuntu Microk8s

sudo systemctl status iscsid
sudo systemctl enable --now iscsid
sudo microk8s dns ingress rbac 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"}}}'

Example