Install
TOC
Prerequisites
- ACP version: >= v4.2
- AC CLI version: >= v1.1
- This plugin must be installed before the global cluster failure occurs.
Download and Import
-
Login to AlaudaCloud and download the latest Alauda Container Platform Cluster Authentication plugin package.
-
Use violet to push the Alauda Container Platform Cluster Authentication plugin to ACP:
Install via Web Console
-
Verify the upload:
- Navigate to Administrator > Marketplace > Upload Packages
- Switch to the Cluster Plugin tab
- Locate the uploaded plugin name
- The plugin details will show the version(s) of the uploaded package
-
Install the plugin:
- If the plugin shows a "ready" status, click Install
Install via CLI
1. Check Available Versions
Ensure the plugin has been published by checking for ModulePlugin and ModuleConfig resources in the global cluster:
This indicates that the ModulePlugin local-auth exists in the cluster and is available for installation.
2. Create a ModuleInfo
Create a ModuleInfo resource to install the plugin. The following example includes common configuration parameters:
Field Explanations
Metadata Fields:
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: Specifies the cluster where the plugin should be installed.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 Fields:
.spec.version: Specifies the plugin version to install, must match.spec.versionin ModuleConfig.