From 7dd2ef2abb6015cf5920c7f8a785dc10cbaac751 Mon Sep 17 00:00:00 2001 From: Denise Date: Wed, 3 Mar 2021 17:39:56 -0800 Subject: [PATCH] Update _index.md --- .../vsphere/out-of-tree/_index.md | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/content/rancher/v2.5/en/cluster-provisioning/rke-clusters/cloud-providers/vsphere/out-of-tree/_index.md b/content/rancher/v2.5/en/cluster-provisioning/rke-clusters/cloud-providers/vsphere/out-of-tree/_index.md index f2a0f7a9893..ae51ed4b22b 100644 --- a/content/rancher/v2.5/en/cluster-provisioning/rke-clusters/cloud-providers/vsphere/out-of-tree/_index.md +++ b/content/rancher/v2.5/en/cluster-provisioning/rke-clusters/cloud-providers/vsphere/out-of-tree/_index.md @@ -1,13 +1,13 @@ --- -title: How to Configure Out-of-tree vSphere +title: How to Configure Out-of-tree vSphere Cloud Provider shortTitle: Out-of-tree Cloud Provider weight: 10 --- -_Available as of v2.5.6_ +_Available as of v2.5+_ Kubernetes is moving away from maintaining cloud providers in-tree. vSphere has an out-of-tree cloud provider that can be used by installing the vSphere cloud provider and cloud storage plugins. -This page covers how to install the CPI and CSI plugins after bringing up a cluster. +This page covers how to install the Cloud Provider Interface (CPI) and Cloud Storage Interface (CSI) plugins after bringing up a cluster. # Prerequisites @@ -23,14 +23,14 @@ The Cloud Provider Interface (CPI) should be installed first before installing t ### 1. Create a vSphere cluster -1. On the Clusters page, click on **Add Cluster** and select the **vSphere** option. -1. Under **Cluster Options > In-Tree Cloud Provider** select **External**. -1. Click **Create**. +1. On the Clusters page, click on **Add Cluster** and select the **vSphere** option or **Existing Nodes** option. +1. Under **Cluster Options > Cloud Provider** select **External (Out-of-tree)**. This sets the cloud provider option on the Kubernetes cluster to `external` which sets your Kubernetes cluster up to be configured with an out-of-tree cloud provider. +1. Finish creating your cluster. ### 2. Install the CPI plugin - 1. From the **Cluster Explorer** view, go to the top left dropdown menu and click **Apps & Marketplace.** -1. Select the **vsphere-cpi** chart. Fill out the required vCenter details. +1. From the **Cluster Explorer** view, go to the top left dropdown menu and click **Apps & Marketplace.** +1. Select the **vSphere CPI** chart. Fill out the required vCenter details. 1. vSphere CPI initializes all nodes with ProviderID which is needed by the vSphere CSI driver. Check if all nodes are initialized with the ProviderID before installing CSI driver with the following command: ``` @@ -40,7 +40,7 @@ The Cloud Provider Interface (CPI) should be installed first before installing t ### 3. Installing the CSI plugin 1. From the **Cluster Explorer** view, go to the top left dropdown menu and click **Apps & Marketplace.** -1. Select the **vsphere-csi** chart. Fill out the required vCenter details. +1. Select the **vSphere CSI** chart. Fill out the required vCenter details. 2. Set **Enable CSI Migration** to **false**. 3. This chart creates a StorageClass with the `csi.vsphere.vmware.com` as the provisioner. Fill out the details for the StorageClass and launch the chart. @@ -51,4 +51,4 @@ The CSI chart by default creates a storageClass. If that option was not selected while launching the chart, create a storageClass with the `csi.vsphere.vmware.com` as the provisioner. -All volumes provisioned using this StorageClass will get provisioned by the CSI driver. \ No newline at end of file +All volumes provisioned using this StorageClass will get provisioned by the CSI driver.