Class: Google::Apis::ContainerV1::DiskIoScheduler

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

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.



3521
3522
3523
# File 'lib/google/apis/container_v1/classes.rb', line 3521

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)


3512
3513
3514
# File 'lib/google/apis/container_v1/classes.rb', line 3512

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)


3519
3520
3521
# File 'lib/google/apis/container_v1/classes.rb', line 3519

def node_system_io_scheduler
  @node_system_io_scheduler
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3526
3527
3528
3529
# File 'lib/google/apis/container_v1/classes.rb', line 3526

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