Skip to content

Prequisites

Warning

Unfortunately this tutorial is tested only on Linux since the CSI driver only works on Linux. The tutorial should work on most distributions, as long as k3d supports it.

Install

Test k3d

k3d cluster create vault-k8s
k3d kubeconfig get vault-k8s > k3d-kubeconfig.yaml
export KUBECONFIG=$PWD/k3d-kubeconfig.yaml
kubectl get namespaces
# cleanup the test cluster and configs
k3d cluster delete vault-k8s
rm k3d-kubeconfig.yaml
unset KUBECONFIG