Skip to content

[Feature]: Support tolerations in K8sGPT spec and operator deployment #767

Description

@tavent2

Checklist

  • I've searched for similar issues and couldn't find anything matching
  • I've discussed this feature request in the K8sGPT Slack and got positive feedback

Is this feature request related to a problem?

None

Problem Description

The operator helm chart and K8sGPT CRD currently supports nodeSelector for pod placement but lacks tolerations support. This prevents the operator and K8sGPT pods from being scheduled on tainted nodes.

Solution Description

Add a tolerations field to the operator chart and K8sGPT spec that accepts an array of toleration objects (following standard Kubernetes toleration structure), similar to how nodeSelector is currently implemented.

Benefits

Enables both K8sGPT pods and operator deployment on tainted nodes (GPU nodes, dedicated workload nodes, etc.)

Potential Drawbacks

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

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions