Bitzu

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

Single choice

Which tool bootstraps a Kubernetes cluster on Linux machines that you have already prepared?

  1. kubectl
  2. kubeadm
  3. kind
  4. 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.

Select all that apply

Which of these are tools for running a local cluster for learning or testing?

  1. kind
  2. etcd
  3. minikube
  4. kube-proxy
  5. 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.

True or false

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.

Download on the App StoreGet it on Google Play

More KCNA topics in this module