mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-05 12:46:18 +01:00
24 lines
831 B
Plaintext
24 lines
831 B
Plaintext
// Module included in the following assemblies:
|
|
//
|
|
// * * virt/virtual_machines/virtual_disks/virt-configuring-shared-volumes-for-vms.adoc
|
|
|
|
:_mod-docs-content-type: PROCEDURE
|
|
[id="virt-enabling-persistentreservation-feature-gate-cli_{context}"]
|
|
= Enabling the PersistentReservation feature gate by using the CLI
|
|
|
|
You enable the `persistentReservation` feature gate by using the command line. Enabling the feature gate requires cluster administrator privileges.
|
|
|
|
.Prerequisites
|
|
|
|
* You have installed the {oc-first}.
|
|
|
|
.Procedure
|
|
|
|
. Enable the `persistentReservation` feature gate by running the following command:
|
|
+
|
|
[source,terminal,subs="attributes+"]
|
|
----
|
|
$ oc patch hyperconverged kubevirt-hyperconverged -n openshift-cnv --type json -p \
|
|
'[{"op":"replace","path":"/spec/featureGates/persistentReservation", "value": true}]'
|
|
----
|