Expanding the CNF Harbor Registry Persistent Volume Claim (PVC) to a target size (e.g., 2TB)
Navigate to the Harbor CNF in your TCA portal.
Download the active Helm values file for the Harbor deployment.
Open the values file in a local text editor, locate the registry size configuration, and change the value to 2Ti.
Reconfigure the Harbor CNF by uploading the modified values file. Apply this update strictly for the Harbor Helm Chart to trigger the expansion.
Open the terminal or SSH session for the workload cluster.
Run the following command to list all PVCs and verify the current state:
kubectl get pvc -A
Execute the edit command for the specific Harbor namespace and PVC:
kubectl edit pvc harbor-registry -n harbor-system
In the text editor that opens, locate the spec section and modify the storage parameter to 2Ti. Save and exit the editor to apply the changes.