Kubernetes Engine V1 API - Class Google::Cloud::Container::V1::ContainerdConfig::RegistryHostConfig (v1.12.0)

Reference documentation and code samples for the Kubernetes Engine V1 API class Google::Cloud::Container::V1::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::V1::ContainerdConfig::RegistryHostConfig::HostConfig>
Returns

#hosts=

def hosts=(value) -> ::Array<::Google::Cloud::Container::V1::ContainerdConfig::RegistryHostConfig::HostConfig>
Parameter
Returns

#server

def server() -> ::String
Returns
  • (::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
Parameter
  • 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
Returns
  • (::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