kubernetes-sigs/cluster-api

KCP: Consider reconciling on Pod events

Open

#11,745 opened on Jan 23, 2025

View on GitHub
 (10 comments) (0 reactions) (1 assignee)Go (1,532 forks)auto 404
help wantedkind/featurepriority/important-longtermtriage/accepted

Repository metrics

Stars
 (4,267 stars)
PR merge metrics
 (PR metrics pending)

Description

We recently changed KCP to use a cached client to retrieve the Pods we care about.

This means we already have informers for Pods of workload clusters.

I'm wondering if we should also trigger reconciles if these Pods change (similar to how we watch on Node events in the Machine controller).

Pro

  • we can instantly react to Pod changes instead of using requeue after

Con

Contributor guide