a6-plugin-traffic-split

Configure APISIX routes with the a6 CLI traffic-split plugin for weighted upstream selection.

1|2|Updated Mar 6, 2026
One-click install
npx skills add https://github.com/api7/a6 --skill a6-plugin-traffic-split-api7
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: a6-plugin-traffic-split
Source: https://github.com/api7/a6/tree/main/skills/a6-plugin-traffic-split
Command: npx skills add https://github.com/api7/a6 --skill a6-plugin-traffic-split-api7

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Configure APISIX routes with the traffic-split plugin via the a6 CLI to manage precise traffic distribution and feature flag rollouts across environments.

Core Features & Use Cases

  • Weighted_upstreams and match-based routing for canary releases, blue-green deployments, and A/B testing.
  • Inline upstream definitions or pre-created upstream references to tailor routing behavior per route.
  • Safe, repeatable configurations that can be version-controlled and applied with a6 commands.

Quick Start

Create a route with the traffic-split plugin using a6 to split traffic between two upstreams.

Frequently Asked Questions about a6-plugin-traffic-split

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I configure APISIX traffic splitting for canary releases?

APISIX traffic splitting for canary releases is configured by applying the traffic-split plugin via the a6 CLI, defining weighted_upstreams to distribute traffic between upstreams.

What is the traffic-split plugin used for in APISIX routing?

The traffic-split plugin manages precise traffic distribution across environments, targeting canary releases, blue-green deployments, and A/B testing scenarios via weighted upstream selection.

Does the APISIX traffic-split plugin require pre-created upstreams?

No, the traffic-split plugin supports both pre-created upstream references and optional inline upstream definitions to tailor routing behavior per route.

How do I set up A/B testing routing with a6 and APISIX?

Set up A/B testing routing by using the a6 CLI to apply the traffic-split plugin on APISIX routes, configuring match-based rules and weighted_upstreams to manage traffic between upstreams.

What are the required fields for the APISIX traffic-split plugin configuration?

The traffic-split plugin enforces required fields including rules and weighted_upstreams to ensure proper weighted upstream selection and route configuration.