prometheus-operator on Minikube / Accessing services #1068
Replies: 3 comments
-
Hey, it looks like you only missed the nodePort field on your port 🙂 E.g.:
Or you could just change the service type:
You can always find out why services didn't start with the command: |
Beta Was this translation helpful? Give feedback.
-
Hey, thanks for your answer, but unfortunately it is still not working. The service is actually starting, I just cannot access it (e.g. in a browser). This is the output of
If I try to wget the service from another pod, I get this output as example:
Then I start the kube-prometheus, delete and start the service again and wget gives me (with the new assigned service-IP):
But you think, this should work, right? Then maybe this is a bug?? What I tried so far is:
|
Beta Was this translation helpful? Give feedback.
-
Now it is getting strange. So far I was running minikube on Windows 10. I tried the exact same configuration with a minikube on debian -- and it works. The services are still accessible after starting kube-prometheus. Both were running on |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
First of all, I am a complete Newbie in K8s / Prometheus, and it seems I am doing something terribly wrong. I did the setup of the prometheus-operator as described in 'Quickstart', now I can access the dashboards, but I cannot access my own services anymore. I applied this minimal example:
Then:
minikube service nginxserverservice --url
The service is not available. Then I type:
kubectl delete -f manifests/
Now I can access the service again. I'm pretty sure this is not a bug (right?), because it is such a minimal example. But what am I doing wrong? (Again, I'm a complete newbie, just wanted to play around a bit with Prometheus, I already read the complete README.md, but nothing useful there ..)
Beta Was this translation helpful? Give feedback.
All reactions