Class PD (0.6.0)

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

Deprecated: please use device_name instead.

Attributes

NameDescription
disk str
PD disk name, e.g. pd-1.
device str
PD device name, e.g. persistent-disk-1.
existing bool
Whether this is an existing PD. Default is false. If false, i.e., new PD, we will format it into ext4 and mount to the given path. If true, i.e., existing PD, it should be in ext4 format and we will mount it to the given path.