Class: Google::Cloud::Container::V1::LinuxNodeConfig
- Inherits:
-
Object
- Object
- Google::Cloud::Container::V1::LinuxNodeConfig
- 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: HugepagesConfig, SysctlsEntry
Instance Attribute Summary collapse
-
#cgroup_mode ⇒ ::Google::Cloud::Container::V1::LinuxNodeConfig::CgroupMode
Cgroup_mode specifies the cgroup mode to be used on the node.
-
#hugepages ⇒ ::Google::Cloud::Container::V1::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::V1::LinuxNodeConfig::CgroupMode
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 89 90 91 |
# File 'proto_docs/google/container/v1/cluster_service.rb', line 52 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::V1::LinuxNodeConfig::HugepagesConfig
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 89 90 91 |
# File 'proto_docs/google/container/v1/cluster_service.rb', line 52 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}
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 89 90 91 |
# File 'proto_docs/google/container/v1/cluster_service.rb', line 52 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 |