Java 11+, Docker
curl -s https://get.nextflow.io | bash
curl -LO https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64
sudo install minikube-linux-amd64 /usr/local/bin/minikube
# minikube cluster with two nodes, enable KEP 1287
minikube start --nodes 2 --feature-gates=InPlacePodVerticalScaling=true
# use csi-hostpath-driver instead of default host-path provisioner
minikube addons enable volumesnapshots
minikube addons enable csi-hostpath-driver
minikube addons disable storage-provisioner
minikube addons disable default-storageclass
kubectl patch storageclass csi-hostpath-sc -p '{"metadata": {"annotations":{"storageclass.kubernetes.io/is-default-class":"true"}}}'
# set up cluster
minikube kubectl -- apply -f k8s.yaml
# mount hostfolder into cluster
minikube mount /workspace/:/workspace/ &
# optional: view dashboard
minikube dashboard &
# start workflow
nextflow kuberun friederici/nf-memstress -r main -latest