Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
F

flagger

> DevOps
Open source

Progressive delivery Kubernetes operator (Canary, A/B Testing and Blue/Green deployments)

5.4K stars0 likes0 views
WebsiteGitHub

About

Progressive delivery Kubernetes operator (Canary, A/B Testing and Blue/Green deployments)

Flagger

Flagger is a progressive delivery tool that automates the release process for applications running on Kubernetes. It reduces the risk of introducing a new software version in production by gradually shifting traffic to the new version while measuring metrics and running conformance tests.

Flagger implements several deployment strategies (Canary releases, A/B testing, Blue/Green mirroring) and integrates with various Kubernetes ingress controllers, service mesh, and monitoring solutions.

Flagger is a Cloud Native Computing Foundation graduated project and part of the Flux family of GitOps tools.

Documentation

The Flagger documentation can be found at docs.flagger.app.

  • Install
    • Flagger Install with Flux
  • Usage
    • How it works
    • Deployment strategies
    • Metrics analysis
    • Webhooks
    • Alerting
    • Monitoring

Adopters

The list of production users can be found at fluxcd.io/adopters/#flagger.

If you are using Flagger, please submit a PR to add your organization to the list!

Canary CRD

Flagger takes a Kubernetes deployment and optionally a horizontal pod autoscaler (HPA), then creates a series of objects (Kubernetes deployments, ClusterIP services, service mesh, or ingress routes). These objects expose the application on the mesh and drive the canary analysis and promotion.

Flagger keeps track of ConfigMaps and Secrets referenced by a Kubernetes Deployment and triggers a canary analysis if any of those objects change. When promoting a workload in production, both code (container images) and configuration (config maps and secrets) are being synchronized.

For a deployment named podinfo, a canary promotion can be defined using Flagger's custom resource:

…

For more details on how the canary analysis and promotion works please read the docs.

Features

Service Mesh

Feature Istio Linkerd Kuma Knative Kubernetes CNI
Canary deployments (weighted traffic) :heavy_check_mark: :heavy_check_mark: :heavy_check_mark: :heavy_check_mark: :heavy_minus_sign:
A/B testing (headers and cookies routing) :heavy_check_mark: :heavy_minus_sign: :heavy_minus_sign: :heavy_minus_sign: :heavy_minus_sign:
Blue/Green deployments (traffic switch) :heavy_check_mark: :heavy_check_mark: :heavy_check_mark: :heavy_minus_sign: :heavy_check_mark:
Blue/Green deployments (traffic mirroring) :heavy_check_mark: :heavy_minus_sign: :heavy_minus_sign: :heavy_minus_sign: :heavy_minus_sign:
Webhooks (acceptance/load testing) :heavy_check_mark: :heavy_check_mark: :heavy_check_mark: :heavy_check_mark: :heavy_check_mark:
Manual gating (approve/pause/resume) :heavy_check_mark: :heavy_check_mark: :heavy_check_mark: :heavy_check_mark: :heavy_check_mark:
Request success rate check (L7 metric) :heavy_check_mark: :heavy_check_mark: :heavy_check_mark: :heavy_minus_sign: :heavy_check_mark:
Request duration check (L7 metric) :heavy_check_mark: :heavy_check_mark: :heavy_check_mark: :heavy_minus_sign: :heavy_check_mark:
Custom metric checks :heavy_check_mark: :heavy_check_mark: :heavy_check_mark: :heavy_check_mark: :heavy_check_mark:

Ingress

Feature Contour Gloo NGINX Skipper Traefik Apache APISIX
Canary deployments (weighted traffic) :heavy_check_mark: :heavy_check_mark: :heavy_check_mark: :heavy_check_mark: :heavy_check_mark: :heavy_check_mark:
A/B testing (headers and cookies routing) :heavy_check_mark: :heavy_check_mark: :heavy_check_mark: :heavy_minus_sign: :heavy_minus_sign: :heavy_minus_sign:
Blue/Green deployments (traffic switch) :heavy_check_mark: :heavy_check_mark: :heavy_check_mark: :heavy_check_mark: :heavy_check_mark: :heavy_check_mark:
Webhooks (acceptance/load testing) :heavy_check_mark: :heavy_check_mark: :heavy_check_mark: :heavy_check_mark: :heavy_check_mark: :heavy_check_mark:
Manual gating (approve/pause/resume) :heavy_check_mark: :heavy_check_mark: :heavy_check_mark: :heavy_check_mark: :heavy_check_mark: :heavy_check_mark:
Request success rate check (L7 metric) :heavy_check_mark: :heavy_check_mark: :heavy_minus_sign: :heavy_check_mark: :heavy_check_mark: :heavy_check_mark:
Request duration check (L7 metric) :heavy_check_mark: :heavy_check_mark: :heavy_minus_sign: :heavy_check_mark: :heavy_check_mark: :heavy_check_mark:
Custom metric checks :heavy_check_mark: :heavy_check_mark: :heavy_check_mark: :heavy_check_mark: :heavy_check_mark: :heavy_check_mark:

Networking Interface

Feature Gateway API SMI
Canary deployments (weighted traffic) :heavy_check_mark: :heavy_check_mark:
Canary deployments with session affinity :heavy_check_mark: :heavy_minus_sign:
A/B testing (headers and cookies routing) :heavy_check_mark: :heavy_minus_sign:
Blue/Green deployments (traffic switch) :heavy_check_mark: :heavy_check_mark:
Blue/Green deployments (traffic mirroring) :heavy_minus_sign: :heavy_minus_sign:
Webhooks (acceptance/load testing) :heavy_check_mark: :heavy_check_mark:
Manual gating (approve/pause/resume) :heavy_check_mark: :heavy_check_mark:
Request success rate check (L7 metric) :heavy_minus_sign: :heavy_minus_sign:
Request duration check (L7 metric) :heavy_minus_sign: :heavy_minus_sign:
Custom metric checks :heavy_check_mark: :heavy_check_mark:

For all the Gateway API compatible ingress controllers and service meshes, the Prometheus MetricTemplates can be used to implement the request success rate and request duration checks.

Roadmap

GitOps Toolkit compatibility

  • Migrate Flagger to Kubernetes controller-runtime and kubebuilder
  • Make the Canary status compatible with kstatus
  • Make Flagger emit Kubernetes events compatible with Flux v2 notification API
  • Integrate Flagger into Flux v2 as the progressive delivery component

Integrations

  • Migrate Linkerd, Kuma and other service mesh integrations to Gateway API

Contributing

Flagger is Apache 2.0 licensed and accepts contributions via GitHub pull requests. To start contributing please read the development guide.

When submitting bug reports please include as many details as possible:

  • which Flagger version
  • which Kubernetes version
  • what configuration (canary, ingress and workloads definitions)
  • what happened (Flagger and Proxy logs)

Communication

Here is a list of good entry points into our community, how we stay in touch and how you can meet us as a team.

  • Slack: Join in and talk to us in the #flagger channel on CNCF Slack.
  • Public meetings: We run weekly meetings - join one of the upcoming dev meetings from the Flux calendar.
  • Blog: Stay up to date with the latest news on the Flux blog.
  • Mailing list: To be updated on Flux and Flagger progress regularly, please join the flux-dev mailing list.

Subscribing to the flux-dev calendar

To add the meetings to your e.g. Google calendar

  1. visit the Flux calendar
  2. click on "Subscribe to Calendar" at the very bottom of the page
  3. copy the iCalendar URL
  4. open e.g. your Google calendar
  5. find the "add calendar" option
  6. choose "add by URL"
  7. paste iCalendar URL (ends with .ics)
  8. done

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Goab-testingaws-appmeshcanarycontour

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
CategoryDevOps
PricingOpen source

> Related tools

D
Docker
容器化平台,标准化应用交付
G
GitHub Actions
GitHub 原生 CI/CD 工作流
N
Nginx
高性能 Web 服务器与反向代理