You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Assume we have 2 independent kubernetes clusters. Lets say we create 2 clusters using Kind named Kind-K8sGPT and another Kind-App
Now
I deploy k8sgpt using operator on Kind-K8sGPT cluster
I deploy my sample demo application in the Kind-App cluster
I follow Monitor multiple clusters, idea and configure Kind-App cluster's kubeconfig as a secret in Kind-K8sGPT cluster.
Expectation: k8sgpt in Kind-K8sGPT cluster should be able to analyze Kind-App cluster and provide the results when I query "kubectl get results -o json -n k8sgpt | jq ."
Is this supposed to work?
I tried this, but it failed.
I see the below errors in the logs
{"level":"info","ts":1711620947.095757,"caller":"server/server.go:68","msg":"binding api to 8080"} {"level":"info","ts":1711620947.0958636,"caller":"server/server.go:83","msg":"binding metrics to 8081"} Error initialising kubernetes client: Get "https://***.**.*.*:443/version": dial tcp ***.**.*.*:443: i/o timeout {"level":"info","ts":1711621006.1122108,"caller":"server/log.go:50","msg":"request failed. Get \"https://***.**.*.*:443/version\": dial tcp ***.**.*.*:443: i/o timeout","duration_ms":30028,"method":"/schema.v1.ServerService/Analyze","request":"backend:\"localai\" anonymize:true language:\"english\" max_concurrency:10 output:\"json\"","remote_addr":"**.**.*.*:51936","status_code":2} Error initialising kubernetes client: Get "https://***.**.*.*:443/version": dial tcp ***.**.*.*:443: i/o timeout {"level":"info","ts":1711621036.158368,"caller":"server/log.go:50","msg":"request failed. Get \"https://***.**.*.*:443/version\": dial tcp ***.**.*.*:443: i/o timeout","duration_ms":30030,"method":"/schema.v1.ServerService/Analyze","request":"backend:\"localai\" anonymize:true language:\"english\" max_concurrency:10 output:\"json\"","remote_addr":"**.**.*.*:50820","status_code":2} Error initialising kubernetes client: Get "https://***.**.*.*:443/version": dial tcp ***.**.*.*:443: i/o timeout {"level":"info","ts":1711621066.2082016,"caller":"server/log.go:50","msg":"request failed. Get \"https://***.**.*.*:443/version\": dial tcp ***.**.*.*:443: i/o timeout","duration_ms":30028,"method":"/schema.v1.ServerService/Analyze","request":"backend:\"localai\" anonymize:true language:\"english\" max_concurrency:10 output:\"json\"","remote_addr":"**.**.*.*:57588","status_code":2} Error initialising kubernetes client: Get "https://***.**.*.*:443/version": dial tcp ***.**.*.*:443: i/o timeout {"level":"info","ts":1711621096.2409728,"caller":"server/log.go:50","msg":"request failed. Get \"https://***.**.*.*:443/version\": dial tcp ***.**.*.*:443: i/o timeout","duration_ms":30001,"method":"/schema.v1.ServerService/Analyze","request":"backend:\"localai\" anonymize:true language:\"english\" max_concurrency:10 output:\"json\"","remote_addr":"**.**.*.*:48490","status_code":2} Error initialising kubernetes client: Get "https://***.**.*.*:443/version": dial tcp ***.**.*.*:443: i/o timeout
The text was updated successfully, but these errors were encountered:
Assume we have 2 independent kubernetes clusters. Lets say we create 2 clusters using Kind named Kind-K8sGPT and another Kind-App
Now
Expectation: k8sgpt in Kind-K8sGPT cluster should be able to analyze Kind-App cluster and provide the results when I query "kubectl get results -o json -n k8sgpt | jq ."
Is this supposed to work?
I tried this, but it failed.
I see the below errors in the logs
{"level":"info","ts":1711620947.095757,"caller":"server/server.go:68","msg":"binding api to 8080"} {"level":"info","ts":1711620947.0958636,"caller":"server/server.go:83","msg":"binding metrics to 8081"} Error initialising kubernetes client: Get "https://***.**.*.*:443/version": dial tcp ***.**.*.*:443: i/o timeout {"level":"info","ts":1711621006.1122108,"caller":"server/log.go:50","msg":"request failed. Get \"https://***.**.*.*:443/version\": dial tcp ***.**.*.*:443: i/o timeout","duration_ms":30028,"method":"/schema.v1.ServerService/Analyze","request":"backend:\"localai\" anonymize:true language:\"english\" max_concurrency:10 output:\"json\"","remote_addr":"**.**.*.*:51936","status_code":2} Error initialising kubernetes client: Get "https://***.**.*.*:443/version": dial tcp ***.**.*.*:443: i/o timeout {"level":"info","ts":1711621036.158368,"caller":"server/log.go:50","msg":"request failed. Get \"https://***.**.*.*:443/version\": dial tcp ***.**.*.*:443: i/o timeout","duration_ms":30030,"method":"/schema.v1.ServerService/Analyze","request":"backend:\"localai\" anonymize:true language:\"english\" max_concurrency:10 output:\"json\"","remote_addr":"**.**.*.*:50820","status_code":2} Error initialising kubernetes client: Get "https://***.**.*.*:443/version": dial tcp ***.**.*.*:443: i/o timeout {"level":"info","ts":1711621066.2082016,"caller":"server/log.go:50","msg":"request failed. Get \"https://***.**.*.*:443/version\": dial tcp ***.**.*.*:443: i/o timeout","duration_ms":30028,"method":"/schema.v1.ServerService/Analyze","request":"backend:\"localai\" anonymize:true language:\"english\" max_concurrency:10 output:\"json\"","remote_addr":"**.**.*.*:57588","status_code":2} Error initialising kubernetes client: Get "https://***.**.*.*:443/version": dial tcp ***.**.*.*:443: i/o timeout {"level":"info","ts":1711621096.2409728,"caller":"server/log.go:50","msg":"request failed. Get \"https://***.**.*.*:443/version\": dial tcp ***.**.*.*:443: i/o timeout","duration_ms":30001,"method":"/schema.v1.ServerService/Analyze","request":"backend:\"localai\" anonymize:true language:\"english\" max_concurrency:10 output:\"json\"","remote_addr":"**.**.*.*:48490","status_code":2} Error initialising kubernetes client: Get "https://***.**.*.*:443/version": dial tcp ***.**.*.*:443: i/o timeout
The text was updated successfully, but these errors were encountered: