❯ 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:
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: