Skip to content
This repository was archived by the owner on Apr 22, 2020. It is now read-only.

Commit 671543c

Browse files
authored
Merge pull request #360 from divyenpatel/vSphere-Roles-And-Permissions
Adding minimal privileges required for kubernetes-Anywhere
2 parents 98bb9d9 + 4e4d171 commit 671543c

File tree

1 file changed

+30
-1
lines changed

1 file changed

+30
-1
lines changed

phase1/vsphere/README.md

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,36 @@
1010
* `docker-engine` for executing the `kubernetes-anywhere` deployment which can be downloaded [here](https://docs.docker.com/engine/installation/).
1111
* `make` for entering the deployment environment.
1212
* Kubernetes Anywhere is tested on vSphere deployments with vCenter, single node vSphere without vCenter is not supported.
13+
* vCenter user with following minimal set of privileges.
14+
```
15+
Datastore > Allocate space
16+
Datastore > Low level file Operations
17+
Folder > Create Folder
18+
Folder > Delete Folder
19+
Network > Assign network
20+
Resource > Assign virtual machine to resource pool
21+
Virtual machine > Configuration > Add new disk
22+
Virtual Machine > Configuration > Add existing disk
23+
Virtual Machine > Configuration > Add or remove device
24+
Virtual Machine > Configuration > Change CPU count
25+
Virtual Machine > Configuration > Change resource
26+
Virtual Machine > Configuration > Memory
27+
Virtual Machine > Configuration > Modify device settings
28+
Virtual Machine > Configuration > Remove disk
29+
Virtual Machine > Configuration > Rename
30+
Virtual Machine > Configuration > Settings
31+
Virtual machine > Configuration > Advanced
32+
Virtual Machine > Interaction > Power off
33+
Virtual Machine > Interaction > Power on
34+
Virtual Machine > Inventory > Create from existing
35+
Virtual Machine > Inventory > Create new
36+
Virtual Machine > Inventory > Remove
37+
Virtual Machine > Provisioning > Clone virtual machine
38+
Virtual Machine > Provisioning > Customize
39+
Virtual Machine > Provisioning > Read customization specifications
40+
vApp > Import
41+
```
42+
**Note: vSphere Cloud Provider doesn't need these many privileges. These privileges are required for deployment of Kubernetes Cluster using Kubernetes-Anywhere. Please refer [vSphere Cloud Provider Guide](https://kubernetes.io/docs/getting-started-guides/vsphere/) for minimal set of privileges required for vSphere Cloud Provider.**
1343

1444
## Deployment
1545

@@ -268,7 +298,6 @@ If make destroy fails due to a [known issue](https://github.com/kubernetes/kuber
268298
1. ```make destroy``` is [flaky.](https://github.com/kubernetes/kubernetes-anywhere/issues/285)
269299
2. [Photon OS template needs to be in the same cluster as kubernetes VMs.](https://github.com/kubernetes/kubernetes-anywhere/issues/300)
270300
3. [Only a single kubernetes cluster can exist in a resource pool.](https://github.com/kubernetes/kubernetes-anywhere/issues/296)
271-
4. [Can not execute command in a container using kubectl exec](https://github.com/kubernetes/kubernetes-anywhere/issues/337)
272301

273302
## Troubleshooting
274303
### Logging into the VMs

0 commit comments

Comments
 (0)