Let’s Get Certified
Module 08 / 13 · Ensuring the successful operation of a cloud solution

Operate revisions, clusters and agent deployments

A Cloud Run release is healthy in a test revision, but support wants only one request in twenty to reach it initially. How should traffic be handled?

Operate revisions, clusters and agent deployments

Package an agent, deploy it to a region with a service identity limited to its tools, declare its dependencies, then update the same resource for a new release.

Work through the decision

A Cloud Run release is healthy in a test revision, but support wants only one request in twenty to reach it initially. How should traffic be handled?

Check your reasoning

Keep the previous revision available and direct 5 percent of traffic to the new revision. Compare errors and latency by revision before increasing the proportion or sending traffic back.

Part 8 · 9:19

Interpret the evidence

Revision traffic split
Allocate a percentage to each eligible revision and measure results separately.
Horizontal Pod Autoscaler
Adjusts the number of workload replicas in response to configured metrics.
Snapshot schedule
Recurring disk snapshots provide dated recovery points. Verify restoration on a separate disk.
Agent Runtime deployment
Package agent dependencies, select a region and an execution identity, then update the managed agent resource for a new release.
Node pool autoscaling
Changes available GKE Standard nodes when Pod scheduling requirements exceed or release capacity.

Practice the guide skills

  1. List VM instances and zones, check authorized remote access and restore a scheduled disk snapshot to a separate test disk. Compare a snapshot with an image for a new VM.
  2. Check GKE nodes, Pods and Services, their events and rollout status. For an image pull error, verify the registry path and the identity that needs Artifact Registry read access.
  3. Compare a StatefulSet with a Deployment. Add or drain a Standard node pool and separate node autoscaling from horizontal replica scaling and vertical request changes.
  4. Inspect Autopilot resource requests, supported accelerators and placement constraints before deploying a GPU or TPU workload.
  5. Release a Cloud Run revision with min/max instances, split traffic and compare revision metrics. Identify how function revisions or GKE traffic routing change the rollout procedure.
  6. Package an Agent Runtime update with pinned dependencies, region and runtime identity. Check notebook lifecycle and access for Workbench or BigQuery notebooks and compare Cloud Workstations for team development.

Official objectives for this lesson

Check a Cloud Run canary

A service received 10,000 requests during its first release window. The previous revision produced 19 errors and the candidate produced 8.

Revision          Requests   Errors
stable                9500       19
candidate              500        8

The error rates are 0.2% and 1.6%, respectively. The candidate’s rate is eight times the stable rate. Check the actual failure modes before increasing its traffic share.

Related lesson · Pay for compute when the workload uses it

Knowledge check

Operate revisions, clusters and agent deployments quiz

Answer 3 questions. Check each answer for an explanation.

Worked example · Operate revisions, clusters and agent deployments