Class SwapConfig (2.61.0)

SwapConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Configuration for swap memory on a node pool.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

Name Description
enabled bool
Optional. Enables or disables swap for the node pool. This field is a member of oneof_ _enabled.
encryption_config google.cloud.container_v1beta1.types.LinuxNodeConfig.SwapConfig.EncryptionConfig
Optional. If omitted, swap space is encrypted by default. This field is a member of oneof_ _encryption_config.
boot_disk_profile google.cloud.container_v1beta1.types.LinuxNodeConfig.SwapConfig.BootDiskProfile
Swap on the node's boot disk. This field is a member of oneof_ performance_profile.
ephemeral_local_ssd_profile google.cloud.container_v1beta1.types.LinuxNodeConfig.SwapConfig.EphemeralLocalSsdProfile
Swap on the local SSD shared with pod ephemeral storage. This field is a member of oneof_ performance_profile.
dedicated_local_ssd_profile google.cloud.container_v1beta1.types.LinuxNodeConfig.SwapConfig.DedicatedLocalSsdProfile
Provisions a new, separate local NVMe SSD exclusively for swap. This field is a member of oneof_ performance_profile.

Classes

BootDiskProfile

BootDiskProfile(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Swap on the node's boot disk.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

DedicatedLocalSsdProfile

DedicatedLocalSsdProfile(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Provisions a new, separate local NVMe SSD exclusively for swap.

EncryptionConfig

EncryptionConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

EphemeralLocalSsdProfile

EphemeralLocalSsdProfile(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Swap on the local SSD shared with pod ephemeral storage.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields