Debugging a Stuck XR¶
Symptoms¶
kubectl get <xr>showsSYNCED: FalseorREADY: False- The claim is waiting for the composite resource to become ready
Steps¶
- Describe the claim:
kubectl describe <claim-kind> <name> -n <namespace>
- Describe the XR:
kubectl describe <xr-kind> <name>
- Check events:
kubectl get events --field-selector involvedObject.name=<xr-name>
- Common causes:
- Missing Composition Function (
function-patch-and-transformnot healthy) - Missing provider CRDs
- Invalid patch paths in Composition
-
Missing secrets referenced by ExternalSecret
-
Render locally:
cd packages/<product>
npm run validate