kubernetes-app
kubernetes-app copied to clipboard
Can someone give the detail steps for creating new cluster
HI All,
Can someone please send the documentation for creating a new cluster, bcoz after i click on new cluster and fill in the details i am stuck, i get error like datasource name already exists, 404 http error etc...
Would be really helpful if someone has a documentation for this.Also would request the grafana team to please update it.
@hegdedarsh i am having a similar issue, but i have already added my first cluster without issue, now im having issues finding any good documentation on adding a second cluster, and everything i try seems to fail in some way.
Anyone have good docs on adding multiple clusters?
anyways, @hegdedarsh , grab the certificates and keys from your ~/.kube/config file, and then do this:
echo 'LS0tLS1CRUd..very-long-string..FWS0tLS0tCg==' | base64 -d ;echo.
Then the attached image should be able to help you the rest of the way. Pay attention to all the red arrows.

here is some info on adding more clusters: https://github.com/grafana/kubernetes-app/issues/48#issuecomment-435956771
@hegdedarsh i am having a similar issue, but i have already added my first cluster without issue, now im having issues finding any good documentation on adding a second cluster, and everything i try seems to fail in some way.
Anyone have good docs on adding multiple clusters?
anyways, @hegdedarsh , grab the certificates and keys from your
~/.kube/configfile, and then do this:echo 'LS0tLS1CRUd..very-long-string..FWS0tLS0tCg==' | base64 -d ;echo.Then the attached image should be able to help you the rest of the way. Pay attention to all the red arrows.
I have created my cluster in EKS . In my .kube/config i have only clusters.cluster.server and clusters.cluster.certificate-authority-data data. Other data is not available in the config file. Can you please help me weather i miss something in the setup or how to connect to the cluster. Can you please elaborate the steps.
Thanks @cbluth for sharing this. I couldn't find any other instructions to configure the app. I have simple shell script to base64 decode from kubectl/config.
#CA Cert
cat ~/.kube/config | grep certificate-authority-data | cut -d ' ' -f 6 | base64 -d
#Client Cert
cat ~/.kube/config | grep client-certificate-data | cut -d ' ' -f 6 | base64 -d
#Client Key
cat ~/.kube/config | grep client-key-data | cut -d ' ' -f 6 | base64 -d
I wondering what I should input into URL field under HTTP section.
thank for your help
figured it out: it's the cluster endpoint URL