Atvik
Búðu til gervigreindarforrit og umboðsmenn
Mar 17, 9 PM - Mar 21, 10 AM
Taktu þátt í fundarröðinni til að byggja upp skalanlegar gervigreindarlausnir byggðar á raunverulegum notkunartilvikum með öðrum forriturum og sérfræðingum.
Nýskrá núnaÞessi vafri er ekki lengur studdur.
Uppfærðu í Microsoft Edge til að nýta þér nýjustu eiginleika, öryggisuppfærslur og tæknilega aðstoð.
Platform admins managing large number of clusters often have problems with staging the updates of multiple clusters (for example, upgrading node OS image or Kubernetes versions) in a safe and predictable way. To address this challenge, Azure Kubernetes Fleet Manager (Fleet) allows you to orchestrate updates across multiple clusters using update runs.
Update runs consist of stages, groups, and strategies and can be applied either manually, for one-time updates, or automatically, for ongoing regular updates using auto-upgrade profiles. All update runs (manual or automated) honor member cluster maintenance windows.
The following image visualizes an upgrade run containing two update stages, each containing two update groups with two member clusters. A wait period is configured between the first and second stages.
Currently, the supported update operations on member cluster are upgrades. There are three types of upgrades you can choose from:
You can specify the target Kubernetes version to upgrade to, but you can't specify the exact target node image version. This is because the latest available node image version may vary depending on the Azure region of the cluster (check the AKS release tracker for more information).
The target node image versions are automatically selected for you based on your preferences:
Latest
: Use the latest node images available in the Azure region of a cluster when the upgrade of the cluster starts. As a result, different image versions could be used depending on which Azure region a cluster is in and when its upgrade actually starts.Consistent
: When the update run starts, it picks the latest common image versions across the Azure regions of the member clusters in this run, such that the same, consistent image versions are used across clusters.You should choose Latest
to use fresher image versions and minimize security risks, and choose Consistent
to improve reliability by using and verifying those images in clusters in earlier stages before using them in later clusters.
Update runs honor planned maintenance windows that you set at the Azure Kubernetes Service (AKS) cluster level.
AKS clusters support two distinct maintenance windows - one for Kubernetes (control plane) upgrades and one for node image upgrades.
Fleet Manager update runs will honor AKS maintenance windows as follows:
Fleet Manager update channel | AKS upgrade option | AKS maintenance window setting |
---|---|---|
Kubernetes Control Plane | Kubernetes Version | AKSManagedAutoUpgradeSchedule |
Kubernetes + Node Image | Kubernetes Version | AKSManagedAutoUpgradeSchedule |
Node Image Only | Node Image | AKSManagedNodeOSAutoUpgradeSchedule |
Update run prioritizes upgrading clusters based on planned maintenance in the following order:
An update run can be in one of the following states:
Pending
state for any of the following reasons which can be viewed in the message field.
Pending
if all members in the group are Pending
or not started. When a member moves to Pending
, the update run will attempt to upgrade the next member in the group. If all members are Pending
, the group moves to Pending
state. If a group is Pending
, the update run waits for the group to complete before moving on to the next update stage.Pending
if all update groups in the stage are Pending
or not started.Pending
state if the current stage is in Pending
state.Full
or ControlPlaneOnly
).Skipped
by the system.Skipped
by the system.Skipped
by the system.MemberUpdateStatus
as Failed
on the member cluster.Failed
with a summary error message.Athugasemd
You can re-run an update run at any time in order to re-apply upgrades that may have been skipped or failed.
Auto-upgrade profiles are used to automatically trigger update runs when new Kubernetes or node image versions are made available for AKS.
Mikilvægt
Azure Kubernetes Fleet Manager preview features are available on a self-service, opt-in basis. Previews are provided "as is" and "as available," and they're excluded from the service-level agreements and limited warranty. Azure Kubernetes Fleet Manager previews are partially covered by customer support on a best-effort basis. As such, these features aren't meant for production use.
In an auto-upgrade profile you can configure:
Channel
(Stable, Rapid, NodeImage) which determines the type of auto-upgrade that is applied to the clusters.UpdateStrategy
which configures the sequence in which the clusters are upgraded. If a strategy isn't supplied, clusters are updated one by one sequentially.NodeImageSelectionType
(Latest, Consistent) to specify how the node image is selected when upgrading the Kubernetes version.The Stable channel is always the latest AKS-supported Kubernetes patch release on minor version N-1, where N is the latest supported minor version.
Examples:
The Rapid channel is always the most recent AKS-supported Kubernetes minor release.
Examples:
Member cluster nodes are updated with a newly patched VHD containing security fixes and bug fixes on a weekly cadence. The update to the new VHD is disruptive, following maintenance windows and surge settings. No extra VHD cost is incurred when choosing this option.
If you use this channel, Linux unattended upgrades are disabled by default. Node image upgrades support patch versions that are deprecated, so long as the minor Kubernetes version is still supported. Node images are AKS-tested, fully managed, and applied with safe deployment practices.
Nodes on different operating systems will be updated in accordance with the node image versions aligned to those operating systems.
Example:
Auto-upgrade does not move clusters between minor Kubernetes versions when there's more than one minor Kubernetes version difference (for example: 1.28 to 1.30). Where administrators have a diverse set of Kubernetes versions it's recommended to first use one or more update run to bring member clusters into a set of consistently versioned releases so that configured Stable
or Rapid
channel updates ensure consistency is maintained in future.
Athugasemd
Keep the following information in mind when using auto upgrade:
Auto-upgrade requires version 1.3.0 or later of the Fleet Azure CLI extension.
Auto-upgrade only updates to GA versions of Kubernetes and doesn't update to preview versions.
Auto-upgrade requires the cluster's Kubernetes version to be within the AKS support window.
If a cluster has no defined planned maintenance window it will be upgraded immediately when the update run reaches the cluster.
If you want to have your Kubernetes version upgraded, you need to create an autoupgradeprofile
with Rapid
or Stable
channels.
If you want to have your NodeImage version upgraded, you need to create an autoupgradeprofile
with NodeImage
channel.
You can create multiple auto-upgrade profiles for the same Fleet.
Azure Kubernetes Service umsögn
Azure Kubernetes Service er opið verkefni. Veldu tengil til að gefa umsögn:
Atvik
Búðu til gervigreindarforrit og umboðsmenn
Mar 17, 9 PM - Mar 21, 10 AM
Taktu þátt í fundarröðinni til að byggja upp skalanlegar gervigreindarlausnir byggðar á raunverulegum notkunartilvikum með öðrum forriturum og sérfræðingum.
Nýskrá núnaÞjálfun
Eining
Apply cluster upgrades and security patches with Azure Kubernetes Service - Training
Apply the latest version upgrades and patches to your Azure Kubernetes Service clusters.
Vottorð
Microsoft Certified: Azure Administrator Associate - Certifications
Demonstrate key skills to configure, manage, secure, and administer key professional functions in Microsoft Azure.
Skjöl
Kubernetes resource placement from hub cluster to member clusters
This article describes the concept of Kubernetes resource propagation from hub cluster to member clusters.
Define re-useable update strategies for multi-clusters updates using Azure Kubernetes Fleet Manager
See how you can define staged update strategies that can be re-used across multiple update runs and auto-upgrade profiles in Azure Kubernetes Fleet Manager.
In this quickstart, you learn how to create an Azure Kubernetes Fleet Manager resource and join member clusters using Azure CLI.