Table of Contents

# Use K3s CLI

Kubectl

Access the kubectl CLI

Used in K3s server
Only the server node has kubeconfig

k3s kubectl

# When setup server config with kubeconfig-write:644 
kubectl

Containerd CLI

Access the containerd CLI

k3s ctr 

List images

k3s ctr i ls

Import image

k3s ctr i import <image.tar>

Reference