VDCs
A VDC (virtual data center) is a part of the cluster where the virtual machines (VMs), networks and routers of one team or one customer are placed. A user sees only the VDCs where they have a role, and only the resources of those VDCs.
A VDC has quotas: how many cores, how much memory and how much storage its VMs can take, and how much storage their snapshots can take. Cluster master creates and configures a VDC and assigns roles in it.
VDC purpose
A cluster is usually shared by several teams or customers. A VDC separates them along two axes:
- Access. A user of one VDC does not see the VMs and networks of another.
- Resources. A quota keeps one VDC from taking all the cores, memory and storage of the cluster.
It is recommended to create a separate VDC for each team or customer that needs its own access or resource boundaries.
What a VDC includes
- A VM belongs to one VDC; you can move it to another one — Move a VM to another VDC.
- A network belongs to the cluster; it is only assigned to VDCs. A VM connects only to the networks of its own VDC. A network shared by two VDCs puts their VMs in one network: a VDC by itself does not isolate traffic.
- A router connects the networks of a VDC — Routers.
The Provider Data Center menu item shows the resources of the whole cluster; it is not a separate VDC.
Quotas
A quota is the upper limit of a resource for all VMs of a VDC together, not a reservation: a VDC does not reserve cluster resources for itself. Center does not compare the sum of quotas with the cluster capacity: you can set quotas larger than what the cluster has.
An empty quota means no limit. If a quota is insufficient, Center rejects the action, while running VMs continue to run.
| Quota | What counts as used | When Center checks |
|---|---|---|
| CPU (cores) | cores of running VMs | when a VM starts, restarts or resumes |
| RAM (GB) | memory of running VMs | when a VM starts, restarts or resumes |
| Storage (GB) | disks of all VMs | when a VM is created or cloned, and when a disk is added or expanded |
| Snapshots (GB) | storage used by VM snapshots | when a VM snapshot is created |
A powered-off or suspended VM does not count against the CPU and RAM quotas, but its disks count against the storage quota. What 0 and a value below the used amount mean — Set VDC quotas.
Center checks the snapshot quota against the storage already used: while snapshots use less than the quota, a new snapshot is created, and how much storage it takes later is not known in advance.
Roles
VDC roles — VDC admin, VDC user, VDC viewer, Vm Developer — apply only where they are assigned. They grant no permissions on nodes, pools or cluster settings. A user can have different roles in different VDCs. Permissions of each role — Roles and privileges.