This is an automated email from the ASF dual-hosted git repository.
vishesh pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/cloudstack-documentation.git
The following commit(s) were added to refs/heads/main by this push:
new b275541 feature: tagged resource limits (#379)
b275541 is described below
commit b275541cd8a41e008cd0ec1bf39bee4f6f886676
Author: Abhishek Kumar <[email protected]>
AuthorDate: Tue Feb 27 15:58:29 2024 +0530
feature: tagged resource limits (#379)
* feature: tagged resource limits
https://github.com/apache/cloudstack/pull/8362
Signed-off-by: Abhishek Kumar <[email protected]>
* missing
Signed-off-by: Abhishek Kumar <[email protected]>
* update template tag details
Signed-off-by: Abhishek Kumar <[email protected]>
* instance deploy
Signed-off-by: Abhishek Kumar <[email protected]>
* Update source/adminguide/usage.rst
Co-authored-by: Suresh Kumar Anaparti <[email protected]>
* Update source/adminguide/usage.rst
Co-authored-by: Vishesh <[email protected]>
---------
Signed-off-by: Abhishek Kumar <[email protected]>
Co-authored-by: Suresh Kumar Anaparti <[email protected]>
Co-authored-by: Vishesh <[email protected]>
---
source/_static/images/account-limits.png | Bin 0 -> 72507 bytes
.../_static/images/template-upload-from-local.png | Bin 60194 -> 72052 bytes
source/_static/images/zone-capacities.png | Bin 0 -> 120230 bytes
source/adminguide/templates.rst | 3 +++
source/adminguide/usage.rst | 21 +++++++++++++++++++++
source/adminguide/virtual_machines.rst | 5 +++--
6 files changed, 27 insertions(+), 2 deletions(-)
diff --git a/source/_static/images/account-limits.png
b/source/_static/images/account-limits.png
new file mode 100644
index 0000000..63658b1
Binary files /dev/null and b/source/_static/images/account-limits.png differ
diff --git a/source/_static/images/template-upload-from-local.png
b/source/_static/images/template-upload-from-local.png
index e147848..d1632ea 100644
Binary files a/source/_static/images/template-upload-from-local.png and
b/source/_static/images/template-upload-from-local.png differ
diff --git a/source/_static/images/zone-capacities.png
b/source/_static/images/zone-capacities.png
new file mode 100644
index 0000000..f218a40
Binary files /dev/null and b/source/_static/images/zone-capacities.png differ
diff --git a/source/adminguide/templates.rst b/source/adminguide/templates.rst
index 7429c6e..a1346a6 100644
--- a/source/adminguide/templates.rst
+++ b/source/adminguide/templates.rst
@@ -268,6 +268,9 @@ To upload a Template:
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
obtained from the Template after it is registered.
+ - **Tag**: The tag for the template. This tag can be used with host tags to
+ allow deployment of Instances on specific hosts.
+
- **Userdata**: The registered Userdata are listed. Select the
desired one.
diff --git a/source/adminguide/usage.rst b/source/adminguide/usage.rst
index 6467b7e..773c693 100644
--- a/source/adminguide/usage.rst
+++ b/source/adminguide/usage.rst
@@ -263,6 +263,23 @@ max.project.secondary.storage (GB) Maximum secondary
storage space that can be
Default is 400.
===================================
=================================================================
+The administrator can also set limits for specific tagged host and storage
+resources for an account or domain. Such tags must be specified in the
following
+global settings:
+
+- `resource.limit.host.tags` - A comma-separated list of tags for host
resource limits. It applies to resource types - User VM, CPU, Memory.
+- `resource.limit.storage.tags` - A comma-separated list of tags for storage
resource limits. It applies to resource types - Volume, Primary storage.
+
+The limits for tagged resources are a subset of the overall limits and the
maximum
+can be the value of the overall limit for the particular resource type.
+
+|accountlimits.png|
+
+The administrator can view used and available capacity of such tagged resource
+along with the overall capacities in the zone and cluster view in the UI.
+
+|zonecapacities.png|
+
User Permission
~~~~~~~~~~~~~~~
@@ -931,3 +948,7 @@ aggregation.
.. |editbutton.png| image:: /_static/images/edit-icon.png
:alt: edits the settings.
+.. |accountlimits.png| image:: /_static/images/account-limits.png
+ :alt: Configure account resource limits in UI.
+.. |zonecapacities.png| image:: /_static/images/zone-capacities.png
+ :alt: Resource capacities for a zone.
diff --git a/source/adminguide/virtual_machines.rst
b/source/adminguide/virtual_machines.rst
index 5a93a54..90d041a 100644
--- a/source/adminguide/virtual_machines.rst
+++ b/source/adminguide/virtual_machines.rst
@@ -136,8 +136,9 @@ To create an Instance from a Template:
#. Select a Template or ISO. For more information about how the Templates came
to be in this list, see `*Working with Templates* <templates.html>`_.
-#. Be sure that the hardware you have allows starting the selected
- service offering.
+#. Select a service offering. Be sure that the hardware you have allows
starting the selected
+ service offering. If the selected template has a tag associated with it
+ then only supported service offerings will be available for the selection.
#. Select a disk offering.