Class: Google::Apis::ContainerV1::LustreCsiDriverConfig
- Inherits:
-
Object
- Object
- Google::Apis::ContainerV1::LustreCsiDriverConfig
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/container_v1/classes.rb,
lib/google/apis/container_v1/representations.rb,
lib/google/apis/container_v1/representations.rb
Overview
Configuration for the Lustre CSI driver.
Instance Attribute Summary collapse
-
#enable_legacy_lustre_port ⇒ Boolean
(also: #enable_legacy_lustre_port?)
If set to true, the Lustre CSI driver will install Lustre kernel modules using port 6988.
-
#enabled ⇒ Boolean
(also: #enabled?)
Whether the Lustre CSI driver is enabled for this cluster.
Instance Method Summary collapse
-
#initialize(**args) ⇒ LustreCsiDriverConfig
constructor
A new instance of LustreCsiDriverConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ LustreCsiDriverConfig
Returns a new instance of LustreCsiDriverConfig.
4457 4458 4459 |
# File 'lib/google/apis/container_v1/classes.rb', line 4457 def initialize(**args) update!(**args) end |
Instance Attribute Details
#enable_legacy_lustre_port ⇒ Boolean Also known as: enable_legacy_lustre_port?
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.
Corresponds to the JSON property enableLegacyLustrePort
4448 4449 4450 |
# File 'lib/google/apis/container_v1/classes.rb', line 4448 def enable_legacy_lustre_port @enable_legacy_lustre_port end |
#enabled ⇒ Boolean Also known as: enabled?
Whether the Lustre CSI driver is enabled for this cluster.
Corresponds to the JSON property enabled
4454 4455 4456 |
# File 'lib/google/apis/container_v1/classes.rb', line 4454 def enabled @enabled end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4462 4463 4464 4465 |
# File 'lib/google/apis/container_v1/classes.rb', line 4462 def update!(**args) @enable_legacy_lustre_port = args[:enable_legacy_lustre_port] if args.key?(:enable_legacy_lustre_port) @enabled = args[:enabled] if args.key?(:enabled) end |