Skip to main content

Setiing up persistant storage using OpenEBS

Install iSCSI on all nodes

Refer: https://docs.openebs.io/docs/next/prerequisites.html

Install iSCSI tools is not installed

sudo apt-get update
sudo apt-get install open-iscsi
sudo systemctl enable --now iscsid

Check if iSCSI is running

sudo systemctl status iscsid

image-1621427648458.png

Set admin context

kubectl config set-context NAME [--cluster=cluster_nickname] [--user=user_nickname] [--namespace=namespace]
kubectl config set-context admin-ctx --cluster=kubernetes --user=techiterian-cluster-admin