This is for EKS or similar users who doesn’t need to log into each host to install ‘ISCSI’ individually.
Test steps:
- Create an EKS cluster with 3 nodes.
- Run the following command to install iscsi on every nodes.
kubectl apply -f https://raw.githubusercontent.com/longhorn/longhorn/master/deploy/iscsi/longhorn-iscsi-installation.yaml
- In Longhorn Manager Repo Directory run:
kubectl apply -Rf ./deploy/install/
- Longhorn should be able installed successfully.
- Try to create a pod with a pvc:
kubectl apply -f https://raw.githubusercontent.com/longhorn/longhorn/master/examples/simple_pvc.yaml
kubectl apply -f https://raw.githubusercontent.com/longhorn/longhorn/master/examples/simple_pod.yaml
- Check the pod is created successfully with a valid Longhorn volume mounted.