The application distribution feature of the Container Service for Kubernetes (ACK) One fleet can be used to distribute an application across multiple clusters. By setting up distribution policies in a fleet instance, you can efficiently distribute eligible Kubernetes resources to target clusters. Additionally, you can configure differentiated policies for the deployment requirements of different clusters, which offers an alternative to the GitOps approach that does not depend on Git repositories.
How it works
In fleet instances, you can create Kubernetes resources for applications and configure PropagationPolicy
and ClusterPropagationPolicy
to specify how these resources are distributed across associated clusters. Additionally, OverridePolicy
and ClusterOverridePolicy
allow you to implement customized policies that address the specific requirements of each associated cluster for resource distribution.
Resource distribution description
The following table describes the multi-cluster application distribution and differential deployment supported by the application distribution feature of ACK One fleet instances.
If you have the permissions to create resources in the fleet instance, you have permissions to distribute those resources by default.
Resource level | Resource type | API version | Distribution policy | Differential policy |
Cluster level | Namespace | v1 | Available | Available |
PersistentVolume | v1 | Available | Available | |
StorageClass | storage.k8s.io/v1 | Available | Available | |
Namespace level | Deployment | apps/v1 | Available | Available |
StatefulSet | apps/v1 | Available | Available | |
DaemonSet | apps/v1 | Available | Available | |
Job | batch/v1 | Available | Available | |
CronJob | batch/v1 | Available | Available | |
Ingress | networking.k8s.io/v1 | Available | Available | |
Service | v1 | Available | Available | |
PersistentVolumeClaim | v1 | Available | Available | |
ConfigMap | v1 | Available | Available | |
Secret | v1 | Available | Available | |
Pod | v1 | Available | Available | |
LimitRange | v1 | Available | Available | |
ResourceQuota | v1 | Available | Available | |
HorizontalPodAutoscaler | autoscaling/v2 | Available | Available |
References
Feature | Description | Related documents |
Deploy applications by using distribution policies | A quick start guide for the application distribution feature. It describes how to use kubectl to distribute specific resources to associated clusters through PropagationPolicy and OverridePolicy. | |
Detailed policies | Describes how to create distribution and differential policies, along with the related parameters, to provide you with a comprehensive understanding of application distribution configurations. |