Open, Multi-Cloud, Multi-Cluster Kubernetes Orchestration
open sourceApache-2.0self-hostablefree
Karmada (Kubernetes Armada) runs applications across many Kubernetes clusters and clouds through Kubernetes-native APIs, without changes to the applications. Its control plane (its own API server, controller manager, scheduler and etcd) runs on a host cluster; you create ordinary Kubernetes resources there, and PropagationPolicy objects decide which member clusters get them, while OverridePolicy objects change settings per cluster, such as an image registry by region or a StorageClass by provider. Member clusters join in push mode or register themselves in pull mode, and the scheduler handles cluster affinity, splitting and rebalancing replicas, failover and HA across regions, zones and providers. It continues the ideas of Kubernetes Federation v1 and v2 (KubeFed) and is a CNCF graduated project, Apache-2.0.
Ways to install
Package managers
Problems it solves
- deploy the same application to Kubernetes clusters in several clouds from one place
- spread replicas of a deployment across clusters in different regions and rebalance them
- fail workloads over to another Kubernetes cluster automatically when one goes down
- active-active deployment across two data centres' Kubernetes clusters
- change the image registry or storage class per cluster when propagating the same manifests
- we outgrew one Kubernetes cluster and need to schedule workloads across many
- manage Kubernetes clusters in public cloud, on-prem and at the edge with the same API
- move workloads between cloud providers' clusters to avoid lock-in
- a replacement for KubeFed, which is no longer maintained
- autoscale an application across several Kubernetes clusters
- register edge clusters behind NAT that the central control plane can't reach directly
- keep using kubectl and our existing Kubernetes tooling while going multi-cluster
Features
- Kubernetes-native resource templates propagated to member clusters
- PropagationPolicy for multi-cluster placement and spreading
- OverridePolicy for per-cluster changes
- scheduling with cluster affinity, replica splitting and rebalancing
- multi-dimension HA across regions, zones, clusters and providers
- cross-cluster failover, auto-scaling and load balancing
- built-in policy sets for active-active, remote DR and geo-redundant setups
- push mode (karmada join) and pull mode (karmada register) for member clusters
- karmadactl and the kubectl karmada plugin, for macOS and Linux
- installs with karmadactl init, a Helm chart, the Karmada Operator or binaries
Capabilities
| Has an API | plan not known |
|---|---|
| Has a command line tool | plan not known |
Alternatives
The same job
These do what Karmada does.
- Fleet Deploy workloads from Git to large fleets of Kubernetes clusters
