The easiest way to run a local Kubernetes 'cluster' is to install k3d. This is a wrapper around k3s and runs everything in Docker.
On MacOS:
brew install k3d
Create the cluster with k3d create
and set the KUBECONFIG
environment variable as shown.
./flux-init.sh
Just delete the local cluster
k3d delete