Skip to main content

Traffic shift step

Last updated on

Traffic shift step

The traffic shift step routes a percentage of traffic to the revision produced by the deploy step. Add a step for each stage of the canary, for example 10 percent, 25 percent, 50 percent, and 100 percent.

The step type is ShiftGoogleAgentRuntimeTraffic. Configure the following fields:

  • Container Registry: A Harness connector for the registry that hosts the plugin image.
  • Image: The traffic shift plugin image, harness/google-agent-runtime-plugin:1.0.0-linux-amd64.
  • Target Revision ID: The revision produced by the deploy step, <+steps.DeployGoogleAgentRuntimeRevision.agentDeployment.revisionId>.
  • Weight (%): The percentage of traffic to route to the target revision for this shift.
Shift Google Agent Runtime Traffic step parameters showing image, target revision ID, and weight