I am attempting to run compose up and am running the following command sudo kompose up --push-image=false --verbose
kompose builds all the containers successfully but right at the very end throws this error:
FATA Error while deploying application: Get https://127.0.0.1:6443/api: dial tcp 127.0.0.1:6443: connect: connection refused
I have even run kubectl proxy
but this didn't fix the problem, can anyone please help?
EDIT: To clarify I am using minikube, it is running in the background but Kompose still doesn't work.