From 2ffc92dd86f745f2a103d78d0fb32386385e1dc3 Mon Sep 17 00:00:00 2001 From: Mark Bishop Date: Mon, 30 Jul 2018 12:41:53 -0700 Subject: [PATCH 1/7] initial draft --- .../k8s-in-rancher/managing-nodes/_index.md | 56 +++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 content/rancher/v2.x/en/k8s-in-rancher/managing-nodes/_index.md diff --git a/content/rancher/v2.x/en/k8s-in-rancher/managing-nodes/_index.md b/content/rancher/v2.x/en/k8s-in-rancher/managing-nodes/_index.md new file mode 100644 index 00000000000..f4232d58229 --- /dev/null +++ b/content/rancher/v2.x/en/k8s-in-rancher/managing-nodes/_index.md @@ -0,0 +1,56 @@ +--- +title: Managing Nodes +weight: +aliases: +--- + +After you launch a Kubernetes cluster in Rancher, you can manage individual nodes from the cluster's **Node** tab. Depending on the [option used]({{< baseurl >}}/rancher/v2.x/en/cluster-provisioning/#cluster-creation-in-rancher) to provision the cluster, there are different node options available. + +>**Note:** If you want to manage the _cluster_ and not individual nodes, see [Editing Clusters]({{< baseurl >}}/rancher/v2.x/en/k8s-in-rancher/editing-clusters). + +To manage individual nodes, browse to the cluster that you want to manage and then select **Nodes** from the main menu. The following sections list what node management options are available for each cluster type. + + + +- [Nodes Provisioned by Hosted Kubernetes Providers](#nodes-provisioned-by-hosted-kubernetes-providers) +- [Nodes Provisioned by Node Pool](#nodes-provisioned-by-node-pool) +- [Nodes Provisioned with the Custom Nodes Option](#nodes-provisioned-with-the-custom-nodes-option) +- [Imported Nodes](#imported-nodes) + + + +## Nodes Provisioned by Hosted Kubernetes Providers + +Options for managing nodes [hosted by a Kubernetes provider]({{< baseurl >}}/rancher/v2.x/en/cluster-provisioning/hosted-kubernetes-clusters/) are somewhat limited in Rancher. To make edits such as scaling the number of nodes up or down, use the hosted provider's Web console rather than Rancher UI. + +From the Rancher UI, you can: + +- Mark nodes as unschedulable (i.e., **Cordon**). +- Enter a **Custom Name**, **Description**, or **Label** for a node. +- View node API Data. + + +## Nodes Provisioned by Node Pool + +Clusters provisioned using [one of the node pool options]({{< baseurl >}}/rancher/v2.x/en/cluster-provisioning/rke-clusters/node-pools/#node-pools) allow you to: + +- Mark nodes as unschedulable (i.e., **Cordon**). +- Delete nodes. +- Scale the number of nodes in the cluster up or down. +- Enter a **Custom Name**, **Description**, or **Label** for a node. +- Download the private key that a node uses for SSL/TLS encryption. +- View API Data. + +## Nodes Provisioned with the Custom Nodes Option + +For nodes provisioned using the [custom nodes option]({{< baseurl >}}/rancher/v2.x/en/cluster-provisioning/rke-clusters/custom-nodes/#custom-nodes), you can use the following options from the Rancher UI: + +- Mark nodes as unschedulable (i.e., **Cordon**). +- Delete nodes +- Enter a **Custom Name**, **Description**, or **Label** for a node. +- Download the private key that a node uses for SSL/TLS encryption. +- View API Data. + +## Imported Nodes + +Although you can deploy workloads to an [imported cluster]({{< baseurl >}}/rancher/v2.x/en/cluster-provisioning/imported-clusters/) using Rancher, you cannot manage individual cluster nodes. All management of imported cluster nodes must take place outside of Rancher. From a9db60bdd51c21ade2b04d90b0dff50bcc94de39 Mon Sep 17 00:00:00 2001 From: Mark Bishop Date: Mon, 30 Jul 2018 16:34:32 -0700 Subject: [PATCH 2/7] updates per Denise's feedback --- .../{managing-nodes => nodes}/_index.md | 66 ++++++++++++------- 1 file changed, 41 insertions(+), 25 deletions(-) rename content/rancher/v2.x/en/k8s-in-rancher/{managing-nodes => nodes}/_index.md (57%) diff --git a/content/rancher/v2.x/en/k8s-in-rancher/managing-nodes/_index.md b/content/rancher/v2.x/en/k8s-in-rancher/nodes/_index.md similarity index 57% rename from content/rancher/v2.x/en/k8s-in-rancher/managing-nodes/_index.md rename to content/rancher/v2.x/en/k8s-in-rancher/nodes/_index.md index f4232d58229..77a42a3f68d 100644 --- a/content/rancher/v2.x/en/k8s-in-rancher/managing-nodes/_index.md +++ b/content/rancher/v2.x/en/k8s-in-rancher/nodes/_index.md @@ -1,5 +1,5 @@ --- -title: Managing Nodes +title: Nodes weight: aliases: --- @@ -12,45 +12,61 @@ To manage individual nodes, browse to the cluster that you want to manage and th -- [Nodes Provisioned by Hosted Kubernetes Providers](#nodes-provisioned-by-hosted-kubernetes-providers) - [Nodes Provisioned by Node Pool](#nodes-provisioned-by-node-pool) - [Nodes Provisioned with the Custom Nodes Option](#nodes-provisioned-with-the-custom-nodes-option) +- [Nodes Provisioned by Hosted Kubernetes Providers](#nodes-provisioned-by-hosted-kubernetes-providers) - [Imported Nodes](#imported-nodes) + +## Nodes Provisioned by Node Pool + +Clusters provisioned using [one of the node pool options]({{< baseurl >}}/rancher/v2.x/en/cluster-provisioning/rke-clusters/node-pools/#node-pools) automatically maintain the node scale that's set during the initial cluster provisioning. This scale determines the number of active nodes that Rancher maintains for the cluster. + +- Mark nodes as unschedulable (i.e., **Cordon**). When a node is cordoned, no new pods are scheduled for the node, but the existing pods continue to run. +- Delete defective nodes from the cloud provider. When you the delete a defective node, Rancher automatically replaces it with an identically provisioned node. + + >**Note:** If you want to scale down the number of nodes, use the scaling controls rather than deleting the node. +- Scale the number of nodes in the cluster up or down. +- Enter a **Custom Name**, **Description**, or **Label** for a node. +- Download the SSH key pair for a node. You can use this key pair to remote into the node using an SSH connection from your workstation. For more instructions on how to remote into the node, see [Remoting into a Node Pool Node](#remoting-into-a-node-pool-node). +- View API Data. + +### Remoting into a Node Pool Node + +1. From the Node Pool cluster, select **Nodes** from the main menu. +1. Find the node that you want to remote into. Select **Ellipsis (...) > Download Keys**. + + **Step Result:** A ZIP file containing files used for SSH is downloaded. + +1. Extract the ZIP file to any location. +1. Open Terminal. Change your location to the extracted ZIP file. +1. Enter the following command: + + ``` + ssh -i id_rsa root@ + ``` + +## Nodes Provisioned with the Custom Nodes Option + +For nodes provisioned using the [custom nodes option]({{< baseurl >}}/rancher/v2.x/en/cluster-provisioning/rke-clusters/custom-nodes/#custom-nodes), you can use the following options from the Rancher UI: + +- Mark nodes as unschedulable (i.e., **Cordon**). When a node is cordoned, no new pods are scheduled for the node, but the existing pods continue to run. +- Delete node objects from the **Nodes** ist. When you the delete a custom node, you still have to delete it from the node itself. +- Enter a **Custom Name**, **Description**, or **Label** for a node. +- View API Data. + ## Nodes Provisioned by Hosted Kubernetes Providers Options for managing nodes [hosted by a Kubernetes provider]({{< baseurl >}}/rancher/v2.x/en/cluster-provisioning/hosted-kubernetes-clusters/) are somewhat limited in Rancher. To make edits such as scaling the number of nodes up or down, use the hosted provider's Web console rather than Rancher UI. From the Rancher UI, you can: -- Mark nodes as unschedulable (i.e., **Cordon**). +- Mark nodes as unschedulable (i.e., **Cordon**). When a node is cordoned, no new pods are scheduled for the node, but the existing pods continue to run. - Enter a **Custom Name**, **Description**, or **Label** for a node. - View node API Data. - -## Nodes Provisioned by Node Pool - -Clusters provisioned using [one of the node pool options]({{< baseurl >}}/rancher/v2.x/en/cluster-provisioning/rke-clusters/node-pools/#node-pools) allow you to: - -- Mark nodes as unschedulable (i.e., **Cordon**). -- Delete nodes. -- Scale the number of nodes in the cluster up or down. -- Enter a **Custom Name**, **Description**, or **Label** for a node. -- Download the private key that a node uses for SSL/TLS encryption. -- View API Data. - -## Nodes Provisioned with the Custom Nodes Option - -For nodes provisioned using the [custom nodes option]({{< baseurl >}}/rancher/v2.x/en/cluster-provisioning/rke-clusters/custom-nodes/#custom-nodes), you can use the following options from the Rancher UI: - -- Mark nodes as unschedulable (i.e., **Cordon**). -- Delete nodes -- Enter a **Custom Name**, **Description**, or **Label** for a node. -- Download the private key that a node uses for SSL/TLS encryption. -- View API Data. - ## Imported Nodes Although you can deploy workloads to an [imported cluster]({{< baseurl >}}/rancher/v2.x/en/cluster-provisioning/imported-clusters/) using Rancher, you cannot manage individual cluster nodes. All management of imported cluster nodes must take place outside of Rancher. From 19e0270a098437ed1e17f8d925d371e975ffe7c1 Mon Sep 17 00:00:00 2001 From: Mark Bishop Date: Mon, 30 Jul 2018 17:26:37 -0700 Subject: [PATCH 3/7] adding procedures for managing node templates --- .../rke-clusters/node-pools/_index.md | 2 +- .../en/user-settings/node-templates/_index.md | 33 ++++++++++++++++++- 2 files changed, 33 insertions(+), 2 deletions(-) diff --git a/content/rancher/v2.x/en/cluster-provisioning/rke-clusters/node-pools/_index.md b/content/rancher/v2.x/en/cluster-provisioning/rke-clusters/node-pools/_index.md index a2bcb9b3f35..9fbdb7e18a6 100644 --- a/content/rancher/v2.x/en/cluster-provisioning/rke-clusters/node-pools/_index.md +++ b/content/rancher/v2.x/en/cluster-provisioning/rke-clusters/node-pools/_index.md @@ -13,7 +13,7 @@ Using Rancher, you can create pools of nodes based on a [node template](#node-te Each node pool is assigned with a [node component]({{< baseurl >}}/rancher/v2.x/en/cluster-provisioning/#node-components) to specify how these nodes should be configured for the Kubernetes cluster. -## Node templates +## Node Templates A node template is the saved configuration for the parameters to use when provisioning nodes in a specific cloud provider. Rancher provides a nice UI to be able to launch these nodes and uses [Docker Machine](https://docs.docker.com/machine/) to provision these nodes. The available cloud providers to create node templates are based on the active node drivers in Rancher. diff --git a/content/rancher/v2.x/en/user-settings/node-templates/_index.md b/content/rancher/v2.x/en/user-settings/node-templates/_index.md index 56f98859af9..0b936cd207b 100644 --- a/content/rancher/v2.x/en/user-settings/node-templates/_index.md +++ b/content/rancher/v2.x/en/user-settings/node-templates/_index.md @@ -1,5 +1,36 @@ --- title: Managing Node Templates weight: 7010 -draft: true --- + +[Node templates]({{< baseurl >}}/rancher/v2.x/en/cluster-provisioning/rke-clusters/node-pools/#node-templates) are operating system images and settings used to create nodes when you provision a [node pool]({{< baseurl >}}/rancher/v2.x/en/cluster-provisioning/rke-clusters/node-pools) cluster. You can create node templates in two contexts: + +- While [provisioning a node pool cluster]({{< baseurl >}}/rancher/v2.x/en/cluster-provisioning/rke-clusters/node-pools). +- At any time, from your [user settings](#creating-a-node-template-from-user-settings). + +When you create a node template, it is bound to your user profile. Node templates cannot be shared among users. You can delete stale node templates that you no longer user from your user settings. + +## Creating a Node Template from User Settings + +1. From your user settings, select **User Avatar > Node Templates**. +1. Click **Add Template**. +1. Select one of the cloud providers available. Then follow the instructions on screen to configure the template. + +**Result:** The template is configured. You can use the template later when you [provision a node pool cluster]({{< baseurl >}}/rancher/v2.x/en/cluster-provisioning/rke-clusters/node-pools). + +## Cloning Node Templates + +When creating new node templates from your user settings, you can clone an existing template and quickly update its settings rather than creating a new one from scratch. + +1. From your user settings, select **User Avatar > Node Templates**. +1. Find the template you want to clone. Then select **Ellipsis > Clone**. +1. Complete the rest of the form. + +**Result:** The template is cloned and configured. You can use the template later when you [provision a node pool cluster]({{< baseurl >}}/rancher/v2.x/en/cluster-provisioning/rke-clusters/node-pools). + +## Deleting a Node Template + +When you no longer use a node template, you can delete it from your user settings. + +1. From your user settings, select **User Avatar > Node Templates**. +1. Select one or more template from the list. Then click **Delete**. Confirm the delete when prompted. \ No newline at end of file From 802534e657182165b22fb61c43381eb719ec8d44 Mon Sep 17 00:00:00 2001 From: Mark Bishop Date: Mon, 30 Jul 2018 17:33:34 -0700 Subject: [PATCH 4/7] adding requirements --- .../rke-clusters/_index.md | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/content/rancher/v2.x/en/cluster-provisioning/rke-clusters/_index.md b/content/rancher/v2.x/en/cluster-provisioning/rke-clusters/_index.md index 5a4ed12c0eb..47515a3d332 100644 --- a/content/rancher/v2.x/en/cluster-provisioning/rke-clusters/_index.md +++ b/content/rancher/v2.x/en/cluster-provisioning/rke-clusters/_index.md @@ -18,3 +18,25 @@ RKE launched clusters are separated into two categories: - [Custom Nodes]({{< baseurl >}}/rancher/v2.x/en/cluster-provisioning/rke-clusters/custom-nodes/): For use cases where you want to provision bare-metal servers, on-premise virtual machines, or bring virtual machines that are already exist in a cloud provider. With this option, you will run a Rancher agent Docker container on the machine. + +
+ +### Requirements + +If you use RKE to set up a cluster, your cluster nodes must meet the following requirements. + +{{< accordion id="os" label="Operating System" >}} + {{< requirements_os >}} +{{< /accordion >}} +{{< accordion id="hardware" label="Hardware" >}} + {{< requirements_hardware >}} +{{< /accordion >}} +{{< accordion id="software" label="Software" >}} + {{< requirements_software >}} +{{< /accordion >}} +{{< accordion id="ports-rancher" label="Ports for Rancher" >}} + {{< requirements_ports_rancher >}} +{{< /accordion >}} +{{< accordion id="ports-rke" label="Ports for RKE" >}} + {{< requirements_ports_rke >}} +{{< /accordion >}} \ No newline at end of file From faff517d78401acadf98323acb15a48317a61c3a Mon Sep 17 00:00:00 2001 From: Mark Bishop Date: Mon, 30 Jul 2018 12:41:53 -0700 Subject: [PATCH 5/7] initial draft --- .../k8s-in-rancher/managing-nodes/_index.md | 56 +++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 content/rancher/v2.x/en/k8s-in-rancher/managing-nodes/_index.md diff --git a/content/rancher/v2.x/en/k8s-in-rancher/managing-nodes/_index.md b/content/rancher/v2.x/en/k8s-in-rancher/managing-nodes/_index.md new file mode 100644 index 00000000000..f4232d58229 --- /dev/null +++ b/content/rancher/v2.x/en/k8s-in-rancher/managing-nodes/_index.md @@ -0,0 +1,56 @@ +--- +title: Managing Nodes +weight: +aliases: +--- + +After you launch a Kubernetes cluster in Rancher, you can manage individual nodes from the cluster's **Node** tab. Depending on the [option used]({{< baseurl >}}/rancher/v2.x/en/cluster-provisioning/#cluster-creation-in-rancher) to provision the cluster, there are different node options available. + +>**Note:** If you want to manage the _cluster_ and not individual nodes, see [Editing Clusters]({{< baseurl >}}/rancher/v2.x/en/k8s-in-rancher/editing-clusters). + +To manage individual nodes, browse to the cluster that you want to manage and then select **Nodes** from the main menu. The following sections list what node management options are available for each cluster type. + + + +- [Nodes Provisioned by Hosted Kubernetes Providers](#nodes-provisioned-by-hosted-kubernetes-providers) +- [Nodes Provisioned by Node Pool](#nodes-provisioned-by-node-pool) +- [Nodes Provisioned with the Custom Nodes Option](#nodes-provisioned-with-the-custom-nodes-option) +- [Imported Nodes](#imported-nodes) + + + +## Nodes Provisioned by Hosted Kubernetes Providers + +Options for managing nodes [hosted by a Kubernetes provider]({{< baseurl >}}/rancher/v2.x/en/cluster-provisioning/hosted-kubernetes-clusters/) are somewhat limited in Rancher. To make edits such as scaling the number of nodes up or down, use the hosted provider's Web console rather than Rancher UI. + +From the Rancher UI, you can: + +- Mark nodes as unschedulable (i.e., **Cordon**). +- Enter a **Custom Name**, **Description**, or **Label** for a node. +- View node API Data. + + +## Nodes Provisioned by Node Pool + +Clusters provisioned using [one of the node pool options]({{< baseurl >}}/rancher/v2.x/en/cluster-provisioning/rke-clusters/node-pools/#node-pools) allow you to: + +- Mark nodes as unschedulable (i.e., **Cordon**). +- Delete nodes. +- Scale the number of nodes in the cluster up or down. +- Enter a **Custom Name**, **Description**, or **Label** for a node. +- Download the private key that a node uses for SSL/TLS encryption. +- View API Data. + +## Nodes Provisioned with the Custom Nodes Option + +For nodes provisioned using the [custom nodes option]({{< baseurl >}}/rancher/v2.x/en/cluster-provisioning/rke-clusters/custom-nodes/#custom-nodes), you can use the following options from the Rancher UI: + +- Mark nodes as unschedulable (i.e., **Cordon**). +- Delete nodes +- Enter a **Custom Name**, **Description**, or **Label** for a node. +- Download the private key that a node uses for SSL/TLS encryption. +- View API Data. + +## Imported Nodes + +Although you can deploy workloads to an [imported cluster]({{< baseurl >}}/rancher/v2.x/en/cluster-provisioning/imported-clusters/) using Rancher, you cannot manage individual cluster nodes. All management of imported cluster nodes must take place outside of Rancher. From 1947391dbd28ecfbc6314f5a2515cac70559434b Mon Sep 17 00:00:00 2001 From: Mark Bishop Date: Mon, 30 Jul 2018 16:34:32 -0700 Subject: [PATCH 6/7] updates per Denise's feedback --- .../k8s-in-rancher/managing-nodes/_index.md | 56 ------------------- 1 file changed, 56 deletions(-) delete mode 100644 content/rancher/v2.x/en/k8s-in-rancher/managing-nodes/_index.md diff --git a/content/rancher/v2.x/en/k8s-in-rancher/managing-nodes/_index.md b/content/rancher/v2.x/en/k8s-in-rancher/managing-nodes/_index.md deleted file mode 100644 index f4232d58229..00000000000 --- a/content/rancher/v2.x/en/k8s-in-rancher/managing-nodes/_index.md +++ /dev/null @@ -1,56 +0,0 @@ ---- -title: Managing Nodes -weight: -aliases: ---- - -After you launch a Kubernetes cluster in Rancher, you can manage individual nodes from the cluster's **Node** tab. Depending on the [option used]({{< baseurl >}}/rancher/v2.x/en/cluster-provisioning/#cluster-creation-in-rancher) to provision the cluster, there are different node options available. - ->**Note:** If you want to manage the _cluster_ and not individual nodes, see [Editing Clusters]({{< baseurl >}}/rancher/v2.x/en/k8s-in-rancher/editing-clusters). - -To manage individual nodes, browse to the cluster that you want to manage and then select **Nodes** from the main menu. The following sections list what node management options are available for each cluster type. - - - -- [Nodes Provisioned by Hosted Kubernetes Providers](#nodes-provisioned-by-hosted-kubernetes-providers) -- [Nodes Provisioned by Node Pool](#nodes-provisioned-by-node-pool) -- [Nodes Provisioned with the Custom Nodes Option](#nodes-provisioned-with-the-custom-nodes-option) -- [Imported Nodes](#imported-nodes) - - - -## Nodes Provisioned by Hosted Kubernetes Providers - -Options for managing nodes [hosted by a Kubernetes provider]({{< baseurl >}}/rancher/v2.x/en/cluster-provisioning/hosted-kubernetes-clusters/) are somewhat limited in Rancher. To make edits such as scaling the number of nodes up or down, use the hosted provider's Web console rather than Rancher UI. - -From the Rancher UI, you can: - -- Mark nodes as unschedulable (i.e., **Cordon**). -- Enter a **Custom Name**, **Description**, or **Label** for a node. -- View node API Data. - - -## Nodes Provisioned by Node Pool - -Clusters provisioned using [one of the node pool options]({{< baseurl >}}/rancher/v2.x/en/cluster-provisioning/rke-clusters/node-pools/#node-pools) allow you to: - -- Mark nodes as unschedulable (i.e., **Cordon**). -- Delete nodes. -- Scale the number of nodes in the cluster up or down. -- Enter a **Custom Name**, **Description**, or **Label** for a node. -- Download the private key that a node uses for SSL/TLS encryption. -- View API Data. - -## Nodes Provisioned with the Custom Nodes Option - -For nodes provisioned using the [custom nodes option]({{< baseurl >}}/rancher/v2.x/en/cluster-provisioning/rke-clusters/custom-nodes/#custom-nodes), you can use the following options from the Rancher UI: - -- Mark nodes as unschedulable (i.e., **Cordon**). -- Delete nodes -- Enter a **Custom Name**, **Description**, or **Label** for a node. -- Download the private key that a node uses for SSL/TLS encryption. -- View API Data. - -## Imported Nodes - -Although you can deploy workloads to an [imported cluster]({{< baseurl >}}/rancher/v2.x/en/cluster-provisioning/imported-clusters/) using Rancher, you cannot manage individual cluster nodes. All management of imported cluster nodes must take place outside of Rancher. From ce971c6173d7de8d39c11a95584e42ed3bca188b Mon Sep 17 00:00:00 2001 From: Mark Bishop Date: Tue, 31 Jul 2018 11:15:07 -0700 Subject: [PATCH 7/7] edits for Denise's feedback --- content/rancher/v2.x/en/k8s-in-rancher/nodes/_index.md | 2 +- .../rancher/v2.x/en/user-settings/node-templates/_index.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/content/rancher/v2.x/en/k8s-in-rancher/nodes/_index.md b/content/rancher/v2.x/en/k8s-in-rancher/nodes/_index.md index 77a42a3f68d..cf4bc90677e 100644 --- a/content/rancher/v2.x/en/k8s-in-rancher/nodes/_index.md +++ b/content/rancher/v2.x/en/k8s-in-rancher/nodes/_index.md @@ -59,7 +59,7 @@ For nodes provisioned using the [custom nodes option]({{< baseurl >}}/rancher/v2 ## Nodes Provisioned by Hosted Kubernetes Providers -Options for managing nodes [hosted by a Kubernetes provider]({{< baseurl >}}/rancher/v2.x/en/cluster-provisioning/hosted-kubernetes-clusters/) are somewhat limited in Rancher. To make edits such as scaling the number of nodes up or down, use the hosted provider's Web console rather than Rancher UI. +Options for managing nodes [hosted by a Kubernetes provider]({{< baseurl >}}/rancher/v2.x/en/cluster-provisioning/hosted-kubernetes-clusters/) are somewhat limited in Rancher. Rather than using the Rancher UI to make edits such as scaling the number of nodes up or down, edit the cluster directly. From the Rancher UI, you can: diff --git a/content/rancher/v2.x/en/user-settings/node-templates/_index.md b/content/rancher/v2.x/en/user-settings/node-templates/_index.md index 0b936cd207b..61e0a89f238 100644 --- a/content/rancher/v2.x/en/user-settings/node-templates/_index.md +++ b/content/rancher/v2.x/en/user-settings/node-templates/_index.md @@ -3,7 +3,7 @@ title: Managing Node Templates weight: 7010 --- -[Node templates]({{< baseurl >}}/rancher/v2.x/en/cluster-provisioning/rke-clusters/node-pools/#node-templates) are operating system images and settings used to create nodes when you provision a [node pool]({{< baseurl >}}/rancher/v2.x/en/cluster-provisioning/rke-clusters/node-pools) cluster. You can create node templates in two contexts: +when you provision a [node pool]({{< baseurl >}}/rancher/v2.x/en/cluster-provisioning/rke-clusters/node-pools) cluster, [node templates]({{< baseurl >}}/rancher/v2.x/en/cluster-provisioning/rke-clusters/node-pools/#node-templates) are used to provision the cluster nodes. These templates use Docker Machine commands to configure an operating system image and setting/parameters for the node. You can create node templates in two contexts: - While [provisioning a node pool cluster]({{< baseurl >}}/rancher/v2.x/en/cluster-provisioning/rke-clusters/node-pools). - At any time, from your [user settings](#creating-a-node-template-from-user-settings). @@ -20,7 +20,7 @@ When you create a node template, it is bound to your user profile. Node template ## Cloning Node Templates -When creating new node templates from your user settings, you can clone an existing template and quickly update its settings rather than creating a new one from scratch. +When creating new node templates from your user settings, you can clone an existing template and quickly update its settings rather than creating a new one from scratch. Cloning templates saves you the hassle of re-entering access keys for the cloud provider. 1. From your user settings, select **User Avatar > Node Templates**. 1. Find the template you want to clone. Then select **Ellipsis > Clone**.