Reference documentation and code samples for the Kubernetes Engine V1beta1 API class Google::Cloud::Container::V1beta1::ContainerdConfig::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.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#hosts
def hosts() -> ::Array<::Google::Cloud::Container::V1beta1::ContainerdConfig::RegistryHostConfig::HostConfig>- (::Array<::Google::Cloud::Container::V1beta1::ContainerdConfig::RegistryHostConfig::HostConfig>) — HostConfig configures a list of host-specific configurations for the server. Each server can have at most 10 host configurations.
#hosts=
def hosts=(value) -> ::Array<::Google::Cloud::Container::V1beta1::ContainerdConfig::RegistryHostConfig::HostConfig>- value (::Array<::Google::Cloud::Container::V1beta1::ContainerdConfig::RegistryHostConfig::HostConfig>) — HostConfig configures a list of host-specific configurations for the server. Each server can have at most 10 host configurations.
- (::Array<::Google::Cloud::Container::V1beta1::ContainerdConfig::RegistryHostConfig::HostConfig>) — HostConfig configures a list of host-specific configurations for the server. Each server can have at most 10 host configurations.
#server
def server() -> ::String-
(::String) —
Defines the host name of the registry server, which will be used to create configuration file as /etc/containerd/hosts.d/
- my.customdomain.com
- 10.0.1.2:5000
#server=
def server=(value) -> ::String-
value (::String) —
Defines the host name of the registry server, which will be used to create configuration file as /etc/containerd/hosts.d/
- my.customdomain.com
- 10.0.1.2:5000
-
(::String) —
Defines the host name of the registry server, which will be used to create configuration file as /etc/containerd/hosts.d/
- my.customdomain.com
- 10.0.1.2:5000