Skip to content

SVC_UNREACHABLE #20948

Open
Open
@archequol

Description

@archequol

What Happened?

When I try to run:
minikube service model-service --url

An error showed up:
Exiting due to SVC_UNREACHABLE: service not available: no running pod for service model-service found

Attach the log file

Log file created at: 2025/06/17 17:09:04
Running on machine: DESKTOP-8C2R198
Binary: Built with gc go1.24.0 for windows/amd64
Log line format: [IWEF]mmdd hh:mm:ss.uuuuuu threadid file:line] msg
I0617 17:09:04.485456 21176 out.go:345] Setting OutFile to fd 124 ...
I0617 17:09:04.502578 21176 out.go:358] Setting ErrFile to fd 128...
W0617 17:09:04.513518 21176 root.go:314] Error reading config file at C:\Users\Acer.minikube\config\config.json: open C:\Users\Acer.minikube\config\config.json: The system cannot find the file specified.
I0617 17:09:04.514035 21176 mustload.go:65] Loading cluster: minikube
I0617 17:09:04.519682 21176 config.go:182] Loaded profile config "minikube": Driver=docker, ContainerRuntime=docker, KubernetesVersion=v1.33.1
I0617 17:09:04.523461 21176 cli_runner.go:164] Run: docker container inspect minikube --format={{.State.Status}}
I0617 17:09:04.578344 21176 host.go:66] Checking if "minikube" exists ...
I0617 17:09:04.580527 21176 cli_runner.go:164] Run: docker container inspect -f "'{{(index (index .NetworkSettings.Ports "8443/tcp") 0).HostPort}}'" minikube
I0617 17:09:04.627554 21176 api_server.go:166] Checking apiserver status ...
I0617 17:09:04.628104 21176 ssh_runner.go:195] Run: sudo pgrep -xnf kube-apiserver.minikube.
I0617 17:09:04.630340 21176 cli_runner.go:164] Run: docker container inspect -f "'{{(index (index .NetworkSettings.Ports "22/tcp") 0).HostPort}}'" minikube
I0617 17:09:04.671687 21176 sshutil.go:53] new ssh client: &{IP:127.0.0.1 Port:52895 SSHKeyPath:C:\Users\Acer.minikube\machines\minikube\id_rsa Username:docker}
I0617 17:09:04.791917 21176 ssh_runner.go:195] Run: sudo egrep ^[0-9]+:freezer: /proc/2431/cgroup
W0617 17:09:04.803802 21176 api_server.go:177] unable to find freezer cgroup: sudo egrep ^[0-9]+:freezer: /proc/2431/cgroup: Process exited with status 1
stdout:

stderr:
I0617 17:09:04.806448 21176 ssh_runner.go:195] Run: ls
I0617 17:09:04.811986 21176 api_server.go:253] Checking apiserver healthz at https://127.0.0.1:52899/healthz ...
I0617 17:09:04.829291 21176 api_server.go:279] https://127.0.0.1:52899/healthz returned 200:
ok
I0617 17:09:04.829291 21176 host.go:66] Checking if "minikube" exists ...
I0617 17:09:04.831947 21176 cli_runner.go:164] Run: docker container inspect -f "{{range .NetworkSettings.Networks}}{{.IPAddress}},{{.GlobalIPv6Address}}{{end}}" minikube
I0617 17:09:04.926165 21176 warnings.go:110] "Warning: v1 Endpoints is deprecated in v1.33+; use discovery.k8s.io/v1 EndpointSlice"
I0617 17:09:04.931593 21176 warnings.go:110] "Warning: v1 Endpoints is deprecated in v1.33+; use discovery.k8s.io/v1 EndpointSlice"
I0617 17:09:04.936974 21176 service.go:214] Found service: &Service{ObjectMeta:{ml-model-service default 687c43b2-4935-4459-a5f6-094659162efd 540 0 2025-06-17 17:08:55 +0800 +08 map[] map[kubectl.kubernetes.io/last-applied-configuration:{"apiVersion":"v1","kind":"Service","metadata":{"annotations":{},"name":"ml-model-service","namespace":"default"},"spec":{"ports":[{"port":8080,"protocol":"TCP","targetPort":5001}],"selector":{"app":"ml-model"},"type":"LoadBalancer"}}
] [] [] [{kubectl-client-side-apply Update v1 2025-06-17 17:08:55 +0800 +08 FieldsV1 {"f:metadata":{"f:annotations":{".":{},"f:kubectl.kubernetes.io/last-applied-configuration":{}}},"f:spec":{"f:allocateLoadBalancerNodePorts":{},"f:externalTrafficPolicy":{},"f:internalTrafficPolicy":{},"f:ports":{".":{},"k:{"port":8080,"protocol":"TCP"}":{".":{},"f:port":{},"f:protocol":{},"f:targetPort":{}}},"f:selector":{},"f:sessionAffinity":{},"f:type":{}}} }]},Spec:ServiceSpec{Ports:[]ServicePort{ServicePort{Name:,Protocol:TCP,Port:8080,TargetPort:{0 5001 },NodePort:31204,AppProtocol:nil,},},Selector:map[string]string{app: ml-model,},ClusterIP:10.111.105.110,Type:LoadBalancer,ExternalIPs:[],SessionAffinity:None,LoadBalancerIP:,LoadBalancerSourceRanges:[],ExternalName:,ExternalTrafficPolicy:Cluster,HealthCheckNodePort:0,PublishNotReadyAddresses:false,SessionAffinityConfig:nil,IPFamilyPolicy:*SingleStack,ClusterIPs:[10.111.105.110],IPFamilies:[IPv4],AllocateLoadBalancerNodePorts:*true,LoadBalancerClass:nil,InternalTrafficPolicy:*Cluster,TrafficDistribution:nil,},Status:ServiceStatus{LoadBalancer:LoadBalancerStatus{Ingress:[]LoadBalancerIngress{},},Conditions:[]Condition{},},}
I0617 17:09:04.939091 21176 host.go:66] Checking if "minikube" exists ...
I0617 17:09:04.941349 21176 cli_runner.go:164] Run: docker container inspect -f "{{range .NetworkSettings.Networks}}{{.IPAddress}},{{.GlobalIPv6Address}}{{end}}" minikube
I0617 17:09:04.992227 21176 warnings.go:110] "Warning: v1 Endpoints is deprecated in v1.33+; use discovery.k8s.io/v1 EndpointSlice"
I0617 17:09:05.005217 21176 out.go:201]
W0617 17:09:05.007967 21176 out.go:270] ❌ Exiting due to SVC_UNREACHABLE: service not available: no running pod for service ml-model-service found
W0617 17:09:05.009016 21176 out.go:270]
W0617 17:09:05.567149 21176 out.go:293] �[31m╭──────────────────────────────────────────────────────────────────────────────────────────────────────────╮�[0m
�[31m│�[0m �[31m│�[0m
�[31m│�[0m 😿 If the above advice does not help, please let us know: �[31m│�[0m
�[31m│�[0m 👉 https://github.com/kubernetes/minikube/issues/new/choose �[31m│�[0m
�[31m│�[0m �[31m│�[0m
�[31m│�[0m Please run minikube logs --file=logs.txt and attach logs.txt to the GitHub issue. �[31m│�[0m
�[31m│�[0m Please also attach the following file to the GitHub issue: �[31m│�[0m
�[31m│�[0m - C:\Users\Acer\AppData\Local\Temp\minikube_service_30bac49cea98dfedcb8391e7c91556e2c4955d9b_0.log �[31m│�[0m
�[31m│�[0m �[31m│�[0m
�[31m╰──────────────────────────────────────────────────────────────────────────────────────────────────────────╯�[0m
I0617 17:09:05.569711 21176 out.go:201]

Operating System

None

Driver

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions