Install by Using YAML
TOC
Use CasesPrerequisitesInstall Registry Using YAMLProcedureConfiguration ReferenceMandatory FieldsVerificationUpdate Or Uninstall RegistryUpdateUninstallUse Cases
Use YAML installation for:
- Advanced users with Kubernetes expertise who prefer a manual approach.
- Deployments that require externally managed storage, such as NAS, S3-compatible object storage, or Ceph.
- Environments needing fine-grained control over TLS and ingress.
- Full YAML customization for advanced configurations.
Prerequisites
- Install the 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, such as
registry.example.com. For domain configuration, see Create a Domain. - Provide valid NAS storage, such as NFS.
- Optional: Provide valid S3-compatible storage.
Install Registry Using 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:
Update Or Uninstall 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: