Reference documentation and code samples for the Google Cloud Container V1 Client class SwapConfig.
Configuration for swap memory on a node pool.
Generated from protobuf message google.container.v1.LinuxNodeConfig.SwapConfig
Namespace
Google \ Cloud \ Container \ V1 \ LinuxNodeConfigMethods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ enabled
bool
Optional. Enables or disables swap for the node pool.
↳ encryption_config
↳ boot_disk_profile
↳ ephemeral_local_ssd_profile
↳ dedicated_local_ssd_profile
getEnabled
Optional. Enables or disables swap for the node pool.
bool
hasEnabled
clearEnabled
setEnabled
Optional. Enables or disables swap for the node pool.
var
bool
$this
getEncryptionConfig
Optional. If omitted, swap space is encrypted by default.
hasEncryptionConfig
clearEncryptionConfig
setEncryptionConfig
Optional. If omitted, swap space is encrypted by default.
$this
getBootDiskProfile
Swap on the node's boot disk.
hasBootDiskProfile
setBootDiskProfile
Swap on the node's boot disk.
$this
getEphemeralLocalSsdProfile
Swap on the local SSD shared with pod ephemeral storage.
hasEphemeralLocalSsdProfile
setEphemeralLocalSsdProfile
Swap on the local SSD shared with pod ephemeral storage.
$this
getDedicatedLocalSsdProfile
Provisions a new, separate local NVMe SSD exclusively for swap.
hasDedicatedLocalSsdProfile
setDedicatedLocalSsdProfile
Provisions a new, separate local NVMe SSD exclusively for swap.
$this
getPerformanceProfile
string

