Class: Google::Apis::ContainerV1beta1::LinuxNodeConfig

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
generated/google/apis/container_v1beta1/classes.rb,
generated/google/apis/container_v1beta1/representations.rb,
generated/google/apis/container_v1beta1/representations.rb

Overview

Parameters that can be configured on Linux nodes.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ LinuxNodeConfig

Returns a new instance of LinuxNodeConfig.



2089
2090
2091
# File 'generated/google/apis/container_v1beta1/classes.rb', line 2089

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#sysctlsHash<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.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

Returns:

  • (Hash<String,String>)


2087
2088
2089
# File 'generated/google/apis/container_v1beta1/classes.rb', line 2087

def sysctls
  @sysctls
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2094
2095
2096
# File 'generated/google/apis/container_v1beta1/classes.rb', line 2094

def update!(**args)
  @sysctls = args[:sysctls] if args.key?(:sysctls)
end