Skip to main content

Kubernetes with K3s

Lightweight Kubernetes: https://k3s.io/


Default User is root.

Default TextEditor is VI, you can change it to Nano.

Default container runtime is containerd, you can change it to docker.

Default Shell is bash.


Syntax

You can use either of the following forms:

  • kubectl <command> <resource-type> <resource-name> [flags]
  • kubectl <command> <resource-type>/<resource-name> [flags]
kubectl get pods -l app=<label>

Overview

Steps

steps.png