diff --git a/content/rancher/v2.x/en/tasks/clusters/creating-a-cluster/create-cluster-vsphere/_index.md b/content/rancher/v2.x/en/tasks/clusters/creating-a-cluster/create-cluster-vsphere/_index.md index 54fbf657e77..7dc13b55153 100644 --- a/content/rancher/v2.x/en/tasks/clusters/creating-a-cluster/create-cluster-vsphere/_index.md +++ b/content/rancher/v2.x/en/tasks/clusters/creating-a-cluster/create-cluster-vsphere/_index.md @@ -5,6 +5,39 @@ weight: 3375 --- Use {{< product >}} to create a Kubernetes cluster in vSphere. +### Prerequisites + +Before setting up a cluster in vSphere, you must ensure that you have a user in vSphere with sufficient permissions to create a Rancher cluster. + +1. From the **vSphere** console, go to the **Administration** page. + +2. Go to the **Roles** tab. + +3. Create a new *Role*. Give it a name and select the **Datastore**, **Network**, **Resource**, and **Virtual machine** *privileges*. + +![image](./rancherroles1.png) +![image](./rancherroles2.png) + +4. Go to the **Users and Groups** tab. + +5. Create a new *User*. Fill out the form and then click **ok**. Make sure to note the username and password as you will need it when creating a cluster in Rancher. + +![image](./rancheruser.png) + +6. Go to the **Global Permissions** tab. + +7. Create a new *Global Permission*. Add the *User* you created earlier and assign it the Role you created earlier. Click **ok**. + +![image](./globalpermissionuser.png) +![image](./globalpermissionrole.png) +![image](./globalpermissionfinal.png) + +Now you have a user that is able to successfully create and manager Rancher clusters in vSphere. + +### Creating vSphere Clusters + +To create the cluster. + 1. From the **Clusters** page, click **Add Cluster**. 2. Choose **vSphere**. diff --git a/content/rancher/v2.x/en/tasks/clusters/creating-a-cluster/create-cluster-vsphere/globalpermissionfinal.png b/content/rancher/v2.x/en/tasks/clusters/creating-a-cluster/create-cluster-vsphere/globalpermissionfinal.png new file mode 100644 index 00000000000..fe8b197e2ad Binary files /dev/null and b/content/rancher/v2.x/en/tasks/clusters/creating-a-cluster/create-cluster-vsphere/globalpermissionfinal.png differ diff --git a/content/rancher/v2.x/en/tasks/clusters/creating-a-cluster/create-cluster-vsphere/globalpermissionrole.png b/content/rancher/v2.x/en/tasks/clusters/creating-a-cluster/create-cluster-vsphere/globalpermissionrole.png new file mode 100644 index 00000000000..b232016beba Binary files /dev/null and b/content/rancher/v2.x/en/tasks/clusters/creating-a-cluster/create-cluster-vsphere/globalpermissionrole.png differ diff --git a/content/rancher/v2.x/en/tasks/clusters/creating-a-cluster/create-cluster-vsphere/globalpermissionuser.png b/content/rancher/v2.x/en/tasks/clusters/creating-a-cluster/create-cluster-vsphere/globalpermissionuser.png new file mode 100644 index 00000000000..463d2ac4a89 Binary files /dev/null and b/content/rancher/v2.x/en/tasks/clusters/creating-a-cluster/create-cluster-vsphere/globalpermissionuser.png differ diff --git a/content/rancher/v2.x/en/tasks/clusters/creating-a-cluster/create-cluster-vsphere/rancherroles1.png b/content/rancher/v2.x/en/tasks/clusters/creating-a-cluster/create-cluster-vsphere/rancherroles1.png new file mode 100644 index 00000000000..b416a008573 Binary files /dev/null and b/content/rancher/v2.x/en/tasks/clusters/creating-a-cluster/create-cluster-vsphere/rancherroles1.png differ diff --git a/content/rancher/v2.x/en/tasks/clusters/creating-a-cluster/create-cluster-vsphere/rancherroles2.png b/content/rancher/v2.x/en/tasks/clusters/creating-a-cluster/create-cluster-vsphere/rancherroles2.png new file mode 100644 index 00000000000..9d8fc1cd366 Binary files /dev/null and b/content/rancher/v2.x/en/tasks/clusters/creating-a-cluster/create-cluster-vsphere/rancherroles2.png differ diff --git a/content/rancher/v2.x/en/tasks/clusters/creating-a-cluster/create-cluster-vsphere/rancheruser.png b/content/rancher/v2.x/en/tasks/clusters/creating-a-cluster/create-cluster-vsphere/rancheruser.png new file mode 100644 index 00000000000..5dc8dcd4429 Binary files /dev/null and b/content/rancher/v2.x/en/tasks/clusters/creating-a-cluster/create-cluster-vsphere/rancheruser.png differ