snippetbashTip
k3s — Install and manage lightweight Kubernetes clusters. More information: <https://docs.k3s.io/cli>.
Viewed 0 times
commandk3sandlightweightinstallclimanagekubernetes
Problem
How to use the
k3s command: Install and manage lightweight Kubernetes clusters. More information: <https://docs.k3s.io/cli>.Solution
k3s — Install and manage lightweight Kubernetes clusters. More information: <https://docs.k3s.io/cli>.Run the embedded
kubectl command:k3s kubectl get nodesTake an etcd snapshot of the cluster:
k3s etcd-snapshot saveRotate the CA certificate:
k3s certificate rotate-caManage bootstrap tokens:
k3s token listUninstall K3s and remove all components:
k3s-uninstall.shCode Snippets
Run the embedded `kubectl` command
k3s kubectl get nodesTake an etcd snapshot of the cluster
k3s etcd-snapshot saveRotate the CA certificate
k3s certificate rotate-caManage bootstrap tokens
k3s token listUninstall K3s and remove all components
k3s-uninstall.shContext
tldr-pages: common/k3s
Revisions (0)
No revisions yet.