ImagePullBackOff":kubectl get pods -n vcd-ds-workloadsNAME READY STATUS RESTARTS AGEexample-postgres-0 0/5 ImagePullBackOff 0 #d
example-postgres-1 0/5 ImagePullBackOff 0 #dexample-postgres-monitor-0 0/4 ImagePullBackOff 0 #dkubelet Back-off pulling image "tanzu-sql-postgres.packages.broadcom.comGet the pkgr:kubectl get pkgr -n vcd-ds-system tanzu-postgres-operator
NAME AGE DESCRIPTIONtanzu-postgres-operator #d Reconcile failed: Fetching resources: Error (see .status.usefulErrorMessage for details)
kubectl describe pkgr -n vcd-ds-system tanzu-postgres-operatorError while preparing a transport to talk with the registry: Unable to create round tripper: GET https://tanzu-sql-postgres.packages.broadcom.com/artifactory/api/docker/tanzu-sql-postgres/v2/token?scope=repository%3Atds-packages%3Apull&service=tanzu-sql-postgres.packages.broadcom.com: : Token failed verification: expiredThis issue occurs because the Tanzu Postgres Data Solution API Token expires after 48 hours and after this expiration the images cannot be downloaded.
Upgrading the Kubernetes cluster requires these images to be re-downloaded.
To resolve the issue, generate a new API Token for Tanzu Postgres and update DSE with this new token.
Once a valid API Token is present in DSE, the Kubernetes Operator in the cluster will update it in the cluster allowing the images to be downloaded.
<api_token>" value from the output of the form:{"scope":"TNZ-Postgres","access_token":"<api_token>","expires_in":"172800"}Reconcile succeeded".kubectl get pkgr -n vcd-ds-system tanzu-postgres-operatorNAME AGE DESCRIPTIONtanzu-postgres-operator #d Reconcile succeededkubectl get pods -n vcd-ds-workloads
NAME READY STATUS RESTARTS AGEexample-postgres-0 5/5 Running 0 #dexample-postgres-1 5/5 Running 0 #dexample-postgres-monitor-0 4/4 Running 0 #d
For more information on managing the container registries and their credentials, see Managing container registries in VMware Cloud Director extension for Data Solutions.