Google Kubernetes Engine v1 API - Class ContainerdConfig.Types.RegistryHostConfig (3.37.0)

public sealed class ContainerdConfig.Types.RegistryHostConfig : IMessage<ContainerdConfig.Types.RegistryHostConfig>, IEquatable<ContainerdConfig.Types.RegistryHostConfig>, IDeepCloneable<ContainerdConfig.Types.RegistryHostConfig>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Kubernetes Engine v1 API class ContainerdConfig.Types.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.

Inheritance

object > ContainerdConfig.Types.RegistryHostConfig

Namespace

Google.Cloud.Container.V1

Assembly

Google.Cloud.Container.V1.dll

Constructors

RegistryHostConfig()

public RegistryHostConfig()

RegistryHostConfig(RegistryHostConfig)

public RegistryHostConfig(ContainerdConfig.Types.RegistryHostConfig other)
Parameter
Name Description
other ContainerdConfigTypesRegistryHostConfig

Properties

Hosts

public RepeatedField<ContainerdConfig.Types.RegistryHostConfig.Types.HostConfig> Hosts { get; }

HostConfig configures a list of host-specific configurations for the server. Each server can have at most 10 host configurations.

Property Value
Type Description
RepeatedFieldContainerdConfigTypesRegistryHostConfigTypesHostConfig

Server

public string Server { get; set; }

Defines the host name of the registry server, which will be used to create configuration file as /etc/containerd/hosts.d/<server>/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
Property Value
Type Description
string