Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

failed to deploy first demo kube #20125

Closed
shlomi-bt opened this issue Dec 17, 2024 · 1 comment
Closed

failed to deploy first demo kube #20125

shlomi-bt opened this issue Dec 17, 2024 · 1 comment

Comments

@shlomi-bt
Copy link

What Happened?

hi, tried to follow Jeff Geerling lesson, implementing first step, couldn't connect to my pod:
minikube service hello-k8s
|-----------|-----------|-------------|-----------------------------|
| NAMESPACE | NAME | TARGET PORT | URL |
|-----------|-----------|-------------|-----------------------------|
| default | hello-k8s | 80 | http://192.168.39.168:31611 |
|-----------|-----------|-------------|-----------------------------|

❌ Exiting due to SVC_UNREACHABLE: service not available: no running pod for service hello-k8s found

╭───────────────────────────────────────────────────────────────────────────────────────────╮
│ │
│ 😿 If the above advice does not help, please let us know: │
│ 👉 https://github.com/kubernetes/minikube/issues/new/choose
│ │
│ Please run minikube logs --file=logs.txt and attach logs.txt to the GitHub issue. │
│ Please also attach the following file to the GitHub issue: │
│ - /tmp/minikube_service_bcbec5d70f3a86265397a51549595afbe67b6e1e_0.log │
│ │
╰───────────────────────────────────────────────────────────────────────────────────────────╯

Attach the log file

minikube_service_bcbec5d70f3a86265397a51549595afbe67b6e1e_0.log

Operating System

Ubuntu

Driver

KVM2

@shlomi-bt
Copy link
Author

HI,
after lot's of ... found the simple solution that made it all go wrong:
sudo chmod 777 /var/run/docker.sock or if you choose to be a bit more as 666.
restart minikube
delete the deployment
create the deployment again
redo the steps and now it works.
thanks,
Shlomi.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant