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

Support multi-scope configuration settings #476

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

abh1sar
Copy link
Contributor

@abh1sar abh1sar commented Feb 3, 2025

@abh1sar abh1sar changed the title Add allocation and disable thresholds per storage pool Support multi-scope configuration settings Feb 5, 2025
@abh1sar
Copy link
Contributor Author

abh1sar commented Feb 5, 2025

@blueorangutan docbuild

@DaanHoogland
Copy link
Contributor

@blueorangutan docbuild

not sure if the ape accepts corrections ;)
@blueorangutan docbuild

@blueorangutan
Copy link

@DaanHoogland a Jenkins job has been kicked to build the document. I'll keep you posted as I make progress.

@blueorangutan
Copy link

QA-Doc build preview: https://qa.cloudstack.cloud/builds/docs-build/pr/476. (QA-JID 306)

@shwstppr
Copy link
Contributor

shwstppr commented Feb 5, 2025

@abh1sar can you please add a diagram depicting hierarchy for different scopes?

@abh1sar
Copy link
Contributor Author

abh1sar commented Feb 5, 2025

@abh1sar can you please add a diagram depicting hierarchy for different scopes?

@shwstppr although we have defined a hierarchy for each scope in the code, this general information is not useful for the admin, unless we are talking about specific settings and their scopes.
I mean to say no setting currently is configurable at both cluster and zone levels. So even if we mention that zone is the parent of cluster scope, it is not usable by the admin.
Information on hierarchy is more useful for developer who are changing the scope of a configuration.
So I didn't put it in the installguide/configurations sections. Should we put that info someplace else?

@shwstppr
Copy link
Contributor

shwstppr commented Feb 6, 2025

@abh1sar can you please add a diagram depicting hierarchy for different scopes?

@shwstppr although we have defined a hierarchy for each scope in the code, this general information is not useful for the admin, unless we are talking about specific settings and their scopes. I mean to say no setting currently is configurable at both cluster and zone levels. So even if we mention that zone is the parent of cluster scope, it is not usable by the admin. Information on hierarchy is more useful for developer who are changing the scope of a configuration. So I didn't put it in the installguide/configurations sections. Should we put that info someplace else?

I see it has been added to code PR description which should be enough for now.

Copy link
Contributor

@shwstppr shwstppr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor comment otherwise lgtm

Use the following steps to set local configuration parameters for an
account, zone, cluster, or primary storage. These values will override
the global configuration settings.
Configurations can also be set at more granular levels.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we emphasize somewhere level = scope?

Copy link
Contributor

@harikrishna-patnala harikrishna-patnala left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants