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 |
|
URL of a container registry to use as a mirror in the cluster |
|
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:
dkp create cluster preprovisioned \
--cluster-name ${CLUSTER_NAME} \
--registry-mirror-cacert /tmp/registry.pem \
--registry-mirror-url https://registry.example.com