K3s

K3s is a CNCF sandbox project that delivers a lightweight yet powerful certified Kubernetes distribution. When used with SUSE Rancher, K3s is ideal for running production workloads across resource-restrained, remote locations or on IoT devices.

k3s.io, docs, GitHub, suse.com/products/k3s

General idea

Quick start

Install

Run in a container with k3d

k3d is a lightweight wrapper to run k3s (Rancher Lab’s minimal Kubernetes distribution) in docker.

k3d.io (GitHub)

Create a cluster with k3d

# runs installation script
wget -q -O - https://raw.githubusercontent.com/k3d-io/k3d/main/install.sh | bash

# creates a cluster
k3d cluster create firstcluster

# displays nodes
kubectl get nodes

# deletes a cluster
k3d cluster delete firstcluster

Run in a Linux system

Last updated