medyagh / setup-minikube

official minikube github action, continuous integration test on Kubernetes cluster, test your code on a certified Kubernetes
https://minikube.sigs.k8s.io/docs/tutorials/setup_minikube_in_github_actions/
MIT License
96 stars 31 forks source link

bug: sample in the documentation/tutorial does not work as expected #29

Closed HarikrishnanBalagopal closed 4 months ago

HarikrishnanBalagopal commented 2 years ago

See https://github.com/kubernetes/minikube/issues/13595 for details

illume commented 2 years ago

hi.

I came across the same issue. The example is failing on the last line of the ".github/workflows/pr.yml" with curl.

        curl $(minikube service example --url)        

curl: (7) Failed to connect to 192.168.49.2 port 30600: Connection refused

medyagh commented 1 year ago

I think the problem is the service is not ready at the time, and need to wait for it first... one thing miinikube could do is do the wait for the user, we accept contributions to fix that

spowelljr commented 4 months ago

This should be resolved with https://github.com/medyagh/setup-minikube/pull/478