From de424290fedab702dba8ff446b34cabd83e86e20 Mon Sep 17 00:00:00 2001 From: Catherine Luse Date: Tue, 12 May 2020 15:31:46 -0700 Subject: [PATCH] Explain killall script in K3s docs --- .../install-options/killall/_index.md | 16 ++++++++++++++++ .../latest/en/installation/uninstall/_index.md | 2 ++ 2 files changed, 18 insertions(+) create mode 100644 content/k3s/latest/en/installation/install-options/killall/_index.md diff --git a/content/k3s/latest/en/installation/install-options/killall/_index.md b/content/k3s/latest/en/installation/install-options/killall/_index.md new file mode 100644 index 00000000000..dabe4cde270 --- /dev/null +++ b/content/k3s/latest/en/installation/install-options/killall/_index.md @@ -0,0 +1,16 @@ +--- +title: The k3s-killall.sh script +weight: 4 +--- + +To allow high availability during upgrades, the K3s containers continue running when the K3s service is stopped. + +To stop all of the K3s containers and reset the containerd state, the `k3s-killall.sh` script can be used. + +The killall script cleans up containers, K3s directories, and networking components while also removing the iptables chain with all the associated rules. The cluster data will not be deleted. + +To run the killall script from a server node, run: + +``` +/usr/local/bin/k3s-killall.sh +``` \ No newline at end of file diff --git a/content/k3s/latest/en/installation/uninstall/_index.md b/content/k3s/latest/en/installation/uninstall/_index.md index 43f51fdeb9c..f30b018029f 100644 --- a/content/k3s/latest/en/installation/uninstall/_index.md +++ b/content/k3s/latest/en/installation/uninstall/_index.md @@ -5,6 +5,8 @@ weight: 61 If you installed K3s using the installation script, a script to uninstall K3s was generated during installation. +> Uninstalling K3s deletes the cluster data and all of the scripts. To restart the cluster with different installation options, re-run the installation script with different flags. + To uninstall K3s from a server node, run: ```