Managing multiple Kubernetes clusters becomes challenging as applications grow across regions, environments, and subscriptions. A team might run separate AKS clusters for development, testing, staging, and production. Another organization might operate clusters across different cloud environments or on-premises infrastructure. Managing updates, deploying applications, and maintaining consistent configurations across all these clusters can require significant operational effort.
Azure Kubernetes Fleet Manager helps platform teams manage multiple Kubernetes clusters from a central location. It provides capabilities for grouping clusters, coordinating Kubernetes and node image updates, distributing Kubernetes resources, and managing workloads across a fleet.
In this article, we will explore how Azure Kubernetes Fleet Manager works, how to create a fleet, how to connect existing clusters, and how to distribute Kubernetes resources across multiple clusters.
What Is Azure Kubernetes Fleet Manager?
Azure Kubernetes Fleet Manager is an Azure service that helps administrators manage multiple Kubernetes clusters at scale. It supports Azure Kubernetes Service (AKS) clusters and Azure Arc-enabled Kubernetes clusters.
Instead of managing every cluster independently, administrators can register supported clusters as members of a fleet and manage selected operations centrally.
Azure Kubernetes Fleet Manager provides several important capabilities:
- Multi-cluster management: Group Kubernetes clusters from different regions, resource groups, and subscriptions.
- Update orchestration: Coordinate Kubernetes version and node image updates across multiple AKS clusters.
- Resource placement: Distribute Kubernetes resources from a central hub to selected member clusters.
- Managed Fleet Namespaces: Provide consistent namespace-level access and governance across supported clusters.
- Centralized visibility: Access fleet-related information and monitor multi-cluster operations.
A fleet does not combine multiple Kubernetes clusters into one cluster. Each member cluster continues to operate independently, with its own Kubernetes control plane, workloads, and resources. Fleet Manager provides a management layer for coordinating selected operations across them.
Understanding the Fleet Architecture
Before creating a fleet, it is important to understand its main components.
Fleet Manager resource
The Fleet Manager resource represents the group of Kubernetes clusters that administrators want to manage together. It is an Azure resource created in a subscription and region.
Administrators use this resource to register member clusters and configure fleet-level capabilities.
Member clusters
Member clusters are the Kubernetes clusters registered with Fleet Manager. They can include AKS clusters and supported Arc-enabled Kubernetes clusters.
Member clusters can exist in different Azure regions, resource groups, and subscriptions. However, they must belong to the same Microsoft Entra tenant as the Fleet Manager resource.
Each member receives a unique name within the fleet. Administrators can also assign labels to identify clusters based on their environment, region, application, or business function.
For example, a company might organize its clusters using labels such as:
environment: production
region: eastus
team: payments
These labels can help administrators select clusters for resource placement, update orchestration, and other fleet operations.
Hub cluster
A hub cluster is an optional component that enables additional Fleet Manager capabilities.
When a fleet is created with a hub cluster, Fleet Manager provides a central Kubernetes environment for managing resource placement and Managed Fleet Namespaces.
The hub cluster uses managed Fleet components to coordinate resource propagation between the hub and member clusters.
A fleet without a hub cluster can still provide multi-cluster update orchestration and cluster observability. However, capabilities such as Kubernetes resource placement and Managed Fleet Namespaces require the hub cluster configuration.
Choosing the Right Fleet Configuration
Azure Kubernetes Fleet Manager supports configurations with and without a hub cluster. The right choice depends on the operations an organization wants to centralize.
A fleet without a hub cluster is useful when the main requirement is coordinating cluster updates and managing fleet-level operations. It avoids provisioning an additional Kubernetes hub environment.
A fleet with a hub cluster is more suitable when administrators also need to distribute Kubernetes resources, manage namespaces across clusters, and use hub-based multi-cluster capabilities.
Before creating a fleet, identify which features the platform team needs. Adding a hub cluster should be a deliberate architectural decision rather than an unnecessary default.
Creating an Azure Kubernetes Fleet Manager
You can create a Fleet Manager resource using the Azure portal, Azure CLI, Bicep, or ARM templates. The following example uses Azure CLI.
First, make sure you have an active Azure subscription and an Azure CLI installation with the required Fleet extension.
Set the environment variables for the fleet:
export RESOURCE_GROUP="rg-kubernetes-fleet"
export LOCATION="eastus"
export FLEET_NAME="company-fleet"
Create a resource group if one does not already exist:
az group create \
--name $RESOURCE_GROUP \
--location $LOCATION
Create the Fleet Manager resource:
az fleet create \
--resource-group $RESOURCE_GROUP \
--name $FLEET_NAME \
--location $LOCATION
This example creates a fleet without a hub cluster. If you need resource placement and Managed Fleet Namespaces, create the fleet using the hub cluster configuration supported by the current Azure CLI command and its documented options.
You can verify that the fleet was created successfully:
az fleet show \
--resource-group $RESOURCE_GROUP \
--name $FLEET_NAME
The command returns information about the Fleet Manager resource, including its provisioning state.
Connecting Existing AKS Clusters to the Fleet
After creating the fleet, the next step is to register existing AKS clusters as member clusters.
You need the Azure resource ID of each AKS cluster. You can retrieve it using Azure CLI:
az aks show \
--resource-group "rg-production-east" \
--name "aks-production-east" \
--query id \
--output tsv
Store the returned resource ID:
export MEMBER_CLUSTER_ID="/subscriptions/<subscription-id>/resourceGroups/rg-production-east/providers/Microsoft.ContainerService/managedClusters/aks-production-east"
Now register the cluster with the fleet:
az fleet member create \
--resource-group $RESOURCE_GROUP \
--fleet-name $FLEET_NAME \
--name "production-east" \
--member-cluster-id $MEMBER_CLUSTER_ID
The member name is the identifier used for this cluster inside the fleet. It does not need to be identical to the original AKS cluster name.
Repeat the registration process for other clusters.
For example, a company might register the following clusters:
company-fleet
|
|-- development-east
|-- testing-east
|-- production-east
|-- production-west
You can also register supported Arc-enabled Kubernetes clusters. Their resource IDs use the Microsoft.Kubernetes/connectedClusters resource type instead of Microsoft.ContainerService/managedClusters.
To list the registered members, run:
az fleet member list \
--resource-group $RESOURCE_GROUP \
--fleet-name $FLEET_NAME \
--output table
The output helps administrators confirm which clusters have been added to the fleet.
Organizing Member Clusters With Labels
Labels make it easier to manage clusters based on their characteristics.
For example, an organization may have clusters in multiple regions and environments. Instead of selecting every cluster manually, administrators can use labels to identify the required group.
You can assign labels when creating a member:
az fleet member create \
--resource-group $RESOURCE_GROUP \
--fleet-name $FLEET_NAME \
--name "production-east" \
--member-cluster-id $MEMBER_CLUSTER_ID \
--labels "environment=production,region=eastus,team=payments"
A consistent labeling strategy is useful for larger fleets.
For example:
environment=development
environment=staging
environment=production
region=eastus
region=westus
team=payments
team=orders
team=identity
These labels can be used by resource placement policies and update strategies to select clusters. Labels identify the targets, while the placement or update configuration defines how operations are performed.
Deploying Kubernetes Resources Across Multiple Clusters
One of the important capabilities of Fleet Manager with a hub cluster is Kubernetes resource placement.
Resource placement allows administrators to define which Kubernetes resources should be distributed to selected member clusters.
For example, an application might need to run in two production regions. Instead of applying the same Kubernetes manifests separately to every cluster, administrators can define a placement policy on the hub cluster.
Fleet Manager supports two important resource placement types:
- ClusterResourcePlacement: Used for cluster-scoped resources and for distributing entire namespaces with their contents.
- ResourcePlacement: Used for selecting specific namespace-scoped resources within an existing namespace.
The following example uses ClusterResourcePlacement to distribute an application namespace to two member clusters.
apiVersion: placement.kubernetes-fleet.io/v1
kind: ClusterResourcePlacement
metadata:
name: payments-namespace-placement
spec:
resourceSelectors:
- group: ""
kind: Namespace
version: v1
name: payments
policy:
placementType: PickN
numberOfClusters: 2
strategy:
type: RollingUpdate
rollingUpdate:
maxUnavailable: 1
This configuration selects the payments namespace and requests placement on two clusters.
The PickN policy allows administrators to specify how many clusters should receive the selected resources. Other placement options include PickAll and PickFixed, depending on the desired selection behavior.
The RollingUpdate strategy controls how resources are propagated across selected clusters. In this example, maxUnavailable limits the number of clusters that can be unavailable during the rollout.
Save the configuration as payments-placement.yaml and apply it to the Fleet Manager hub cluster:
kubectl apply -f payments-placement.yaml
The placement controller evaluates the policy and distributes the selected resources to the matching member clusters.
The placement status should be monitored to confirm that the resources were successfully scheduled and applied.
Coordinating Kubernetes Updates Across Clusters
Updating multiple Kubernetes clusters independently can introduce operational risks. Different clusters might run different Kubernetes versions or node images, making it difficult to maintain a consistent platform.
Azure Kubernetes Fleet Manager provides update orchestration to coordinate these operations.
An update run can organize clusters into stages and groups. Administrators can use these configurations to control the order in which clusters are updated.
For example, a production environment might use the following approach:
Update Run
|
|-- Stage 1
| |-- Development clusters
|
|-- Stage 2
| |-- Testing clusters
|
|-- Stage 3
|-- Production East
|-- Production West
The platform team can validate an update in development and testing before allowing the production clusters to receive it.
Update runs can be executed manually or automated through auto-upgrade profiles. Fleet Manager also honors configured member cluster maintenance windows.
This approach helps reduce the risk of updating every cluster simultaneously. It does not replace application-level health checks or a complete rollback strategy, so teams should still validate workloads after each rollout stage.
Monitoring Resource Placement and Fleet Operations
Registering clusters and applying placement policies are only the first steps. Administrators should regularly monitor the status of fleet operations.
For resource placement, inspect the placement status to understand whether the policy has been scheduled and whether resources have been successfully applied.
For example:
kubectl describe clusterresourceplacement payments-namespace-placement
The status can help identify scheduling problems, unavailable clusters, or resource application failures.
For update orchestration, review the update run status in the Azure portal or through the supported Azure CLI commands. Check which clusters have completed their updates and which are waiting for their assigned stage or maintenance window.
A useful operational practice is to maintain a dashboard that tracks:
- Number of registered member clusters.
- Cluster environment and region.
- Kubernetes version and node image version.
- Update run status.
- Resource placement status.
- Failed or pending operations.
Monitoring these details helps platform teams identify problems before they affect applications running across multiple regions.
Important Considerations and Common Mistakes
Treating Fleet Manager as a single Kubernetes cluster
Fleet Manager does not merge member clusters into one Kubernetes cluster. Each member cluster retains its own control plane and workloads. Applications and services still need to be deployed and operated according to the architecture of each cluster.
Assuming all capabilities work with every member type
AKS and Arc-enabled Kubernetes clusters do not support exactly the same Fleet Manager capabilities. For example, Kubernetes and node image update orchestration is supported for AKS members, while workload placement supports both AKS and Arc-enabled Kubernetes members. Always check the current capability matrix before designing a fleet.
Creating a fleet without understanding hub cluster requirements
A fleet without a hub cluster is sufficient for some management scenarios. However, resource placement and Managed Fleet Namespaces require a hub cluster. Choosing the wrong configuration can result in additional setup work later.
Ignoring labels and cluster organization
Without consistent labels, selecting the correct clusters for placement and update orchestration becomes harder. Define a standard labeling convention before registering a large number of clusters.
Assuming resource placement provides application networking
Resource placement distributes Kubernetes resources. It does not automatically make services reachable between clusters. Cross-cluster service communication requires a separate networking design and configuration.
Skipping rollout validation
A successful resource placement or cluster update does not guarantee that the application is healthy. Validate application readiness, service availability, monitoring signals, and dependencies after each rollout stage.
Best Practices for Production Environments
Start with a small fleet containing development and testing clusters. Validate member registration, labeling, resource placement, and update orchestration before expanding to production.
Use separate update stages for development, testing, and production. Avoid updating every production cluster at the same time unless the application architecture and availability requirements support that approach.
Adopt consistent labels for environment, region, application ownership, and other useful cluster properties. Keep the naming convention documented so that platform and application teams use the same values.
Use resource placement policies carefully. Select only the resources that need to be distributed, and configure rollout strategies based on the availability requirements of the application.
Review Azure RBAC permissions and Kubernetes access separately. Fleet-level permissions should be granted to the appropriate platform administrators, while application teams should receive only the access they need.
Finally, monitor update runs and placement status continuously. Establish a clear process for investigating failed operations and validating application health after changes.
Conclusion
Azure Kubernetes Fleet Manager provides a centralized way to manage multiple Kubernetes clusters across Azure environments and supported Arc-enabled infrastructure. It helps platform teams coordinate cluster updates, organize member clusters, distribute Kubernetes resources, and manage selected multi-cluster operations.
The most important architectural decision is whether to create a fleet with or without a hub cluster. A fleet without a hub cluster supports core management and update orchestration scenarios, while a fleet with a hub cluster enables additional capabilities such as resource placement and Managed Fleet Namespaces.
By combining consistent cluster labels, controlled rollout strategies, resource placement policies, and effective monitoring, organizations can make multi-cluster Kubernetes management more predictable and easier to operate in production.
Join the conversation! Your thoughts help the community grow.