Choosing an Azure Kubernetes Fleet Manager option

This article provides an overview of the various Azure Kubernetes Fleet Manager (Fleet) options and the considerations you should use to guide your selection of a specific configuration.

Fleet types

A Kubernetes Fleet resource can be created with or without a hub cluster. A hub cluster is a managed Azure Kubernetes Service (AKS) cluster that acts as a hub to store and propagate Kubernetes resources.

The following table compares the scenarios enabled by the hub cluster:

Capability Kubernetes Fleet resource without hub cluster Kubernetes Fleet resource with hub cluster
Hub cluster hosting
Member cluster limit Up to 100 clusters Up to 20 clusters
Update orchestration
Workload orchestration
Layer 4 load balancing
Billing considerations No cost You pay cost associated with the hub, which is a standard-tier AKS-cluster.
Converting fleet types Can be upgraded to a Kubernetes Fleet resource with a hub cluster. Can't be downgraded to a Kubernetes Fleet resource without a hub cluster.

Kubernetes Fleet resource without hub clusters

Without a hub cluster, Kubernetes Fleet acts solely as a grouping entity in Azure Resource Manager (ARM). Certain scenarios, such as update runs, don't require a Kubernetes API and thus don't require a hub cluster. To take full advantage of all the features available, you need a Kubernetes Fleet resource with a hub cluster.

For more information, see Create a Kubernetes Fleet resource without a hub cluster.

Kubernetes Fleet resource with hub clusters

A Kubernetes Fleet resource with a hub cluster has an associated AKS-managed cluster, which hosts the open sourced fleet manager and fleet network manager solution for workload orchestration and layer-4 load balancing.

Upon the creation of a Kubernetes Fleet resource with a hub cluster, a hub AKS cluster is automatically created in the same subscription under a managed resource group that begins with FL_. To improve reliability, hub clusters are locked down by denying any user-initiated mutations to the corresponding AKS clusters (under the Fleet-managed resource group FL_) and their underlying Azure resources (under the AKS-managed resource group MC_FL_*), such as virtual machines (VMs), via Azure deny assignments. Control plane operations, such as changing the hub cluster's configuration through Azure Resource Manager (ARM) or deleting the cluster entirely, are denied. Data plane operations, such as connecting to the hub cluster's Kubernetes API server in order to configure workload orchestration, are not denied.

Hub clusters are exempted from Azure policies to avoid undesirable policy effects upon hub clusters.

Network access modes for hub cluster

For a Kubernetes Fleet resource with a hub cluster, there are two network access modes:

  • Public hub clusters expose the hub cluster to the internet. This means that with the right credentials, anyone on the internet can connect to the hub cluster. This configuration can be useful during the development and testing phase, but represents a security concern, which is largely undesirable in production.

For more information, see Create a Kubernetes Fleet resource with a public hub cluster.

  • Private hub clusters use a private AKS cluster as the hub, which prevents open access over the internet. All considerations for a private AKS cluster apply, so review the prerequisites and limitations to determine whether a Kubernetes Fleet resource with a private hub cluster meets your needs.

Some other details to consider:

  • Whether you choose a public or private hub, the type can't be changed after creation.
  • When using an AKS private cluster, you have the ability to configure fully qualified domain names (FQDNs) and FQDN subdomains. This functionality doesn't apply to the private hub cluster of the Kubernetes Fleet resource.
  • When you connect to a private hub cluster, you can use the same methods that you would use to connect to any private AKS cluster. However, connecting using AKS command invoke and private endpoints aren't currently supported.
  • When you use private hub clusters, you're required to specify the subnet in which the Kubernetes Fleet hub cluster's node VMs reside. This process differs slightly from the AKS private cluster equivalent. For more information, see create a Kubernetes Fleet resource with a private hub cluster.

Next steps

Now that you understand the different types of Kubernetes fleet resources, see Create an Azure Kubernetes Fleet Manager resource and join member clusters.