Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implicit host tags on KVM #392

Merged
merged 6 commits into from
May 30, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions source/adminguide/host_and_storage_tags.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,18 @@ Host tags
---------
Host tags are responsible for directing VMs to compatible hosts. They are validated with the host tags informed in the compute offerings or in the system offerings.

There are two types of host tags:

- (Explicit) host tags: the host tags are managed by CloudStack. Users can set, update, and delete host tags via CloudStack API or GUI.
weizhouapache marked this conversation as resolved.
Show resolved Hide resolved
- Implicit host tags: the host tags are not managed by CloudStack API.
weizhouapache marked this conversation as resolved.
Show resolved Hide resolved

.. note::
Currently the implicit host tags are only configurable on KVM hosts.
weizhouapache marked this conversation as resolved.
Show resolved Hide resolved
To set it, please add the following line to /etc/cloudstack/agent/agent.properties
and restart cloudstack-agent.

host.tags=<implicit host tags separated by comma>

To explain the behavior of host tags, some examples will be demonstrated with two hosts (Host1 and Host2):

#. Tag setup:
Expand Down
Loading