Install Via YAML
TOC
When to Use This Method?
Recommended for:
- Advanced users with Kubernetes expertise who prefer a manual approach.
- Production-grade deployments requiring enterprise storage (NAS, AWS S3, Ceph, etc.).
- Environments needing fine-grained control over TLS, ingress.
- Full YAML customization for advanced configurations.
Prerequisites
- Install the Alauda Container Platform Registry cluster plugin to a target cluster.
- Access to the target Kubernetes cluster with kubectl configured.
- Cluster admin permissions to create cluster-scoped resources.
- Obtain a registered domain (e.g., registry.yourcompany.com) Create a Domain
- Provide valid NAS storage (e.g., NFS, GlusterFS, etc.).
- (Optional) Provide valid S3 storage (e.g., AWS S3, Ceph, etc.). If no existing S3 storage is available, deploy a MinIO (Built-in S3) instance in the cluster Deploy MinIO.
Installing Alauda Container Platform Registry via YAML
Procedure
-
Create a YAML configuration file named registry-plugin.yaml with the following template:
-
Customize the following fields according to your environment:
-
How to create a secret for S3 credentials:
Replace
<S3-CREDENTIALS-SECRET>with the name of your S3 credentials secret. -
Apply the configuration to your cluster:
Configuration Reference
Mandatory Fields
Verification
- Check plugin:
- Verify registry pods:
Updating/Uninstalling Alauda Container Platform Registry
Update
Execute the following command on the global cluster and update the values in the resource according to the parameter descriptions provided above to complete the update:
Uninstall
Execute the following command on the global cluster: