Skip to content

Adding k8s labels#560

Open
ayeshakhan2004 wants to merge 4 commits into
OpenHands:mainfrom
ayeshakhan2004:adding-k8s-labels
Open

Adding k8s labels#560
ayeshakhan2004 wants to merge 4 commits into
OpenHands:mainfrom
ayeshakhan2004:adding-k8s-labels

Conversation

@ayeshakhan2004
Copy link
Copy Markdown

Description

This PR standardizes Kubernetes recommended labels across the openhands and runtime-api charts. It introduces a central _helpers.tpl for the main chart and ensures all resources including Deployments, Services, and CronJobs carry the proper app.kubernetes.io/component and part-of metadata.

**Fixes #497 **

Helm Chart Checklist

  • I have updated the version field in Chart.yaml for each modified chart
  • I have tested the chart upgrade path from the previous version
  • I have verified backwards compatibility with existing values.yaml configurations
  • I have updated the chart's README.md if there are any breaking changes or new required values

Additional Notes

  • Created _helpers.tpl for the openhands chart to support openhands.labels and openhands.selectorLabels.
  • Updated 3 Deployments (server, integrations, mcp) and all related CronJobs with consistent component labels.
  • Patched missing metadata and pod template labels in the runtime-api CronJobs (cleanup, db-cleanup, etc.).
  • Standardized labels to improve resource discovery and support bundle log collection.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add well-known Kubernetes labels (app.kubernetes.io/*) to all chart resources

1 participant