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
❯ kubectl get results -o json | jq .
{
"apiVersion": "v1",
"items": [
{
"apiVersion": "core.k8sgpt.ai/v1alpha1",
"kind": "Result",
"spec": {
"details": "The error message means that the service in Kubernetes doesn't have any associated endpoints, which should have been labeled with \"control-plane=controller-manager\". \n\nTo solve this issue, you need to add the \"control-plane=controller-manager\" label to the endpoint that matches the service. Once the endpoint is labeled correctly, Kubernetes can associate it with the service, and the error should be resolved.",
I execute the installation of the chart, create the secret with OPENAI_TOKEN declared and apply the K8sGPT CR, create a broken-pod as in the CLI example and when running the command to generate the CR results I receive a blank Json, when querying the results CR in the cluster through kubectl get results -A I receive an empty list. I configured the CLI with the same OPENAI_TOKEN and when I run k8sgpt analyze --explain I get the correct response, apparently no log or warn is displayed indicating any configuration problem with the operator pods, I would like to know what would be the next step to be able to perform the installation of the k8sgpt operato, I am available for any clarification! Below is a describe of the deployment applied by helm:
I have the same issue after following the instructions in the README. No result is generated at all. Both k8sgpt and operator show no errors or warnings. Only log infos as below:
manager 2024-08-25T08:26:13Z INFO k8sgpt-controller starting InitStep
manager 2024-08-25T08:26:13Z INFO k8sgpt-controller ending InitStep
manager 2024-08-25T08:26:13Z INFO k8sgpt-controller starting FinalizerStep
manager 2024-08-25T08:26:13Z INFO k8sgpt-controller ending FinalizerStep
manager 2024-08-25T08:26:13Z INFO k8sgpt-controller starting ConfigureStep
manager 2024-08-25T08:26:13Z INFO k8sgpt-controller ending ConfigureStep
manager 2024-08-25T08:26:13Z INFO k8sgpt-controller starting PreAnalysisStep
manager Creating new client for 10.96.145.231:8080
manager 2024-08-25T08:26:13Z INFO k8sgpt-controller K8sGPT address: 10.96.145.231:8080
manager
manager Connection established between 10.96.145.231:8080 and localhost with time out of 1 seconds.
manager Remote Address : 10.96.145.231:8080
manager 2024-08-25T08:26:13Z INFO k8sgpt-controller ending PreAnalysisStep
manager 2024-08-25T08:26:13Z INFO k8sgpt-controller starting AnalysisStep
manager 2024-08-25T08:26:13Z INFO k8sgpt-controller ending AnalysisStep
manager 2024-08-25T08:26:13Z INFO k8sgpt-controller starting ResultStatusStep
manager Finished Reconciling k8sGPT
I've also disabled backOff as suggested. No difference
Checklist
Affected Components
K8sGPT Version
v0.3.8
Kubernetes Version
v1.28.9-eks-036c24b
Host OS and its Version
No response
Steps to reproduce
Expected behaviour
Actual behaviour
Additional Information
I execute the installation of the chart, create the secret with OPENAI_TOKEN declared and apply the K8sGPT CR, create a broken-pod as in the CLI example and when running the command to generate the CR results I receive a blank Json, when querying the results CR in the cluster through kubectl get results -A I receive an empty list. I configured the CLI with the same OPENAI_TOKEN and when I run k8sgpt analyze --explain I get the correct response, apparently no log or warn is displayed indicating any configuration problem with the operator pods, I would like to know what would be the next step to be able to perform the installation of the k8sgpt operato, I am available for any clarification! Below is a describe of the deployment applied by helm:
The text was updated successfully, but these errors were encountered: