runwhen-contrib / rw-public-codecollection

RunWhen Public Codecollection Repository - Open Source troubleshooting runbook library for Kubernetes and cloud infrastructure components.
https://registry.runwhen.com
Apache License 2.0
40 stars 5 forks source link

[Enhancement] k8s-postgres bundles need to select by label #54

Closed stewartshea closed 1 year ago

stewartshea commented 1 year ago

Observation With the postgres operator, we see a pattern where the statefulset name might change, which presents an issue when the configured workload in the k8s postgres SLI is targeted at a specific statefulset. It would be helpful to specify a specific label and have the codebundle find the desired workload.

Current Outcome Must specify specific workload to target (which might change due to operators)

Desired Outcome Option to just specify a label in which the codebundle can find the proper workload.