Class: Google::Apis::ContainerV1::LinuxNodeConfig
- Inherits:
-
Object
- Object
- Google::Apis::ContainerV1::LinuxNodeConfig
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/container_v1/classes.rb,
lib/google/apis/container_v1/representations.rb,
lib/google/apis/container_v1/representations.rb
Overview
Parameters that can be configured on Linux nodes.
Instance Attribute Summary collapse
-
#sysctls ⇒ Hash<String,String>
The Linux kernel parameters to be applied to the nodes and all pods running on the nodes.
Instance Method Summary collapse
-
#initialize(**args) ⇒ LinuxNodeConfig
constructor
A new instance of LinuxNodeConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ LinuxNodeConfig
Returns a new instance of LinuxNodeConfig.
2405 2406 2407 |
# File 'lib/google/apis/container_v1/classes.rb', line 2405 def initialize(**args) update!(**args) end |
Instance Attribute Details
#sysctls ⇒ Hash<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
Corresponds to the JSON property sysctls
2403 2404 2405 |
# File 'lib/google/apis/container_v1/classes.rb', line 2403 def sysctls @sysctls end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2410 2411 2412 |
# File 'lib/google/apis/container_v1/classes.rb', line 2410 def update!(**args) @sysctls = args[:sysctls] if args.key?(:sysctls) end |