Class: Google::Apis::ContainerV1beta1::DiskIoScheduler

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

DiskIoScheduler contains the configuration for the disk IO scheduler.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DiskIoScheduler

Returns a new instance of DiskIoScheduler.



3798
3799
3800
# File 'lib/google/apis/container_v1beta1/classes.rb', line 3798

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

Instance Attribute Details

#node_attached_disk_io_schedulerString

Optional. Configures the IO scheduler for the attached disks. Supported values are mq-deadline, bfq, kyber, none. Corresponds to the JSON property nodeAttachedDiskIoScheduler

Returns:

  • (String)


3789
3790
3791
# File 'lib/google/apis/container_v1beta1/classes.rb', line 3789

def node_attached_disk_io_scheduler
  @node_attached_disk_io_scheduler
end

#node_system_io_schedulerString

Optional. Configures the IO scheduler for the boot disk or ephemeral lssd that runs node system workloads. Supported values are mq-deadline, bfq, kyber, none. Corresponds to the JSON property nodeSystemIoScheduler

Returns:

  • (String)


3796
3797
3798
# File 'lib/google/apis/container_v1beta1/classes.rb', line 3796

def node_system_io_scheduler
  @node_system_io_scheduler
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3803
3804
3805
3806
# File 'lib/google/apis/container_v1beta1/classes.rb', line 3803

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