---
id: "cloudflare-flagship"
type: "component"
kind: "feature-flag-service"
provider: "cloudflare"
category: "ops"
docs: "https://developers.cloudflare.com/flagship/"
url: "https://localhost:3000/catalogue/components/cloudflare-flagship"
---

# Cloudflare Flagship

Feature flags evaluated in Workers through a binding or remotely through OpenFeature SDKs, with percentage rollouts.

| | |
|---|---|
| Provider | [cloudflare](https://localhost:3000/catalogue?provider=cloudflare) |
| Kind | [Feature flag service](https://localhost:3000/catalogue/kinds/feature-flag-service) |
| Category | Operations |
| Official docs | [https://developers.cloudflare.com/flagship/](https://developers.cloudflare.com/flagship/) |

## Properties

| property | type | values | required | kind default | this component |
|---|---|---|---|---|---|
| `consistentHashing` | boolean | — | no | true | inherited |
| `evaluation` | enum | `worker-binding`, `openfeature-sdk` | no | "worker-binding" | inherited |
| `killSwitches` | boolean | — | no | true | inherited |
| `managed` | boolean | — | no | false | **true** |
| `stagedRollout` | boolean | — | no | false | **true** |
| `variantType` | enum | `boolean`, `string`, `number`, `json` | no | "boolean" | inherited |

Bold values are the ones this component pins.

## Rules that apply · 0

No rule selects this kind or its category.

## Other products of the same kind · 17

- [AWS AppConfig](https://localhost:3000/catalogue/components/aws-appconfig.md) `aws-appconfig` — aws
- [Azure App Configuration](https://localhost:3000/catalogue/components/azure-app-configuration.md) `azure-app-configuration` — azure
- [Apollo Config](https://localhost:3000/catalogue/components/apollo-config.md) `apollo-config` — default
- [ConfigCat](https://localhost:3000/catalogue/components/configcat.md) `configcat` — default
- [Generic feature flag service](https://localhost:3000/catalogue/components/feature-flag-service.md) `feature-flag-service` — default
- [Flagsmith](https://localhost:3000/catalogue/components/flagsmith.md) `flagsmith` — default
- [Flipt](https://localhost:3000/catalogue/components/flipt.md) `flipt` — default
- [GrowthBook](https://localhost:3000/catalogue/components/growthbook.md) `growthbook` — default
- [LaunchDarkly](https://localhost:3000/catalogue/components/launchdarkly.md) `launchdarkly` — default
- [Optimizely Feature Experimentation](https://localhost:3000/catalogue/components/optimizely.md) `optimizely` — default
- [Harness FME](https://localhost:3000/catalogue/components/split.md) `split` — default
- [Spring Cloud Config Server](https://localhost:3000/catalogue/components/spring-cloud-config.md) `spring-cloud-config` — default
- [Statsig](https://localhost:3000/catalogue/components/statsig.md) `statsig` — default
- [Unleash](https://localhost:3000/catalogue/components/unleash.md) `unleash` — default
- [Firebase Remote Config](https://localhost:3000/catalogue/components/google-firebase-remote-config.md) `google-firebase-remote-config` — gcp
- [IBM Cloud App Configuration](https://localhost:3000/catalogue/components/ibm-app-configuration.md) `ibm-app-configuration` — ibm
- [ConfigMap](https://localhost:3000/catalogue/components/k8s-config-map.md) `k8s-config-map` — k8s

## Use it in a design

```yaml
nodes:
  - { id: "cloudflare-flagship", component: "cloudflare-flagship" }
```

## Source (`component` YAML, verbatim)

```yaml
# yaml-language-server: $schema=../../schema/component.schema.json
# Cloudflare Flagship: feature flags evaluated inside Workers through a binding, or remotely
# through the OpenFeature SDKs ("Cloudflare Flagship"). Flags belong to an app and support
# percentage rollouts with consistent hashing, so staged rollout is available out of the box.
schemaVersion: "1"
type: "component"
id: "cloudflare-flagship"
kind: "feature-flag-service"
provider: "cloudflare"
docs: "https://developers.cloudflare.com/flagship/"
defaults:
  stagedRollout: true
  managed: true
properties:
  evaluation:
    type: "enum"
    values: ["worker-binding", "openfeature-sdk"]
    default: "worker-binding"
  variantType:
    type: "enum"
    values: ["boolean", "string", "number", "json"]
    default: "boolean"
  consistentHashing:
    type: "boolean"
    default: true
```

Human page: https://localhost:3000/catalogue/components/cloudflare-flagship
