Comments (5)
Hello again.
I just found how to resolve this issue by my self, so here are the steps:
- (Just to make sure) You have to ensure you have a Service Account with a valid ClusterRole attached to your grafana deployment
- Give that SA (Service account) the perms needed to call api and get info about the cluster and other elements
- Go to your google cloud console and get into the Clusters section in gke
- Open your desired cluster and click at show credentias (at the right side of endpoint address)
- Get your user/password combination
- Go to grafana and get to your cluster by the datasources path (datasources --> your cluster) if created or at the kubernetes-app create one, then place the cluster IP (the one you get with kubectl get services) in this way: https://yout-cluster-ip:443 with proxy access mode, then check skip tls verification and basic auth using your user/password combination there.
- Maybe data doesn't displays because prometheus config doesn't deploy well, so just get to your cluster config (at the kubernetes app) and at the bottom you will find a configuring prometheus link, click it and then add that jobs (don't replace all the scrape'configs, just add that ones as new ones) to the file, changing jobs names in case they conflict with anothers you have at the same file (deployment will always restart if this happens, so just check logs).
Please try it out and comment again with the close option in case this solved your issue aswell so we are sure it works. Hope this helps you and anothers with the same problem.
from kubernetes-app.
Hello.
Yes, struggling with the same. Not quite sure if I understand where to get the cluster http url but I'm running the grafana/prometheus under the same k8s cluster. Would be very glad if you can add some more detailed instruction on how to configure kubernetes data source.
from kubernetes-app.
@LKO124 how i create credentias on the independent kubernetes cluster to be used the on the Service Accoun ?
from kubernetes-app.
manage to install on a independent kubernetes , used TLS Client Auth and With CA Cert .
from kubernetes-app.
Hello, I'm using the private cluster in GKE, so each Node
only has private IP. Is it possible setup proxy to connect to Master Node?
from kubernetes-app.
Related Issues (20)
- InfluxDB/Telegraf Support
- Panel Plugin missing for grafana-kubernetes-app plugin HOT 2
- node_filesystem variable outdate HOT 1
- Adding datasource prometheus in grafana HTTP Error Not Found
- Error while initializing promtheus configmap, Node Exporter and Kube-State Metrics via Grafana
- New version of kube-state-metrics shows deprecations upcoming which are used in k8s-cluster dashboard
- Install command is wrong in https://grafana.com/grafana/plugins/grafana-kubernetes-app HOT 1
- public/plugins/grafana-kubernetes-datasource/img/logo.svg not found
- No Data Points Collected After Successful Deployment? HOT 3
- Memory Metrics are doubled Grafana HOT 1
- Is this app abandoned? HOT 5
- Why does this plugin ask me for user/passwd (basic auth)?
- Add a new cluster only gives Basic auth option HOT 1
- How to configure kubernetes cluster HOT 5
- Datasource is hardcoded for `v1beta1` api HOT 3
- invalid documentation
- Grafana not showing Pod/Container name in dashboard
- Connecting to K8s cluster HOT 1
- Pod filtering panel broken HOT 1
- Unsigned external plugin HOT 1
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 kubernetes-app.