Class: Google::Apis::ContainerV1beta1::NodeConfigDefaults

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/container_v1beta1/classes.rb,
lib/google/apis/container_v1beta1/representations.rb,
lib/google/apis/container_v1beta1/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.



5302
5303
5304
# File 'lib/google/apis/container_v1beta1/classes.rb', line 5302

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

Instance Attribute Details

#containerd_configGoogle::Apis::ContainerV1beta1::ContainerdConfig

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



5279
5280
5281
# File 'lib/google/apis/container_v1beta1/classes.rb', line 5279

def containerd_config
  @containerd_config
end

#gcfs_configGoogle::Apis::ContainerV1beta1::GcfsConfig

GcfsConfig contains configurations of Google Container File System. Corresponds to the JSON property gcfsConfig



5284
5285
5286
# File 'lib/google/apis/container_v1beta1/classes.rb', line 5284

def gcfs_config
  @gcfs_config
end

#host_maintenance_policyGoogle::Apis::ContainerV1beta1::HostMaintenancePolicy

HostMaintenancePolicy contains the maintenance policy for the hosts on which the GKE VMs run on. Corresponds to the JSON property hostMaintenancePolicy



5290
5291
5292
# File 'lib/google/apis/container_v1beta1/classes.rb', line 5290

def host_maintenance_policy
  @host_maintenance_policy
end

#logging_configGoogle::Apis::ContainerV1beta1::NodePoolLoggingConfig

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



5295
5296
5297
# File 'lib/google/apis/container_v1beta1/classes.rb', line 5295

def logging_config
  @logging_config
end

#node_kubelet_configGoogle::Apis::ContainerV1beta1::NodeKubeletConfig

Node kubelet configs. Corresponds to the JSON property nodeKubeletConfig



5300
5301
5302
# File 'lib/google/apis/container_v1beta1/classes.rb', line 5300

def node_kubelet_config
  @node_kubelet_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5307
5308
5309
5310
5311
5312
5313
# File 'lib/google/apis/container_v1beta1/classes.rb', line 5307

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