How to mock the Kubernetes cluster/server? How to mock the Kubernetes cluster/server? kubernetes kubernetes

How to mock the Kubernetes cluster/server?


Not really a direct answer to your question, but most solutions i have seen implemented are not trying to mock the k8s API but are really using it through either k3s (from rancher labs) or KinD project (official way)

You then connect to it like a normal kubernetes cluster