Class RegistryHostConfig
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.
Implements
Inherited Members
Namespace: Google.Apis.Container.v1beta1.Data
Assembly: Google.Apis.Container.v1beta1.dll
Syntax
public class RegistryHostConfig : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Hosts
HostConfig configures a list of host-specific configurations for the server. Each server can have at most 10 host configurations.
Declaration
[JsonProperty("hosts")]
public virtual IList<HostConfig> Hosts { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<HostConfig> |
Server
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. Wildcards are NOT supported. Examples: - my.customdomain.com - 10.0.1.2:5000
Declaration
[JsonProperty("server")]
public virtual string Server { get; set; }
Property Value
| Type | Description |
|---|---|
| string |