Skip to content

What is ClusterCacheTracker ? #10164

Answered by sbueringer
pierreozoux asked this question in Q&A
Discussion options

You must be logged in to vote

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:

- name: POD_NAMESPACE
valueFrom:
fieldRef:
fieldPath: metadata.namespace
- name: POD_NAME
valueFrom:
fieldRef:
fieldPath: metadata.name
- name: POD_UID
valueFrom:
fieldRef:
fieldPath: metadata.uid
.

The env vars are used for an optimization so we directly talk to the kubernetes.default.svc service if the workload cluster …

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@pierreozoux
Comment options

Answer selected by pierreozoux
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants