Update the UI agent pod
The UI agent pod can be updated manually if you have a new ui-agent image in the cloud build repo that you want to roll out to a specific tenant project.
SSH into the tenant project cluster following the instructions in the article on How to get thread dump or logs. (The steps depend on whether you have a public or private instance).
Run in the command line to see all deployments and find the deployment that ends with "ui-agent."
kubectl get deployments
3. Using the deployment found in step 2, update the ui-agent image to the appropriate version (full list of agent versions can be found in the cloud build repo):
kubectl set image deployment/<deployment_name> agent=
us.gcr.io/cloud-data-fusion-images/cloud-data-fusion-inverting-proxy:<UI-Agent-version>
4. Confirm the rollout is successful. To watch/check the status of the rollout:
kubectl rollout status deployment/<deployment_name>
You may see intermediate steps during the rollout (or not, depending on when you check the status). Once the rollout is complete, you should see an update that the deployment successfully rolled out.
Rolling back
Troubleshooting a failed rollout
Status stuck in “X old replicas are pending termination…” for ~5 minutes, followed by error: deployment <deployment-name> exceeded its progress deadline
Check the command used for the rollout (i.e. make sure the version is correctly set to 1.0.1 instead of 1.01).