Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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.

  1. 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).

  2. Run in the command line to see all deployments and find the deployment that ends with "ui-agent."

...

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):

Code Block
kubectl set image deployment/<deployment_name> agent=
us.gcr.io/cloud-data-fusion-images/cloud-data-fusion-inverting-proxy:<UI-Agent-version>

...

The full list of agent versions can be found in the cloud build repo.

...

4. Confirm the rollout is successful. To watch/check the status of the rollout:

Code Block
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

Code Block
kubectl rollout undo deployment/<deployment-name>

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).

Page Properties
hiddentrue

Related issues