Tools Menu Configuration
This document describes how to add custom tool links to the Tools section in the left navigation, for example integrating MLFlow.
Starting with AML 1.3, the Tools menu is no longer maintained by manually editing kube-public/centraldashboard-config. Instead, an auto-discovery mechanism is used: the system scans all ConfigMap resources labeled with
aml.cpaas.io/centralMenuItem: "true" and automatically merges them to generate the Tools menu configuration.
Do not manually edit kube-public/centraldashboard-config. Any manual changes will be reverted during upgrades or restarts.
TOC
Add a Tools Menu Item
You can add a new entry to the Tools menu by creating a ConfigMap that follows the required format.
Example (MLFlow):
Field Description
-
link: The URL to open when the menu item is clicked -
parentUid: Must be set toadvanced, which mounts the item under the Tools menu -
title / titleI18N: Display name of the menu item, with internationalization support -
tags: When installing Alauda AI, the system aggregates multipleConfigMapsinto a singleConfigMap. During this aggregation process, the system automatically adds anaml-feature-tagsfield to the merged configuration. By default, this field contains built-in tags such asaddon,core,datasets,pretrain,tune-models, andworkbench.In the example above, if a menu item defines
tagsaskubeflow, thenaml-feature-tagswill also include thiskubeflowentry. The left navigation aggregation mechanism uses a whitelist design. For example, after running the following command, only navigation items whosetagscontainkubeflowwill be displayed on the page:All other tags that do not match
kubeflowwill be evaluated asfalseduring the filtering process and therefore excluded from the navigation. -
order: Menu ordering value; smaller numbers appear earlier
Result
-
After the ConfigMap is created, its content is automatically merged into the
datasection ofcentraldashboard-config, for example: -
A corresponding menu item will appear under Tools in the left navigation
-
An arrow icon will be displayed on the right side of the menu item, indicating an external page
-
Clicking the menu item opens the URL specified in the
linkfield in a new page