Back to Talos

RegistryMirrorConfig

website/content/v1.13/reference/configuration/cri/registrymirrorconfig.md

1.13.01.8 KB
Original Source
<!-- markdownlint-disable -->

{{< highlight yaml >}} 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 {{< /highlight >}}

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. | | |endpoints |<a href="#RegistryMirrorConfig.endpoints.">[]RegistryEndpoint</a> |List 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. | | |skipFallback |bool |Skip fallback to the original registry if none of the mirrors are available or contain the requested image. | |

endpoints[] {#RegistryMirrorConfig.endpoints.}

RegistryEndpoint defines a registry mirror endpoint.

FieldTypeDescriptionValue(s)
urlURLThe URL of the registry mirror endpoint. <details><summary>Show example(s)</summary>{{< highlight yaml >}}
url: https://my-registry-mirror.local:5000
{{< /highlight >}}</details>
overridePathboolUse endpoint path as supplied, without adding /v2/ suffix.