Class: Google::Apis::ContainerV1::NodeConfigDefaults

Inherits:
Object
  • Object
show all
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

Subset of NodeConfig message that has defaults.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ NodeConfigDefaults

Returns a new instance of NodeConfigDefaults.



6488
6489
6490
# File 'lib/google/apis/container_v1/classes.rb', line 6488

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

Instance Attribute Details

#containerd_configGoogle::Apis::ContainerV1::ContainerdConfig

ContainerdConfig contains configuration to customize containerd. Corresponds to the JSON property containerdConfig



6470
6471
6472
# File 'lib/google/apis/container_v1/classes.rb', line 6470

def containerd_config
  @containerd_config
end

#gcfs_configGoogle::Apis::ContainerV1::GcfsConfig

GcfsConfig contains configurations of Google Container File System (image streaming). Corresponds to the JSON property gcfsConfig



6476
6477
6478
# File 'lib/google/apis/container_v1/classes.rb', line 6476

def gcfs_config
  @gcfs_config
end

#logging_configGoogle::Apis::ContainerV1::NodePoolLoggingConfig

NodePoolLoggingConfig specifies logging configuration for node pools. Corresponds to the JSON property loggingConfig



6481
6482
6483
# File 'lib/google/apis/container_v1/classes.rb', line 6481

def logging_config
  @logging_config
end

#node_kubelet_configGoogle::Apis::ContainerV1::NodeKubeletConfig

Node kubelet configs. Corresponds to the JSON property nodeKubeletConfig



6486
6487
6488
# File 'lib/google/apis/container_v1/classes.rb', line 6486

def node_kubelet_config
  @node_kubelet_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6493
6494
6495
6496
6497
6498
# File 'lib/google/apis/container_v1/classes.rb', line 6493

def update!(**args)
  @containerd_config = args[:containerd_config] if args.key?(:containerd_config)
  @gcfs_config = args[:gcfs_config] if args.key?(:gcfs_config)
  @logging_config = args[:logging_config] if args.key?(:logging_config)
  @node_kubelet_config = args[:node_kubelet_config] if args.key?(:node_kubelet_config)
end