Google Cloud Container V1 Client - Class LustreCsiDriverConfig (2.7.0)

Reference documentation and code samples for the Google Cloud Container V1 Client class LustreCsiDriverConfig.

Configuration for the Lustre CSI driver.

Generated from protobuf message google.container.v1.LustreCsiDriverConfig

Namespace

Google \ Cloud \ Container \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ enabled bool

Whether the Lustre CSI driver is enabled for this cluster.

↳ enable_legacy_lustre_port bool

If set to true, the Lustre CSI driver will install Lustre kernel modules using port 6988. This serves as a workaround for a port conflict with the gke-metadata-server. This field is required ONLY under the following conditions: 1. The GKE node version is older than 1.33.2-gke.4655000. 2. You're connecting to a Lustre instance that has the 'gke-support-enabled' flag. Deprecated: This flag is no longer required as of GKE node version 1.33.2-gke.4655000, unless you are connecting to a Lustre instance that has the gke-support-enabled flag.

getEnabled

Whether the Lustre CSI driver is enabled for this cluster.

Returns
Type Description
bool

setEnabled

Whether the Lustre CSI driver is enabled for this cluster.

Parameter
Name Description
var bool
Returns
Type Description
$this

getEnableLegacyLustrePort

If set to true, the Lustre CSI driver will install Lustre kernel modules using port 6988.

This serves as a workaround for a port conflict with the gke-metadata-server. This field is required ONLY under the following conditions:

  1. The GKE node version is older than 1.33.2-gke.4655000.
  2. You're connecting to a Lustre instance that has the 'gke-support-enabled' flag. Deprecated: This flag is no longer required as of GKE node version 1.33.2-gke.4655000, unless you are connecting to a Lustre instance that has the gke-support-enabled flag.
Returns
Type Description
bool

setEnableLegacyLustrePort

If set to true, the Lustre CSI driver will install Lustre kernel modules using port 6988.

This serves as a workaround for a port conflict with the gke-metadata-server. This field is required ONLY under the following conditions:

  1. The GKE node version is older than 1.33.2-gke.4655000.
  2. You're connecting to a Lustre instance that has the 'gke-support-enabled' flag. Deprecated: This flag is no longer required as of GKE node version 1.33.2-gke.4655000, unless you are connecting to a Lustre instance that has the gke-support-enabled flag.
Parameter
Name Description
var bool
Returns
Type Description
$this