Comments (9)
Thanks! This issue is resolved.
from kube-prometheus.
Actually your setup looks good, you just need to create the services in manifests/k8s/self-hosted/
. That should work, but you may also want to update to the latest versions of the manifests as the configuration is now generated by the Prometheus Operator, so no manual configuration maintenance necessary anymore 🎉 🙂 .
Just as a reminder the content of this repo has moved to the Prometheus Operator repository. We can solve this issue here, but future issues should be opened there (feel free to tag those with [kube-prometheus]
).
from kube-prometheus.
Creating services from manifests/k8s/self-hosted/
almost solves this issue, thanks @brancz !
"almost" because in Kargo Schduler has k8s-app=kube-controller
label instead of excepted by manifests k8s-app=kube-controller-manager
:
https://github.com/kubernetes-incubator/kargo/blob/dbf1329/roles/kubernetes/master/templates/manifests/kube-controller-manager.manifest.j2#L7
Is this Kargo bug? Or there is no "standard" on those labels?
from kube-prometheus.
As both bootkube and kops have the k8s-app=kube-controller-manager
label I think this should be adapted in kargo. (as far as I can tell the manifests in kubernetes/kubernetes also use kube-controller-manager
)
from kube-prometheus.
Unfortunately there is no standard on those labels yet, it's on my list to start pushing for them.
from kube-prometheus.
For the reference: kubernetes-retired/contrib#2420 (comment)
from kube-prometheus.
@brancz thanks, I opened issue on Kargo.
Have you opened ticket on the Kubernetes repo to introduce some standard regarding labels?
from kube-prometheus.
Quite literally opened it seconds ago 🙂 . Let's see how it goes.
from kube-prometheus.
Thanks for reminding me to open that issue! 😁 Let's hope we'll get something good out of it.
from kube-prometheus.
Related Issues (20)
- Error in grafonnet HOT 1
- upgrade node-exporter to v1.8.0 HOT 1
- Grafana not reachable after setup
- example dashboards use angular which is depreciated in grafana HOT 2
- kubernetes-system-kube-proxy rule group missing from manifests/kubernetesControlPlane-prometheusRule.yaml
- How to monitor nacos in k8s HOT 1
- Failed to watch *v1.Endpoints: failed to list *v1.Endpoints: endpoints is forbidden: User \"system:serviceaccount:monitoring:prometheus-k8s\" cannot list resource \"endpoints\" in API group \"\" in the namespace \"aicloud\"" ts=2024-06-05T10:58:52.329Z caller=klog.go:108 level=warn component=k8s_client_runtime func=Warningf msg="pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:169: failed to list *v1.Service: services is forbidden: User \"system:serviceaccount:monitoring:prometheus-k8s\" cannot list resource \"services\" in API group \"\" in the namespace \"aicloud\"" ts=2024-06-05T10:58:52.329Z caller=klog.go:116 level=error component=k8s_client_runtime func=ErrorDepth msg="pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:169: Failed to watch *v1.Service: failed to list *v1.Service: services is forbidden: User \"system:serviceaccount:monitoring:prometheus-k8s\"
- The release name is not prefixed to the StatefulSet and Service for Alertmanager and Prometheus Operator. HOT 1
- prometheus-k8s-0 keep Terminating ? HOT 2
- I have some questions when add TLS certification to alertmanager HOT 1
- simple installation using kind is failing as metadata.annotation is too long HOT 1
- How to override startup args for prometheus server
- How to override startup args for prometheus server
- pod alertmanager-main-* prometheus-k8s-* always Terminating
- building v0.13.0 is missing mixin-utils/utils.libsonnet HOT 4
- why the rule "cluster_verb_scope_le:apiserver_request_sli_duration_seconds_bucket:increase1h" does not add {job="apiserver"} HOT 1
- Exposing prometheus via Ingress documentation is incomplete HOT 1
- New release 0.14. HOT 2
- etcdDatabaseHighFragmentationRatio should change default rule HOT 2
- Support installing/configuring metrics-server
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kube-prometheus.