For development, it can be convenient to run Kubernetes locally. A popular option that is used throughout Helidon documentation is Docker Desktop, which includes support for Kubernetes.

You can also use minikube for local development, though you will have to adapt any Docker Desktop-specific instructions for minikube.

For instructions on how to install and configure Docker Desktop for your platform, see the following Docker documentation:

After you install Docker Desktop, see Explore the Kubernetes view in the Docker documentation for guidance on enabling and using Kubernetes in Docker Desktop.

Docker Desktop for Linux does not include kubectl by default. See Install and Set Up kubectl on Linux in the Kubernetes documentation.

If you get errors when running kubectl commands, make sure the Kubernetes context is set to docker-desktop.

Make sure Kubernetes context is set to docker-desktop
kubectl config get-contexts
kubectl config use-context docker-desktop
kubectl cluster-info
kubectl version
kubectl get nodes
Copied