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 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 version v4.0.4 is published.
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: Specifies the plugin version to install, must match.spec.versionin ModuleConfig.
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