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: 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.
-
#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
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}
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 |