Symptoms:
$ tanzu cluster upgrade gitlab-test --tkr v1.23.16---vmware.1-fips.1-tkg.1 -n default -v 9
compatibility file (/root/.config/tanzu/tkg/compatibility/tkg-compatibility.yaml) already exists, skipping download
BOM files inside /root/.config/tanzu/tkg/bom already exists, skipping download
Using the TKr version 'v1.23.16+vmware.1-fips.1-tkg.1'
Downloading bom for TKr "v1.23.16---vmware.1-fips.1-tkg.1"
Error: unable to determine the TKr version and kubernetes version based on '': ConfigMap for TKr name "v1.23.16---vmware.1-fips.1-tkg.1" not available to download bom
The tkr-source-controller pod will go into a CrashLoopBackOff with the error "OOMKilled".
kubectl describe pod -n tkg-system tkr-source-controller-manager-pod-name | egrep -iB1 'cpu|mem'
Limits:
cpu: 100m
memory: 200Mi
Requests:
cpu: 100m
memory: 100Mi
kubectl patch pkgi -n tkg-system tkg-pkg -p '{"spec":{"paused":true}}' --type=merge
kubectl patch pkgi -n tkg-system tkr-source-controller -p '{"spec":{"paused":true}}' --type=merge
kubectl edit deployments.apps -n tkg-system tkr-source-controller-manager
kubectl describe pod -n tkg-system tkr-source-controller-manager-c8bfc544b-8ctkj | egrep -iB1 'cpu|mem'
Limits:
cpu: 500m
memory: 600Mi
Requests:
cpu: 200m
memory: 200Mi