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

[Documentation]: K8s tutorial cannot start with Minikube (error with port 3000) #141

Open
2 tasks done
orousseau49170 opened this issue Jan 31, 2025 · 2 comments
Open
2 tasks done
Labels
bug Something isn't working

Comments

@orousseau49170
Copy link
Contributor

Bug Description

When using Minikube to run the K8s tutorial with the current documentation (config.yaml), the curl command fails:

curl http://localhost:3000/upload
curl: (7) Failed to connect to localhost port 3000 after 0 ms: Couldn't connect to server

Expected Behavior

After a debug session with @noMoreCLI , we found that Minikube does not expose the LoadBalancer type by default

kubectl get services:
frontend-ext LoadBalancer 10.99.89.91 3000:30169/TCP 15h

As described in the documentation, you have to start a tunnel to expose it:
https://minikube.sigs.k8s.io/docs/handbook/accessing/

Just start a tunnel in another terminal:
minikube tunnel

I suggest to add a comment in the Readme documentation:

If you use Minikube, don't forget to start a tunnel to expose the LoadBalancer service

Affected Version

v1.0.0

Steps to Reproduce

use the kubernetes quick start scenario with Minikube

Checklist

@orousseau49170 orousseau49170 added bug Something isn't working triage This issue or pull request requires triaging labels Jan 31, 2025
@svrnm svrnm removed the triage This issue or pull request requires triaging label Feb 5, 2025
@svrnm
Copy link
Member

svrnm commented Feb 5, 2025

thanks @orousseau49170! Maybe we create a TROUBLESHOOTING.md file and store information like this one in it and point to it from the different docs, what do you think?

@orousseau49170
Copy link
Contributor Author

orousseau49170 commented Feb 5, 2025 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants