Skip to main content
Cloud basicsLesson 17 of 17

Managed Kubernetes — Who Runs What

With managed Kubernetes (for example Amazon EKS, Google GKE or Azure AKS), the cloud provider runs the control plane and you run the worker nodes. Follow one team from kubectl login to a running, exposed, autoscaled app, and see where Kubernetes hands work to the cloud.

Who managesProvider + you
Cloud resource—
Credential—
Provider account · managed control planeYour VPC · node groupDeveloperkubectlCloud IAMWho is this?API serverMulti-AZetcdProvider backs upNode · AZ aVM you pay forNew node · AZ aAdded by autoscalerPodshopCloud LBFrom ServiceCloud diskZonal · AZ aObject storageCloud APIkubectl
RequestWatchAppears in a later step

What you will learn

  • The provider runs the API server and etcd, you run the nodes
  • kubectl logs in with cloud IAM, then Kubernetes RBAC decides
  • A LoadBalancer Service and a PVC create real cloud resources
  • Why a zonal disk can keep a Pod Pending
  • Pods get cloud permissions through workload identity, not node keys

Who manages what​

PartProviderYou
API server, etcd, scheduler, controller managerRuns, patches, backs up, scalesChoose version and tier, enable control-plane logs
Control-plane versionReleases versions, may force upgrades at end of supportTrigger upgrades, check deprecated APIs
Worker nodesProvides node images and managed node groups or poolsChoose size, count, OS image, upgrade timing (less in Auto Mode or Autopilot)
NetworkingProvides the CNI and the cloud LB integrationVPC, subnets, IP ranges, security groups, NetworkPolicy
AccessVerifies cloud identityMap identities to RBAC, grant least privilege
Workloads, Secrets, data—Everything: manifests, backups of volumes, app security

Names differ by provider:

ConceptEKSGKEAKS
Group of worker VMsManaged node groupNode poolNode pool
kubectl login helperaws eks get-tokengke-gcloud-auth-pluginkubelogin
Cloud identity → RBACAccess entriesIAM + RBACMicrosoft Entra ID + RBAC
Pod → cloud roleIRSA, EKS Pod IdentityWorkload Identity Federation for GKEMicrosoft Entra Workload ID
Provider runs the nodes tooEKS Auto ModeAutopilotAKS Automatic

Try it yourself​

aws eks update-kubeconfig --name demo --region ap-northeast-2 # Writes kubeconfig with the token helper (EKS example)
kubectl config view --minify # See the exec plugin instead of a password
kubectl auth whoami # The Kubernetes user your cloud identity maps to
kubectl get nodes -L topology.kubernetes.io/zone,node.kubernetes.io/instance-type # Nodes are VMs in zones
kubectl get svc -A --field-selector spec.type=LoadBalancer # Services that created cloud LBs
kubectl get pv -o custom-columns=NAME:.metadata.name,ZONE:.spec.nodeAffinity.required.nodeSelectorTerms[0].matchExpressions[0].values # Which zone each disk is in
kubectl get events -A --field-selector reason=FailedScheduling # Pending Pods the autoscaler should see
kubectl version # Client and control-plane versions

Check yourself

  1. On a managed cluster, kubectl get pods returns Forbidden. Which side should you look at first?
  2. A Pod with a PVC is recreated while the node in AZ a is full. A node in AZ b has room, but the Pod stays Pending with a volume node affinity conflict. Why?
  3. The shop Pod must write to object storage. What is the safest way to give it that permission?

Further reading: Amazon EKS user guide · GKE overview · AKS core concepts · Cloud controller manager · Version skew policy · Permission Checks (IAM) · Service Types · Auto Scaling Groups