What is ClusterCacheTracker ? #10164
-
Since 1.6.1, I see this line in my logs:
What is ClusterCacheTracker? What is the benefit of using it? Thanks a lot for your help! Have a nice day! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
ClusterCacheTracker is a component that CAPI components use to create and cache a controller-runtime client to communicate with workload clusters. The log line you see indicates that your controller Pod does not specify these env vars: cluster-api/config/manager/manager.yaml Lines 30 to 41 in 500fc1f The env vars are used for an optimization so we directly talk to the kubernetes.default.svc service if the workload cluster is the cluster the controller is running on. The ClusterCacheTracker will be used in any case, independent of if we can use this optimization or not. (I'm not sure what your controller is, but CAPI components have been using the ClusterCacheTracker since a few years) |
Beta Was this translation helpful? Give feedback.
ClusterCacheTracker is a component that CAPI components use to create and cache a controller-runtime client to communicate with workload clusters.
The log line you see indicates that your controller Pod does not specify these env vars:
cluster-api/config/manager/manager.yaml
Lines 30 to 41 in 500fc1f
The env vars are used for an optimization so we directly talk to the kubernetes.default.svc service if the workload cluster …