Skip to content

Conversation

@nader-ziada
Copy link
Collaborator

Implement automatic detection of cluster state changes (API groups, OpenShift status) with configurable polling and debounce windows. The cluster state watcher runs in the background, invalidates the discovery cache periodically, and triggers a reload callback when changes are detected after a debounce period.

  • Add clusterStateWatcher to monitor API groups and OpenShift status
  • Implement debounced reload to avoid excessive reloads during changes
  • Add WatchClusterState method to Manager with configurable intervals
  • Integrate cluster state watching in kubeconfig and single cluster providers

closed PR #493 to split into this PR and future follow up

Implement automatic detection of cluster state changes (API groups, OpenShift status) with configurable polling and debounce windows. The cluster state watcher runs in the
background, invalidates the discovery cache periodically, and triggers a reload callback when changes are detected after a debounce period.

- Add clusterStateWatcher to monitor API groups and OpenShift status
- Implement debounced reload to avoid excessive reloads during changes
- Add WatchClusterState method to Manager with configurable intervals
- Integrate cluster state watching in kubeconfig and single cluster providers

Signed-off-by: Nader Ziada <[email protected]>
@nader-ziada
Copy link
Collaborator Author

@manusa

@nader-ziada nader-ziada changed the title feat(kubernetes): add cluster state monitoring with debounced reload feat(kubernetes): add cluster state monitoring with reload Nov 25, 2025
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.

1 participant