KCNA ยท Cluster administration and scheduling
Ways to run a Kubernetes cluster
kubeadm, managed services, local tools (kind, minikube), certified distributions at a conceptual level.
Key points
- kubeadm bootstraps a cluster on machines you already have.
- Managed services let a provider run and upgrade the control plane.
- Local tools such as kind (nodes as containers) and minikube give a small cluster on a laptop for learning and testing.
- Distributions package Kubernetes with extra tooling and support, and conformant ones keep the standard API.
Source: https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/create-cluster-kubeadm/
Practice questions
Which tool bootstraps a Kubernetes cluster on Linux machines that you have already prepared?
- kubectl
- kubeadm
- kind
- etcdctl
Show answer
Answer: B. kubeadm
kubeadm creates the control plane and joins nodes on existing hosts. kind and minikube target local development, and kubectl only talks to an existing cluster.
Which of these are tools for running a local cluster for learning or testing?
- kind
- etcd
- minikube
- kube-proxy
- kubectl
Show answer
Answer: A. kind, C. minikube
kind and minikube create local clusters. etcd is a datastore, kube-proxy is a node networking component, and kubectl is only a client.
kubeadm creates the virtual machines or servers that will become your cluster nodes.
Show answer
Answer: False
False. kubeadm assumes the machines already exist with a container runtime installed; provisioning them is done with other tools.
Practice 8 questions on this topic in Bitzu
Short lessons, instant explanations and spaced review of what you get wrong. Free on iOS and Android.
