🎓 A1Learner
🔍
0 of 51 lessons completed

Kubernetes: Managed Kubernetes in Brief

Managed Kubernetes is a cloud service that runs the control plane for you. You still run the workloads, but you do not run the control plane.

The same tool, any cluster

kubectl talks to minikube and to a managed cluster in the same way. The context picks the cluster.

kubectl config get-contexts

One cluster, one context

Each context holds one cluster address and one login. Switching contexts switches clusters.

kubectl config current-context

Three providers, one idea

Each provider sells the same idea under its own name. The control plane stays with the provider.

kubectl cluster-info

Learn locally first

A local cluster costs nothing to run. It teaches the same objects as a managed cluster.

kubectl get nodes

Example

kubectl config get-contexts
kubectl config current-context
kubectl get nodes

Key points

  • Managed Kubernetes: a cloud service that runs the control plane while you run the workloads
  • EKS is the managed Kubernetes service from Amazon Web Services
  • GKE is the managed Kubernetes service from Google Cloud
  • AKS is the managed Kubernetes service from Microsoft Azure
  • A managed control plane costs money every hour, even when the cluster is idle
  • You do not need a managed cluster to learn, because minikube runs the same Kubernetes on your laptop
  • A managed cluster suits a team that wants the cloud provider to patch and back up the control plane

In this example, the first command lists the contexts kubectl knows. The output shows one context named minikube. The second command prints the current context. The third command lists the nodes. The output shows one ready node on Kubernetes 1.37.1, so this laptop cluster is the one in use.

Note

The kubectl commands you learned work the same against a managed cluster.

Try it Yourself

Edit the code, then press Run.

Running is simulated · Rust Playground

Exercise

What does a managed Kubernetes service run for you?