Class: Google::Cloud::Container::V1beta1::LinuxNodeConfig

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

Overview

Parameters that can be configured on Linux nodes.

Defined Under Namespace

Modules: CgroupMode Classes: HugepagesConfig, SysctlsEntry

Instance Attribute Summary collapse

Instance Attribute Details

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

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

Returns:



60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
# File 'proto_docs/google/container/v1beta1/cluster_service.rb', line 60

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

  # Hugepages amount in both 2m and 1g size
  # @!attribute [rw] hugepage_size2m
  #   @return [::Integer]
  #     Optional. Amount of 2M hugepages
  # @!attribute [rw] hugepage_size1g
  #   @return [::Integer]
  #     Optional. Amount of 1G hugepages
  class HugepagesConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!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

#hugepages::Google::Cloud::Container::V1beta1::LinuxNodeConfig::HugepagesConfig

Returns Optional. Amounts for 2M and 1G hugepages.

Returns:



60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
# File 'proto_docs/google/container/v1beta1/cluster_service.rb', line 60

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

  # Hugepages amount in both 2m and 1g size
  # @!attribute [rw] hugepage_size2m
  #   @return [::Integer]
  #     Optional. Amount of 2M hugepages
  # @!attribute [rw] hugepage_size1g
  #   @return [::Integer]
  #     Optional. Amount of 1G hugepages
  class HugepagesConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!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.rmem_default 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 net.netfilter.nf_conntrack_max net.netfilter.nf_conntrack_buckets net.netfilter.nf_conntrack_tcp_timeout_close_wait net.netfilter.nf_conntrack_tcp_timeout_time_wait net.netfilter.nf_conntrack_tcp_timeout_established net.netfilter.nf_conntrack_acct kernel.shmmni kernel.shmmax kernel.shmall vm.max_map_count.

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.rmem_default 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 net.netfilter.nf_conntrack_max net.netfilter.nf_conntrack_buckets net.netfilter.nf_conntrack_tcp_timeout_close_wait net.netfilter.nf_conntrack_tcp_timeout_time_wait net.netfilter.nf_conntrack_tcp_timeout_established net.netfilter.nf_conntrack_acct kernel.shmmni kernel.shmmax kernel.shmall vm.max_map_count



60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
# File 'proto_docs/google/container/v1beta1/cluster_service.rb', line 60

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

  # Hugepages amount in both 2m and 1g size
  # @!attribute [rw] hugepage_size2m
  #   @return [::Integer]
  #     Optional. Amount of 2M hugepages
  # @!attribute [rw] hugepage_size1g
  #   @return [::Integer]
  #     Optional. Amount of 1G hugepages
  class HugepagesConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!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