Kubernetes Engine V1beta1 API - Class Google::Cloud::Container::V1beta1::LinuxNodeConfig::SwapConfig::EphemeralLocalSsdProfile (v0.51.1)

Reference documentation and code samples for the Kubernetes Engine V1beta1 API class Google::Cloud::Container::V1beta1::LinuxNodeConfig::SwapConfig::EphemeralLocalSsdProfile.

Swap on the local SSD shared with pod ephemeral storage.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#swap_size_gib

def swap_size_gib() -> ::Integer
Returns
  • (::Integer) — Specifies the size of the swap space in gibibytes (GiB).

    Note: The following fields are mutually exclusive: swap_size_gib, swap_size_percent. If a field in that set is populated, all other fields in the set will automatically be cleared.

#swap_size_gib=

def swap_size_gib=(value) -> ::Integer
Parameter
  • value (::Integer) — Specifies the size of the swap space in gibibytes (GiB).

    Note: The following fields are mutually exclusive: swap_size_gib, swap_size_percent. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Integer) — Specifies the size of the swap space in gibibytes (GiB).

    Note: The following fields are mutually exclusive: swap_size_gib, swap_size_percent. If a field in that set is populated, all other fields in the set will automatically be cleared.

#swap_size_percent

def swap_size_percent() -> ::Integer
Returns
  • (::Integer) — Specifies the size of the swap space as a percentage of the ephemeral local SSD capacity.

    Note: The following fields are mutually exclusive: swap_size_percent, swap_size_gib. If a field in that set is populated, all other fields in the set will automatically be cleared.

#swap_size_percent=

def swap_size_percent=(value) -> ::Integer
Parameter
  • value (::Integer) — Specifies the size of the swap space as a percentage of the ephemeral local SSD capacity.

    Note: The following fields are mutually exclusive: swap_size_percent, swap_size_gib. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Integer) — Specifies the size of the swap space as a percentage of the ephemeral local SSD capacity.

    Note: The following fields are mutually exclusive: swap_size_percent, swap_size_gib. If a field in that set is populated, all other fields in the set will automatically be cleared.