K3s
K3s is a highly available, certified Kubernetes distribution designed for production workloads in unattended, resource-constrained, remote locations or inside IoT appliances.
Server Node & Agent Node
- Installing K3s as a Server Node
curl -sfL https://get.k3s.io | sh -
- Installing K3s as an Agent Node
curl -sfL https://get.k3s.io | K3S_URL=https://<server>:6443 K3S_TOKEN=<token> sh -
- Uninstalling K3s Server Node
/usr/local/bin/k3s-uninstall.sh
- Uninstalling K3s Agent Node
/usr/local/bin/k3s-agent-uninstall.sh
Common Commands
- Get pods for all namespaces
kubectl get pods -A