Skip to content

[Question]: incorrect report successfully completed pod as issue with exit code 255 #1581

Description

@rongchenwday

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

k8sgpt: 0.4.25 (Homebrew), built at: 2025-09-03T19:09:29Z

Kubernetes Version

Client Version: v1.32.1

Host OS and its Version

mac os 15.5

Steps to reproduce

kc get pod
...
smoke-test-xxx-cloudloader-dataeditor-2-djj5f 0/3 Completed 0 29m
smoke-test-xxx-cloudloader-dataeditor-2-fbksx 0/3 Completed 0 28m
...

🤖 AI Analysis Results
Namespace: xxx
Timestamp:

Summary:
Analysis completed - 3 problems detected

Found 3 issues:

  1. ...

  2. xxx/smoke-test-xxx-cloudloader-dataeditor-2-f7rl4
    Type: Pod
    Error 1: the termination reason is Error exitCode=255 container=smoke-test pod=smoke-test-bds-cloudloader-dat
    Error 1: aeditor-2-f7rl4

  3. xxx/smoke-test-xxx-cloudloader-dataeditor-2-jc7mw
    Type: Pod
    Error 1: the termination reason is Error exitCode=255 container=smoke-test pod=smoke-test-bds-cloudloader-dat
    Error 1: aeditor-2-jc7mw

Expected behaviour

issue 2 and 3 should not be reported

Actual behaviour

No response

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    Status
    Proposed

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions