Update _index.md

This commit is contained in:
Denise
2021-03-03 17:39:56 -08:00
committed by GitHub
parent 678597771d
commit 7dd2ef2abb
@@ -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.
All volumes provisioned using this StorageClass will get provisioned by the CSI driver.