Skip to content

[Question]: <Question Title> k8sgpt-operator: No analysis results and potentially inaccurate logs #1582

@Ganeshravella2

Description

@Ganeshravella2

Checklist

  • I've searched for similar issues and couldn't find anything matching
  • I've included steps to reproduce the behavior

Affected Components

  • K8sGPT (CLI)
  • K8sGPT Operator

K8sGPT Version

v0.4.25

Kubernetes Version

v1.32.0

Host OS and its Version

No response

Steps to reproduce

INFO k8sgpt-controller.analysis AnalysisStep response {"count": 0}

  • Unclear Logs: The log message {"count": 0} is the only indication that the analysis is running. This is not sufficient for us to be
    confident that the operator is working correctly. The logs lack detail and do not provide a clear picture of what the operator is doing
    during the analysis.
  • Missing Status: The status field of our K8sGPT custom resource is not being updated with any analysis results.

Summary of the Problem:

The core issue is a lack of clear feedback from the k8sgpt-operator.

  • Invisible Analysis Results: The analysis results are not being reported in the K8sGPT resource's status, making it impossible to verify
    the outcome of the analysis.
  • Unclear Logs: The operator's logs are not detailed enough to provide confidence that the analysis is running correctly. They do not offer
    sufficient insight into the operator's actions.

Expected behaviour

INFO k8sgpt-controller.analysis AnalysisStep response {"count": 0}

  • Unclear Logs: The log message {"count": 0} is the only indication that the analysis is running. This is not sufficient for us to be
    confident that the operator is working correctly. The logs lack detail and do not provide a clear picture of what the operator is doing
    during the analysis.
  • Missing Status: The status field of our K8sGPT custom resource is not being updated with any analysis results.

Summary of the Problem:

The core issue is a lack of clear feedback from the k8sgpt-operator.

  • Invisible Analysis Results: The analysis results are not being reported in the K8sGPT resource's status, making it impossible to verify
    the outcome of the analysis.
  • Unclear Logs: The operator's logs are not detailed enough to provide confidence that the analysis is running correctly. They do not offer
    sufficient insight into the operator's actions.

Actual behaviour

No response

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Proposed

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions