Sub topic 16
What changes on managed Kubernetes services
This chapter assumes you know the version skew policy, the deprecation policy, and the kubeadm upgrade flow from earlier chapters. Here you see which of those steps the provider takes over on a managed service such as Amazon EKS, Google GKE, or Azure AKS, and which steps stay with you.
What the provider takes over
On a managed service, the provider runs the control plane. You do not log in to control plane nodes, so you do not run kubeadm upgrade apply. You do not manage etcd either. You request an upgrade through the provider's console, CLI, or API, or you let an automatic channel do it.
| Task | Self-managed (kubeadm) | Managed service |
|---|---|---|
| Upgrade API server, scheduler, controllers | You, with kubeadm | Provider, on your request or schedule |
| etcd snapshot | You | Provider (not exposed to you) |
| Control plane high availability during upgrade | You design it | Provider |
| Worker node upgrade | You drain and upgrade each node | Often provider-assisted, per node pool |
| Add-ons (CNI, CoreDNS, kube-proxy) | You | Varies: some managed, some yours |
| Deprecated API migration | You | You |
What stays with you
The provider upgrades the control plane to a new minor version, and that version removes the same APIs the upstream release removes. A manifest that uses a removed API fails on a managed cluster exactly as it does on a kubeadm cluster. Detection, migration, and CI checks from the earlier chapters still apply in full.
The skew policy also still applies. Nodes must stay within the supported skew of the control plane. Because the provider moves the control plane first, upgrade your node pools soon afterward.
Check where you stand before and after the control plane moves:
# Control plane and client versions
kubectl version
# Kubelet version of every node, to spot skew
kubectl get nodes -o wideDifferences that affect planning
- Version availability. Providers lag upstream and support only some minor versions. Check the provider's calendar, not only the Kubernetes release page.
- Forced upgrades. When a version leaves support, some providers upgrade your cluster automatically or charge for extended support. Unplanned upgrades are the main risk if you ignore the calendar.
- No etcd access. You cannot run
etcdctl snapshot save. Keep your manifests in Git and use a workload backup tool for objects and volumes. - Limited rollback. Control plane downgrades are generally not offered. Test the upgrade in a staging cluster first.
- Metrics access. Raw API server metrics, such as
apiserver_requested_deprecated_apis, may be restricted or exposed through the provider's monitoring or insights features instead.
Node pools and replacement
Managed node upgrades usually replace nodes with new ones at the target version, instead of upgrading them in place. The provider cordons and drains old nodes and honors PodDisruptionBudgets for a limited time. A budget that can never be satisfied can block or time out the upgrade, so review your budgets before you start.
Exercise
You run a cluster on a managed service and want an etcd snapshot before upgrading. The provider gives you no etcd access. What do you do instead, and which pre-upgrade work still applies?
Show answer
Rely on the provider for control plane recovery, and keep manifests in Git plus a workload backup tool for objects and volumes. All deprecated API detection, manifest migration, add-on compatibility checks, and PodDisruptionBudget review still apply, because removed APIs are rejected on managed clusters as well.