I need to be able to execute some Python code that would:
I was having troubles finding the way to run Kubernetes in a container. It shouldn't be anything advanced, just for test purposes.
Use Kind instead of Minikube. These articles may help you.