kubernetes / minikube

Run Kubernetes locally
https://minikube.sigs.k8s.io/
Apache License 2.0
29.37k stars 4.88k forks source link

X Exiting due to SVC_UNREACHABLE: service not available: no running pod for service hello-minikube found #18960

Open ericfgsilva opened 5 months ago

ericfgsilva commented 5 months ago

What Happened?

X Exiting due to SVC_UNREACHABLE: service not available: no running pod for service hello-minikube found

Attach the log file

minikube_service_21d8563976e47bf64cb9b34a91838dfc5dd2eb5c_0.log

Operating System

Windows

Driver

Hyper-V

BerkAkipek commented 4 months ago

Hey same problem in here there is my service file and compiled successfuly. apiVersion: v1 kind: Service metadata: name: go-rest-api-service spec: selector: app: go-rest-api type: LoadBalancer ports:

BerkAkipek commented 4 months ago

Hey my friend i solved this issue now i changed targetPort to 8080 which is exposed port from my backend. Be sure to your exposed ports

k8s-triage-robot commented 1 month ago

The Kubernetes project currently lacks enough contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

You can:

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

k8s-triage-robot commented 5 days ago

The Kubernetes project currently lacks enough active contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

You can:

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle rotten