User-defined Playground

kubeadm (with Docker) Playground

A single-machine playground to experiment with kubeadm, using Docker as the container runtime.

kubeadm (with Docker) playground: A single-machine playground to experiment with kubeadm,
using Docker as the container runtime.
Machines & network
2 VMs ยท 8 vCPU ยท 16GiB RAM
Playground host Internet NAT MASQUERADE local (bridge) 172.16.0.0/24 gw 172.16.0.1/24eth0eth0
VM
vCPU ยท
eth0
/
oci://ghcr.io/sagikazarmark/iximiuz-labs/playgrounds/kubeadm-docker/dev-machine:live@sha256:361aa783599893229cc9e5e43e537dc6bfb24f1709a56fd9a0fb7eacee89dfa1
VM
vCPU ยท
eth0
/
oci://ghcr.io/sagikazarmark/iximiuz-labs/playgrounds/kubeadm-docker:live@sha256:84fd333c3218c445aa1a8b56f6edebeec43ccc7bfbd906ce804d039d3ab85c07
About

๐Ÿ”ง System Components

  • kubelet: The primary node agent that runs on each node
  • Container Runtime: Docker (with cri-dockerd)
  • Networking:
    • CNI plugins: Container Network Interface plugins
    • Flannel: Network overlay for pod-to-pod communication
    • Canal: Calico for network policy and Flannel

๐Ÿ› ๏ธ Tools

  • kubeadm: Cluster lifecycle management and bootstrapping
  • kubectl (alias: k): Kubernetes cluster management and debugging
  • krew: kubectl plugin manager for extending functionality

๐ŸŽฏ Getting Started

Quick Setup

If you want to quickly set up a working cluster, use the automated script:

/opt/lab/init.sh --remove-taint
Available options
OptionDefaultDescription
--remove-taintfalseRemove the NoSchedule taint that may prevent pods from being scheduled to this node.
--cniflannelNetwork add-on to install. Valid values: none, flannel, canal
--no-load-imagesfalseDo not load the images from local cache.
Important

โš ๏ธ When none is selected as the network addon, the initialization script will skip installing any CNI plugin.

On the dev-machine, run the following command to configure kubectl:

/opt/lab/configure.sh

๐Ÿ“š Learn More

Note

๐Ÿ’ก For more information, check out the kubeadm playground.

๐Ÿ“– Tutorials

๐Ÿงช Playgrounds

Happy learning! ๐Ÿš€

Every playground includes
Learn more about playgrounds
Start
Settings