Skip to content

Commit b275541

Browse files
shwstpprsureshanapartivishesh92
authored
feature: tagged resource limits (#379)
* feature: tagged resource limits apache/cloudstack#8362 Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com> * missing Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com> * update template tag details Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com> * instance deploy Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com> * Update source/adminguide/usage.rst Co-authored-by: Suresh Kumar Anaparti <sureshkumar.anaparti@gmail.com> * Update source/adminguide/usage.rst Co-authored-by: Vishesh <vishesh92@gmail.com> --------- Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com> Co-authored-by: Suresh Kumar Anaparti <sureshkumar.anaparti@gmail.com> Co-authored-by: Vishesh <vishesh92@gmail.com>
1 parent 2a39789 commit b275541

File tree

6 files changed

+27
-2
lines changed

6 files changed

+27
-2
lines changed
70.8 KB
Loading
11.6 KB
Loading
117 KB
Loading

source/adminguide/templates.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,9 @@ To upload a Template:
268268
selecting an OS Type when registering a Template if the option 'Read Instance settings from OVA' is selected. In this case, the OS Type is
269269
obtained from the Template after it is registered.
270270

271+
- **Tag**: The tag for the template. This tag can be used with host tags to
272+
allow deployment of Instances on specific hosts.
273+
271274
- **Userdata**: The registered Userdata are listed. Select the
272275
desired one.
273276

source/adminguide/usage.rst

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,23 @@ max.project.secondary.storage (GB) Maximum secondary storage space that can be
263263
Default is 400.
264264
=================================== =================================================================
265265

266+
The administrator can also set limits for specific tagged host and storage
267+
resources for an account or domain. Such tags must be specified in the following
268+
global settings:
269+
270+
- `resource.limit.host.tags` - A comma-separated list of tags for host resource limits. It applies to resource types - User VM, CPU, Memory.
271+
- `resource.limit.storage.tags` - A comma-separated list of tags for storage resource limits. It applies to resource types - Volume, Primary storage.
272+
273+
The limits for tagged resources are a subset of the overall limits and the maximum
274+
can be the value of the overall limit for the particular resource type.
275+
276+
|accountlimits.png|
277+
278+
The administrator can view used and available capacity of such tagged resource
279+
along with the overall capacities in the zone and cluster view in the UI.
280+
281+
|zonecapacities.png|
282+
266283

267284
User Permission
268285
~~~~~~~~~~~~~~~
@@ -931,3 +948,7 @@ aggregation.
931948

932949
.. |editbutton.png| image:: /_static/images/edit-icon.png
933950
:alt: edits the settings.
951+
.. |accountlimits.png| image:: /_static/images/account-limits.png
952+
:alt: Configure account resource limits in UI.
953+
.. |zonecapacities.png| image:: /_static/images/zone-capacities.png
954+
:alt: Resource capacities for a zone.

source/adminguide/virtual_machines.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,8 +136,9 @@ To create an Instance from a Template:
136136
#. Select a Template or ISO. For more information about how the Templates came
137137
to be in this list, see `*Working with Templates* <templates.html>`_.
138138

139-
#. Be sure that the hardware you have allows starting the selected
140-
service offering.
139+
#. Select a service offering. Be sure that the hardware you have allows starting the selected
140+
service offering. If the selected template has a tag associated with it
141+
then only supported service offerings will be available for the selection.
141142

142143
#. Select a disk offering.
143144

0 commit comments

Comments
 (0)