mirror of
https://github.com/rancher/rancher-docs.git
synced 2026-09-29 14:38:50 +00:00
Removing incorrect directories from list of directories used by RKE1, RKE2, and K3s. Also updating admonition.
Signed-off-by: Sunil Singh <sunil.singh@suse.com>
This commit is contained in:
@@ -236,10 +236,8 @@ sudo k3s-uninstall.sh
|
|||||||
|
|
||||||
The following directories are used when adding a node to a cluster, and should be removed. You can remove a directory using `rm -rf /directory_name`.
|
The following directories are used when adding a node to a cluster, and should be removed. You can remove a directory using `rm -rf /directory_name`.
|
||||||
|
|
||||||
:::note
|
:::important
|
||||||
|
Depending on the role you assigned to the node, certain directories may or may not be present on the node.
|
||||||
Depending on the role you assigned to the node, some of the directories will or won't be present on the node.
|
|
||||||
|
|
||||||
:::
|
:::
|
||||||
|
|
||||||
| Directories |
|
| Directories |
|
||||||
@@ -250,11 +248,9 @@ Depending on the role you assigned to the node, some of the directories will or
|
|||||||
| `/etc/rancher` |
|
| `/etc/rancher` |
|
||||||
| `/opt/cni` |
|
| `/opt/cni` |
|
||||||
| `/opt/rke` |
|
| `/opt/rke` |
|
||||||
| `/run/secrets/kubernetes.io` |
|
|
||||||
| `/run/calico` |
|
| `/run/calico` |
|
||||||
| `/run/flannel` |
|
| `/run/flannel` |
|
||||||
| `/var/lib/calico` |
|
| `/var/lib/calico` |
|
||||||
| `/var/lib/etcd` |
|
|
||||||
| `/var/lib/cni` |
|
| `/var/lib/cni` |
|
||||||
| `/var/lib/kubelet` |
|
| `/var/lib/kubelet` |
|
||||||
| `/var/lib/rancher` |
|
| `/var/lib/rancher` |
|
||||||
@@ -265,18 +261,16 @@ Depending on the role you assigned to the node, some of the directories will or
|
|||||||
|
|
||||||
**To clean the directories:**
|
**To clean the directories:**
|
||||||
|
|
||||||
```
|
```shell
|
||||||
rm -rf /etc/ceph \
|
rm -rf /etc/ceph \
|
||||||
/etc/cni \
|
/etc/cni \
|
||||||
/etc/kubernetes \
|
/etc/kubernetes \
|
||||||
/etc/rancher \
|
/etc/rancher \
|
||||||
/opt/cni \
|
/opt/cni \
|
||||||
/opt/rke \
|
/opt/rke \
|
||||||
/run/secrets/kubernetes.io \
|
|
||||||
/run/calico \
|
/run/calico \
|
||||||
/run/flannel \
|
/run/flannel \
|
||||||
/var/lib/calico \
|
/var/lib/calico \
|
||||||
/var/lib/etcd \
|
|
||||||
/var/lib/cni \
|
/var/lib/cni \
|
||||||
/var/lib/kubelet \
|
/var/lib/kubelet \
|
||||||
/var/lib/rancher\
|
/var/lib/rancher\
|
||||||
|
|||||||
+3
-9
@@ -236,10 +236,8 @@ sudo k3s-uninstall.sh
|
|||||||
|
|
||||||
The following directories are used when adding a node to a cluster, and should be removed. You can remove a directory using `rm -rf /directory_name`.
|
The following directories are used when adding a node to a cluster, and should be removed. You can remove a directory using `rm -rf /directory_name`.
|
||||||
|
|
||||||
:::note
|
:::important
|
||||||
|
Depending on the role you assigned to the node, certain directories may or may not be present on the node.
|
||||||
Depending on the role you assigned to the node, some of the directories will or won't be present on the node.
|
|
||||||
|
|
||||||
:::
|
:::
|
||||||
|
|
||||||
| Directories |
|
| Directories |
|
||||||
@@ -250,11 +248,9 @@ Depending on the role you assigned to the node, some of the directories will or
|
|||||||
| `/etc/rancher` |
|
| `/etc/rancher` |
|
||||||
| `/opt/cni` |
|
| `/opt/cni` |
|
||||||
| `/opt/rke` |
|
| `/opt/rke` |
|
||||||
| `/run/secrets/kubernetes.io` |
|
|
||||||
| `/run/calico` |
|
| `/run/calico` |
|
||||||
| `/run/flannel` |
|
| `/run/flannel` |
|
||||||
| `/var/lib/calico` |
|
| `/var/lib/calico` |
|
||||||
| `/var/lib/etcd` |
|
|
||||||
| `/var/lib/cni` |
|
| `/var/lib/cni` |
|
||||||
| `/var/lib/kubelet` |
|
| `/var/lib/kubelet` |
|
||||||
| `/var/lib/rancher` |
|
| `/var/lib/rancher` |
|
||||||
@@ -265,18 +261,16 @@ Depending on the role you assigned to the node, some of the directories will or
|
|||||||
|
|
||||||
**To clean the directories:**
|
**To clean the directories:**
|
||||||
|
|
||||||
```
|
```shell
|
||||||
rm -rf /etc/ceph \
|
rm -rf /etc/ceph \
|
||||||
/etc/cni \
|
/etc/cni \
|
||||||
/etc/kubernetes \
|
/etc/kubernetes \
|
||||||
/etc/rancher \
|
/etc/rancher \
|
||||||
/opt/cni \
|
/opt/cni \
|
||||||
/opt/rke \
|
/opt/rke \
|
||||||
/run/secrets/kubernetes.io \
|
|
||||||
/run/calico \
|
/run/calico \
|
||||||
/run/flannel \
|
/run/flannel \
|
||||||
/var/lib/calico \
|
/var/lib/calico \
|
||||||
/var/lib/etcd \
|
|
||||||
/var/lib/cni \
|
/var/lib/cni \
|
||||||
/var/lib/kubelet \
|
/var/lib/kubelet \
|
||||||
/var/lib/rancher\
|
/var/lib/rancher\
|
||||||
|
|||||||
+3
-9
@@ -236,10 +236,8 @@ sudo k3s-uninstall.sh
|
|||||||
|
|
||||||
The following directories are used when adding a node to a cluster, and should be removed. You can remove a directory using `rm -rf /directory_name`.
|
The following directories are used when adding a node to a cluster, and should be removed. You can remove a directory using `rm -rf /directory_name`.
|
||||||
|
|
||||||
:::note
|
:::important
|
||||||
|
Depending on the role you assigned to the node, certain directories may or may not be present on the node.
|
||||||
Depending on the role you assigned to the node, some of the directories will or won't be present on the node.
|
|
||||||
|
|
||||||
:::
|
:::
|
||||||
|
|
||||||
| Directories |
|
| Directories |
|
||||||
@@ -250,11 +248,9 @@ Depending on the role you assigned to the node, some of the directories will or
|
|||||||
| `/etc/rancher` |
|
| `/etc/rancher` |
|
||||||
| `/opt/cni` |
|
| `/opt/cni` |
|
||||||
| `/opt/rke` |
|
| `/opt/rke` |
|
||||||
| `/run/secrets/kubernetes.io` |
|
|
||||||
| `/run/calico` |
|
| `/run/calico` |
|
||||||
| `/run/flannel` |
|
| `/run/flannel` |
|
||||||
| `/var/lib/calico` |
|
| `/var/lib/calico` |
|
||||||
| `/var/lib/etcd` |
|
|
||||||
| `/var/lib/cni` |
|
| `/var/lib/cni` |
|
||||||
| `/var/lib/kubelet` |
|
| `/var/lib/kubelet` |
|
||||||
| `/var/lib/rancher` |
|
| `/var/lib/rancher` |
|
||||||
@@ -265,18 +261,16 @@ Depending on the role you assigned to the node, some of the directories will or
|
|||||||
|
|
||||||
**To clean the directories:**
|
**To clean the directories:**
|
||||||
|
|
||||||
```
|
```shell
|
||||||
rm -rf /etc/ceph \
|
rm -rf /etc/ceph \
|
||||||
/etc/cni \
|
/etc/cni \
|
||||||
/etc/kubernetes \
|
/etc/kubernetes \
|
||||||
/etc/rancher \
|
/etc/rancher \
|
||||||
/opt/cni \
|
/opt/cni \
|
||||||
/opt/rke \
|
/opt/rke \
|
||||||
/run/secrets/kubernetes.io \
|
|
||||||
/run/calico \
|
/run/calico \
|
||||||
/run/flannel \
|
/run/flannel \
|
||||||
/var/lib/calico \
|
/var/lib/calico \
|
||||||
/var/lib/etcd \
|
|
||||||
/var/lib/cni \
|
/var/lib/cni \
|
||||||
/var/lib/kubelet \
|
/var/lib/kubelet \
|
||||||
/var/lib/rancher\
|
/var/lib/rancher\
|
||||||
|
|||||||
+3
-9
@@ -236,10 +236,8 @@ sudo k3s-uninstall.sh
|
|||||||
|
|
||||||
The following directories are used when adding a node to a cluster, and should be removed. You can remove a directory using `rm -rf /directory_name`.
|
The following directories are used when adding a node to a cluster, and should be removed. You can remove a directory using `rm -rf /directory_name`.
|
||||||
|
|
||||||
:::note
|
:::important
|
||||||
|
Depending on the role you assigned to the node, certain directories may or may not be present on the node.
|
||||||
Depending on the role you assigned to the node, some of the directories will or won't be present on the node.
|
|
||||||
|
|
||||||
:::
|
:::
|
||||||
|
|
||||||
| Directories |
|
| Directories |
|
||||||
@@ -250,11 +248,9 @@ Depending on the role you assigned to the node, some of the directories will or
|
|||||||
| `/etc/rancher` |
|
| `/etc/rancher` |
|
||||||
| `/opt/cni` |
|
| `/opt/cni` |
|
||||||
| `/opt/rke` |
|
| `/opt/rke` |
|
||||||
| `/run/secrets/kubernetes.io` |
|
|
||||||
| `/run/calico` |
|
| `/run/calico` |
|
||||||
| `/run/flannel` |
|
| `/run/flannel` |
|
||||||
| `/var/lib/calico` |
|
| `/var/lib/calico` |
|
||||||
| `/var/lib/etcd` |
|
|
||||||
| `/var/lib/cni` |
|
| `/var/lib/cni` |
|
||||||
| `/var/lib/kubelet` |
|
| `/var/lib/kubelet` |
|
||||||
| `/var/lib/rancher` |
|
| `/var/lib/rancher` |
|
||||||
@@ -265,18 +261,16 @@ Depending on the role you assigned to the node, some of the directories will or
|
|||||||
|
|
||||||
**To clean the directories:**
|
**To clean the directories:**
|
||||||
|
|
||||||
```
|
```shell
|
||||||
rm -rf /etc/ceph \
|
rm -rf /etc/ceph \
|
||||||
/etc/cni \
|
/etc/cni \
|
||||||
/etc/kubernetes \
|
/etc/kubernetes \
|
||||||
/etc/rancher \
|
/etc/rancher \
|
||||||
/opt/cni \
|
/opt/cni \
|
||||||
/opt/rke \
|
/opt/rke \
|
||||||
/run/secrets/kubernetes.io \
|
|
||||||
/run/calico \
|
/run/calico \
|
||||||
/run/flannel \
|
/run/flannel \
|
||||||
/var/lib/calico \
|
/var/lib/calico \
|
||||||
/var/lib/etcd \
|
|
||||||
/var/lib/cni \
|
/var/lib/cni \
|
||||||
/var/lib/kubelet \
|
/var/lib/kubelet \
|
||||||
/var/lib/rancher\
|
/var/lib/rancher\
|
||||||
|
|||||||
Reference in New Issue
Block a user