Class: Google::Cloud::Container::V1beta1::LinuxNodeConfig
- Inherits:
-
Object
- Object
- Google::Cloud::Container::V1beta1::LinuxNodeConfig
- 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
-
#cgroup_mode ⇒ ::Google::Cloud::Container::V1beta1::LinuxNodeConfig::CgroupMode
Cgroup_mode specifies the cgroup mode to be used on the node.
-
#hugepages ⇒ ::Google::Cloud::Container::V1beta1::LinuxNodeConfig::HugepagesConfig
Optional.
-
#sysctls ⇒ ::Google::Protobuf::Map{::String => ::String}
The Linux kernel parameters to be applied to the nodes and all pods running on the nodes.
Instance Attribute Details
#cgroup_mode ⇒ ::Google::Cloud::Container::V1beta1::LinuxNodeConfig::CgroupMode
Returns cgroup_mode specifies the cgroup mode to be used on the node.
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 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 |
# File 'proto_docs/google/container/v1beta1/cluster_service.rb', line 49 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.
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 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 |
# File 'proto_docs/google/container/v1beta1/cluster_service.rb', line 49 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.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.
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 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 |
# File 'proto_docs/google/container/v1beta1/cluster_service.rb', line 49 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 |