Class: Google::Cloud::Container::V1::LinuxNodeConfig

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/container/v1/cluster_service.rb

Overview

Parameters that can be configured on Linux nodes.

Defined Under Namespace

Modules: CgroupMode Classes: SysctlsEntry

Instance Attribute Summary collapse

Instance Attribute Details

#cgroup_mode::Google::Cloud::Container::V1::LinuxNodeConfig::CgroupMode

Returns cgroup_mode specifies the cgroup mode to be used on the node.

Returns:



46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
# File 'proto_docs/google/container/v1/cluster_service.rb', line 46

class LinuxNodeConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class SysctlsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Possible cgroup modes that can be used.
  module CgroupMode
    # CGROUP_MODE_UNSPECIFIED is when unspecified cgroup configuration is used.
    # The default for the GKE node OS image will be used.
    CGROUP_MODE_UNSPECIFIED = 0

    # CGROUP_MODE_V1 specifies to use cgroupv1 for the cgroup configuration on
    # the node image.
    CGROUP_MODE_V1 = 1

    # CGROUP_MODE_V2 specifies to use cgroupv2 for the cgroup configuration on
    # the node image.
    CGROUP_MODE_V2 = 2
  end
end

#sysctls::Google::Protobuf::Map{::String => ::String}

Returns The Linux kernel parameters to be applied to the nodes and all pods running on the nodes.

The following parameters are supported.

net.core.busy_poll net.core.busy_read net.core.netdev_max_backlog net.core.rmem_max net.core.wmem_default net.core.wmem_max net.core.optmem_max net.core.somaxconn net.ipv4.tcp_rmem net.ipv4.tcp_wmem net.ipv4.tcp_tw_reuse.

Returns:

  • (::Google::Protobuf::Map{::String => ::String})

    The Linux kernel parameters to be applied to the nodes and all pods running on the nodes.

    The following parameters are supported.

    net.core.busy_poll net.core.busy_read net.core.netdev_max_backlog net.core.rmem_max net.core.wmem_default net.core.wmem_max net.core.optmem_max net.core.somaxconn net.ipv4.tcp_rmem net.ipv4.tcp_wmem net.ipv4.tcp_tw_reuse



46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
# File 'proto_docs/google/container/v1/cluster_service.rb', line 46

class LinuxNodeConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class SysctlsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Possible cgroup modes that can be used.
  module CgroupMode
    # CGROUP_MODE_UNSPECIFIED is when unspecified cgroup configuration is used.
    # The default for the GKE node OS image will be used.
    CGROUP_MODE_UNSPECIFIED = 0

    # CGROUP_MODE_V1 specifies to use cgroupv1 for the cgroup configuration on
    # the node image.
    CGROUP_MODE_V1 = 1

    # CGROUP_MODE_V2 specifies to use cgroupv2 for the cgroup configuration on
    # the node image.
    CGROUP_MODE_V2 = 2
  end
end