Skip to content
This repository has been archived by the owner on Mar 19, 2021. It is now read-only.

Can someone give the detail steps for creating new cluster #46

Open
hegdedarsh opened this issue Oct 12, 2018 · 5 comments
Open

Can someone give the detail steps for creating new cluster #46

hegdedarsh opened this issue Oct 12, 2018 · 5 comments

Comments

@hegdedarsh
Copy link

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.

@cbluth
Copy link

cbluth commented Nov 5, 2018

@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.

image

@cbluth
Copy link

cbluth commented Nov 6, 2018

here is some info on adding more clusters: #48 (comment)

@shashikant-koder
Copy link

shashikant-koder commented Nov 9, 2018

@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.

image

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.

@nvenky
Copy link

nvenky commented Nov 13, 2018

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

@bobbui
Copy link

bobbui commented Nov 15, 2018

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants