Skip to main content
Skip table of contents

Use an Alternative Mirror

Use an Alternative Mirror

To apply private registry configurations during the create operation, add the appropriate flags to the create cluster command:

Registry configuration

Flag

CA certificate chain to use while communicating with the registry mirror using TLS

--registry-mirror-cacert file

URL of a container registry to use as a mirror in the cluster

--registry-mirror-url string

This is useful when using an internal registry and when Internet access is not available (air-gapped installations). Only use one image registry per cluster.

When the cluster is up and running, you can deploy and test workloads.

Alternative Mirror Example:

CODE
dkp create cluster preprovisioned \
    --cluster-name ${CLUSTER_NAME} \
    --registry-mirror-cacert /tmp/registry.pem \
    --registry-mirror-url https://registry.example.com

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.