Cloudflare Load Balancing
Global layer 7 load balancing across pools with health monitors and automatic failover.
- Provider
- cloudflare
- Kind
- Load balancer
- Category
- Edge
| property | type | values | required | kind default | this component |
|---|---|---|---|---|---|
| connectionPreserving | boolean | — | no | false | inherited |
| global | boolean | — | no | false | ▸ true |
| hashing | enum | round-robin | least-connections | ecmp | maglev | consistent | random | no | round-robin | inherited |
| healthChecks | boolean | — | no | true | ▸ true |
| instances | integer | — | no | — | inherited |
| layer | enum | l4 | l7 | no | l7 | ▸ l7 |
| managed | boolean | — | no | false | ▸ true |
| sessionAffinity | enum | none | cookie | ip-cookie | header | no | none | inherited |
| sessionAffinityTtlSeconds | integer | — | no | 82800 | inherited |
| steeringPolicy | enum | standard | geo | dynamic | proximity | least-outstanding-requests | no | — | inherited |
Every rule whose selector covers this component's kind or its category. Whether a rule fires depends on the design: its properties, its edges and its groups.
No rule reads this kind yet. That is a gap, not a guarantee.
nodes:
- { id: "load-balancing", component: "cloudflare-load-balancing" }Server Load Balanceralibaba-slbAWS Application Load BalanceralbAWS Classic Load Balanceraws-classic-load-balancerAWS Global Acceleratoraws-global-acceleratorAWS Gateway Load Balanceraws-gwlbAWS Network Load BalancernlbAzure Application Gatewayazure-application-gatewayApplication Gateway for Containersazure-application-gateway-for-containersAzure Load Balancerazure-load-balancerCloudflare Spectrumcloudflare-spectrumApache HTTP Serverapache-httpdBFEbfeCaddycaddyContourcontourEnvoyenvoyF5 BIG-IPf5-big-ipHAProxyhaproxyKeepalivedkeepalivedGeneric load balancerload-balancerLoad balancerload-balancer-tierloxilbloxilbMetalLBmetallbNGINXnginxTraefiktraefikDigitalOcean Load Balancersdigitalocean-load-balancerGoogle Cloud Load Balancinggoogle-cloud-load-balancingIBM Cloud Load Balancer for VPCibm-load-balancerKubernetes Gatewayk8s-gatewayIngressk8s-ingressServicek8s-serviceOCI Load Balanceroci-load-balancerNetwork Load Balanceroci-network-load-balancerOpenStack Octaviaopenstack-octaviaLoad Balancer Unit (LBU)outscale-lbu
# yaml-language-server: $schema=../../schema/component.schema.json # Cloudflare Load Balancing: global layer 7 load balancing across pools on the anycast edge. # "Load Balancing" and "Session affinity": monitors probe endpoints from multiple data centers and # traffic fails over automatically; session affinity is off by default, cookie sessions last 23 hours. schemaVersion: "1" type: "component" id: "cloudflare-load-balancing" kind: "load-balancer" provider: "cloudflare" docs: "https://developers.cloudflare.com/load-balancing/understand-basics/session-affinity/" defaults: managed: true layer: "l7" global: true healthChecks: true properties: steeringPolicy: type: "enum" values: ["standard", "geo", "dynamic", "proximity", "least-outstanding-requests"] sessionAffinity: type: "enum" values: ["none", "cookie", "ip-cookie", "header"] default: "none" sessionAffinityTtlSeconds: type: "integer" default: 82800