HostConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)HostConfig configures the registry host under a given Server.
Attributes |
|
|---|---|
| Name | Description |
host |
str
Host configures the registry host/mirror. It supports fully qualified domain names (FQDNs) and IP addresses. Specifying scheme, port or path is supported. Scheme can only be http or https. Wildcards are NOT supported. Examples: - my.customdomain.com
- https://my.customdomain.com/path
- 10.0.1.2:5000
|
capabilities |
MutableSequence[google.cloud.container_v1beta1.types.ContainerdConfig.RegistryHostConfig.HostCapability]
Capabilities represent the capabilities of the registry host, specifying what operations a host is capable of performing. If not set, containerd enables all capabilities by default. |
override_path |
bool
OverridePath is used to indicate the host's API root endpoint is defined in the URL path rather than by the API specification. This may be used with non-compliant OCI registries which are missing the /v2 prefix. If not set, containerd sets default false. |
header |
MutableSequence[google.cloud.container_v1beta1.types.ContainerdConfig.RegistryHostConfig.RegistryHeader]
Header configures the registry host headers. |
ca |
MutableSequence[google.cloud.container_v1beta1.types.ContainerdConfig.RegistryHostConfig.CertificateConfig]
CA configures the registry host certificate. |
client |
MutableSequence[google.cloud.container_v1beta1.types.ContainerdConfig.RegistryHostConfig.CertificateConfigPair]
Client configures the registry host client certificate and key. |
dial_timeout |
google.protobuf.duration_pb2.Duration
Specifies the maximum duration allowed for a connection attempt to complete. A shorter timeout helps reduce delays when falling back to the original registry if the mirror is unreachable. Maximum allowed value is 180s. If not set, containerd sets default 30s. The value should be a decimal number of seconds with an s suffix.
|