RegistryHostConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)RegistryHostConfig configures the top-level structure for a single containerd registry server's configuration, which represents one hosts.toml file on the node. It will override the same fqdns in PrivateRegistryAccessConfig.
Attributes |
|
|---|---|
| Name | Description |
server |
str
Defines the host name of the registry server, which will be used to create configuration file as /etc/containerd/hosts.d//hosts.toml. It supports fully qualified domain names (FQDN) and IP addresses: Specifying port is supported, while scheme and path are NOT supported. Wildcards are NOT supported. Examples: - my.customdomain.com
- 10.0.1.2:5000
|
hosts |
MutableSequence[google.cloud.container_v1.types.ContainerdConfig.RegistryHostConfig.HostConfig]
HostConfig configures a list of host-specific configurations for the server. Each server can have at most 10 host configurations. |
Classes
CertificateConfig
CertificateConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)CertificateConfig configures certificate for the registry.
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
CertificateConfigPair
CertificateConfigPair(mapping=None, *, ignore_unknown_fields=False, **kwargs)CertificateConfigPair configures pairs of certificates, which is used for client certificate and key pairs under a registry.
HostCapability
HostCapability(value)HostCapability configures capabilities for the registry host.
HostConfig
HostConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)HostConfig configures the registry host under a given Server.
RegistryHeader
RegistryHeader(mapping=None, *, ignore_unknown_fields=False, **kwargs)RegistryHeader configures headers for the registry.