Install Alauda Container Platform API Refiner
Alauda Container Platform API Refiner is a platform service that filters Kubernetes API response data. It provides filtering capabilities by project, cluster, and namespace, and supports field exclusion, inclusion, and desensitization in API responses.
TOC
Install via consoleInstall via YAML1. Check available versions2. Create a ModuleInfoUninstallation ProceduresDefault ConfigurationFiltered ResourcesField DesensitizationInstall via console
- Navigate to Administrator
- In the left navigation bar, click Marketplace > Cluster Plugins
- Select the global cluster in the top navigation bar
- Search for Alauda Container Platform API Refiner and click to view its details
- Click Install to deploy the plugin
Install via YAML
1. Check available versions
Ensure the plugin has been published by checking for ModulePlugin and ModuleConfig resources, in global cluster :
This indicates that the ModulePlugin apirefiner exists in the cluster and the listed versions are published. <version> stands for a published version.
2. Create a ModuleInfo
Create a ModuleInfo resource to install the plugin without any configuration parameters:
Field explanations:
name: Temporary name for the cluster plugin. The platform will rename it after creation based on the content, in the format<cluster-name>-<hash of content>, e.g.,global-ee98c9991ea1464aaa8054bdacbab313.label cpaas.io/cluster-name: API Refiner only can be installed in theglobalcluster, keep this filed as global.label cpaas.io/module-name: Plugin name, must match the ModulePlugin resource.label cpaas.io/module-type: Fixed field, must beplugin; missing this field causes installation failure..spec.config: If the corresponding ModuleConfig is empty, this field can be left empty..spec.version: The plugin version to install. Replace<version>with the.spec.versionof the ModuleConfig that you want to install. To view it, runkubectl get moduleconfigs <moduleconfig-name> -o yamlin theglobalcluster, where<moduleconfig-name>is one of the names that step 1 lists.
Uninstallation Procedures
- Follow steps 1-4 from the installation process to locate the plugin
- Click Uninstall to remove the plugin
Default Configuration
Filtered Resources
The following resources are filtered by default:
Field Desensitization
By default, the following field is desensitized:
metadata.annotations.cpaas.io/creator