Aller au contenu
login
arrow_backRetour aux issues
k8sgpt-ai/k8sgpt-operator #767

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

ecoDébutant feature Help Wanted Good Enhancement

descriptionDescription

### Checklist - [x] I've searched for similar issues and couldn't find anything matching - [x] I've discussed this feature request in the [K8sGPT Slack](https://k8sgpt.slack.com) 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_
codeOuvre sur GitHub