Skip to content
This repository has been archived by the owner on Mar 25, 2023. It is now read-only.

Resource Limits Management Plugin

MaslovaEV edited this page Feb 1, 2019 · 4 revisions

Overview

We introduced a new plugin that allows Domain Administrators to manage resource quotas, and users to change resource limits within the quotas set by Administrator. The extension helps a user to reasonably utilize resources and avoid such situations when one has extra resources that are not used but accounted in billing. Having access to the resource limits, a user does not need to request an administrator for limit change as it was previously. With the new plugin, a user can do it oneself.

The extension uses 2 backend plugins:

Follow the provided links to get detailed deployment instructions for the plugins. You will need access to the projects for that.

After the backend plugins are deployed and configured, it is time to enable and configure the Resource Limits Management UI-plugin via the config.json file (see the configuration guide). Once the UI-plugin is activated, users and administrators get access to resource management via the UI.

The Resource quotas section is available for Administrators:

The Update resources option is available for users:

Plugin Deployment

The detailed instructions on the backend plugins deployment are presented at the project pages (at the above links) if you have access to them.

In general, to enable the Resource Limits Management UI-plugin you will need to:

  • Install and configure the µAPI Gateway backend plugin in CloudStack.
  • Deploy the Resource Limits Management backend plugin.
  • Enable and configure the UI extension via the config.json file (see below or in the configuration guide).

Resource Limits Management Configurations

Please enable resourceLimits in the extensions section of the config.json:

 "extensions": {
    ...,
    "resourceLimits": true
  }

Add necessary configurations, for example:

"resourceLimits": {
  "realm": "resource-limits",
  "env": "prod"
}

where:

  • realm is the realm of the configured gateway.
  • env is the environment of the configured gateway.