mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-04 14:55:56 +02:00
k3s: add page (#16772)
Co-authored-by: Managor <42655600+Managor@users.noreply.github.com> Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com> Co-authored-by: Wiktor Perskawiec <wiktor@perskawiec.cc>
This commit is contained in:
parent
8bc9dce9b1
commit
5435b34843
1 changed files with 24 additions and 0 deletions
24
pages/common/k3s.md
Normal file
24
pages/common/k3s.md
Normal file
|
@ -0,0 +1,24 @@
|
|||
# k3s
|
||||
|
||||
> Install and manage lightweight Kubernetes clusters.
|
||||
> More information: <https://docs.k3s.io/cli>.
|
||||
|
||||
- Run the embedded `kubectl` command:
|
||||
|
||||
`k3s kubectl get nodes`
|
||||
|
||||
- Take an etcd snapshot of the cluster:
|
||||
|
||||
`k3s etcd-snapshot save`
|
||||
|
||||
- Rotate the CA certificate:
|
||||
|
||||
`k3s certificate rotate-ca`
|
||||
|
||||
- Manage bootstrap tokens:
|
||||
|
||||
`k3s token list`
|
||||
|
||||
- Uninstall K3s and remove all components:
|
||||
|
||||
`k3s-uninstall.sh`
|
Loading…
Add table
Reference in a new issue