Skip to main content
apiVersion: v1alpha1
kind: RegistryMirrorConfig
name: registry.k8s.io # Registry name to apply the mirror configuration to.
# List of mirror endpoints for the registry.
endpoints:
    - url: https://my-private-registry.local:5000 # The URL of the registry mirror endpoint.
    - url: http://my-harbor/v2/registry-k8s.io/ # The URL of the registry mirror endpoint.
      overridePath: true # Use endpoint path as supplied, without adding `/v2/` suffix.
skipFallback: true # Skip fallback to the original registry if none of the mirrors are available
FieldTypeDescriptionValue(s)
namestringRegistry name to apply the mirror configuration to.

Registry name is the first segment of image identifier, with ‘docker.io’
being default one.

A special name ’*’ can be used to define mirror configuration
that applies to all registries.
endpointsRegistryEndpointList of mirror endpoints for the registry.
Mirrors will be used in the order they are specified,
falling back to the default registry is skipFallback is not set to true.
skipFallbackboolSkip fallback to the original registry if none of the mirrors are available
or contain the requested image.

endpoints[]

RegistryEndpoint defines a registry mirror endpoint.
FieldTypeDescriptionValue(s)
urlURLThe URL of the registry mirror endpoint.
overridePathboolUse endpoint path as supplied, without adding /v2/ suffix.