Andromeda configuration options
A list of all available configuration options for Andromeda.
Unlike PERSEUS, Andromeda is not configured with environment variables. Its configuration is stored in PERSEUS and
loaded by Andromeda on startup via GET /service/Andromeda/config. It consists of:
- Enabled modules - which parts of Andromeda are available
- Module configurations - one JSON object per module
- Branding - colors and logos
The environment variables of the Andromeda container itself (e.g. the URL of the gateway) are described in Install Andromeda.
How to change the configuration
Section titled “How to change the configuration”Modules and their configurations are managed in the PERSEUS frontend with the Andromeda module manager
(role OWNER). Alternatively, the following endpoints can be used with an API token:
| Method | Endpoint | Description |
|---|---|---|
| GET | /service/Andromeda/config | Returns the complete Andromeda configuration |
| POST | /service/Andromeda/module/<module> | Enables a module |
| DELETE | /service/Andromeda/module/<module> | Disables a module (its configuration is kept) |
| POST | /service/Andromeda/module/<module>/config | Sets the configuration of a module. The request body is the new configuration as a JSON object. |
Changes take effect the next time Andromeda is loaded in the browser.
Enabled modules
Section titled “Enabled modules”Only enabled modules are shown in Andromeda. Routes and menu entries of disabled modules are not available.
| Module | Description | Enabled by default |
|---|---|---|
home | Start page | yes |
login | Login page and login button in the navigation bar | yes |
logout | Logout | yes |
profile | Profile of the logged-in user (name, affiliation, SSH keys, linked accounts …) | yes |
my-projects | Projects of the logged-in user, compute project details and the
project manager. See | yes |
compute-proposal | Online form for compute time proposals. See
| no |
support-tickets | Form for support tickets | no |
system-status | Public page with the status of all clusters and services | no |
status-bar | Compact system status on the start page. Links to the system
status page if | no |
global-alert | Banner below the navigation bar for current announcements | no |
project-overview | Public list of projects (“Browse projects”) with search, filters and a detail page per project | no |
The modules not listed in the following section have no configuration options.
Module configurations
Section titled “Module configurations”compute-proposal
Section titled “compute-proposal”Controls the online form for compute time proposals. Most options are defined per project type: the keys of these
objects are the project type IDs used in PERSEUS (e.g. small, normal, large).
| Option | Type | Description | Default value |
|---|---|---|---|
| project_types | list[str] | Project types users can choose in the proposal form, in this order | [] |
| purposes | list[str] | Selectable purposes of a project, e.g. “PhD thesis”. The first entry is preselected. | [] |
| minimum_lead_days | int | Minimum number of days between today and the start of the project. The end date must be at least one day after this earliest start date. | 5 |
| abbreviation_prefix | str | Prefix added to every project abbreviation, e.g.
| none |
| fixed_length | dict | Project types with a fixed project end. The value is either a
fixed end date (ISO 8601, e.g. | {} |
| allowed_resources | dict | Resources that can be requested per project type. Resources not listed here cannot be requested for that type. See allowed resource. | {} |
| resource_limits | dict | Limits for the sum of several resources per project type, e.g. the total of CPU core hours across all clusters. See resource limit. | {} |
| alternative_names | list | Names that are shown in the proposal form instead of the names of clusters or resources in PERSEUS. See alternative name. | [] |
| allowed_scientific_fields | list | Scientific fields users can choose from. Each entry has the
attributes | [] |
| selectable_funding | list | Funding sources users can specify. See funding. | [] |
| required_checkboxes | list | Checkboxes in the last step of the form, e.g. to accept terms of use. They are only shown to the principal investigator. See checkbox. | [] |
| info_texts | dict | Help texts shown next to form fields. Markdown is supported.
Available keys: | {} |
Allowed resource
Section titled “Allowed resource”| Attribute | Type | Description |
|---|---|---|
| resource_id | str | ID of the resource in the resource manager |
| min |
| Minimum amount that must be requested |
| max |
| Maximum amount that can be requested |
| required |
| If |
Resource limit
Section titled “Resource limit”| Attribute | Type | Description |
|---|---|---|
| resource_ids | list[str] | Resources whose requested amounts are added up for this limit |
| min |
| Minimum for the sum |
| max |
| Maximum for the sum |
Alternative name
Section titled “Alternative name”| Attribute | Type | Description |
|---|---|---|
| type | str |
|
| id | str | ID of the cluster or resource for which another display name should be used in the proposal form |
| name | str | Name shown in the proposal form |
Funding
Section titled “Funding”| Attribute | Type | Description |
|---|---|---|
| name | str | Name of the funding source, e.g. “DFG” |
| identifier_link_prefix |
| URL prefix for the grant identifier, e.g.
|
| add_institution |
| If |
| info_text |
| Help text for this funding source (Markdown) |
Checkbox
Section titled “Checkbox”| Attribute | Type | Description |
|---|---|---|
| id | str | Unique ID; the value is stored with the proposal |
| label | str | Text next to the checkbox |
| required |
| If |
Example
Section titled “Example”{ "project_types": ["small", "normal"], "purposes": ["Research project", "PhD thesis", "Lecture or workshop"], "minimum_lead_days": 5, "abbreviation_prefix": "hpc-prf-", "fixed_length": { "small": { "years": 1, "months": 0, "weeks": 0, "days": 0 } }, "allowed_resources": { "small": [ { "resource_id": "noctua2_cpu_core_h", "max": 4000000 }, { "resource_id": "noctua2_a100_h", "max": 10000 }, { "resource_id": "project_storage", "min": 107374182400, "required": true } ] }, "resource_limits": { "small": [ { "resource_ids": ["noctua2_cpu_core_h", "otus_cpu_core_h"], "min": 10000, "max": 4000000 } ] }, "alternative_names": [ { "type": "resource", "id": "project_storage", "name": "Permanent project storage" } ], "allowed_scientific_fields": [ { "version": "2016", "subject_id": "409", "scientific_discipline": "Engineering Sciences", "research_area": "Computer Science, Electrical and System Engineering", "name": "Computer Science" } ], "selectable_funding": [ { "name": "DFG", "identifier_link_prefix": "https://gepris.dfg.de/gepris/projekt/" }, { "name": "Other", "add_institution": true } ], "required_checkboxes": [ { "id": "terms", "label": "I accept the terms of use", "required": true } ], "info_texts": { "purpose": "Choose the purpose that fits **best**.", "start": "Projects start at the earliest 5 days after submission." }}my-projects
Section titled “my-projects”Controls the list of projects, the compute project details and the project manager.
| Option | Type | Description | Default value |
|---|---|---|---|
| overview-data | str |
| ”PRIORITIES” |
| cluster_resources_danger_threshold |
| Share of a granted resource from which its usage bar in the
compute project details is shown as critical, e.g.
| 0.9 |
Example
Section titled “Example”{ "overview-data": "JOBS", "cluster_resources_danger_threshold": 0.8}Branding
Section titled “Branding”Colors and logos of Andromeda are part of the Andromeda configuration as well. They are applied in light and dark mode.
| Option | Type | Description | Default value |
|---|---|---|---|
| theme | dict | MUI theme options (see the MUI
documentation
), merged with the default theme of Andromeda. Usually only the
palette is changed. Do not set
| Primary color |
| icon_sm | str | None | Small logo in the navigation bar, as Base64-encoded PNG or as
data URL (e.g. |
|
| icon_lg | str | None | Large logo in the footer, same format as |
|
Example
Section titled “Example”{ "palette": { "primary": { "main": "#4d998b" }, "secondary": { "main": "#826cc6" } }}