From 729dfd45072f36c2014b1bb6cc15f96e32d2711a Mon Sep 17 00:00:00 2001 From: Sebastiaan van Steenis Date: Wed, 6 Feb 2019 12:52:17 +0100 Subject: [PATCH] Correct agent image for cleanup --- .../removing-rancher/user-cluster-nodes/_index.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/content/rancher/v2.x/en/admin-settings/removing-rancher/user-cluster-nodes/_index.md b/content/rancher/v2.x/en/admin-settings/removing-rancher/user-cluster-nodes/_index.md index 35594a6e7b8..78200688d09 100644 --- a/content/rancher/v2.x/en/admin-settings/removing-rancher/user-cluster-nodes/_index.md +++ b/content/rancher/v2.x/en/admin-settings/removing-rancher/user-cluster-nodes/_index.md @@ -69,7 +69,7 @@ After you initiate the removal of an [imported cluster]({{< baseurl >}}/rancher/ {{% /tab %}} {{% tab "By Script" %}} -Rather than cleaning imported cluster nodes using the Rancher UI, you can run a script instead. +Rather than cleaning imported cluster nodes using the Rancher UI, you can run a script instead. This functionality is available since `v2.1.0`. >**Prerequisite:** > @@ -87,14 +87,13 @@ Rather than cleaning imported cluster nodes using the Rancher UI, you can run a If you aren't an air gap user, skip this step. -1. From the same directory, run the script: +1. From the same directory, run the script and provide the `rancher/rancher-agent` image version which should be equal to the version of Rancher used to manage the cluster. (``): >**Tip:** > >Add the `-dry-run` flag to preview the script's outcome without making changes. - ``` - ./user-cluster.sh rancher/agent:latest + ./user-cluster.sh rancher/rancher-agent: ``` **Result:** The script runs. All components listed for imported clusters in [What Gets Removed?](#what-gets-removed) are deleted.