mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-05 12:46:18 +01:00
46 lines
1.6 KiB
Plaintext
46 lines
1.6 KiB
Plaintext
// Module included in the following assemblies:
|
|
//
|
|
// * microshift_storage/microshift-storage-plugin-overview.adoc
|
|
// * microshift_configuring/microshift-disable-lvms-csi-provider-csi-snapshot.adoc
|
|
|
|
:_mod-docs-content-type: PROCEDURE
|
|
[id="microshift-disabling-lvms-csi-driver_{context}"]
|
|
= Disabling deployments that run the CSI driver implementations
|
|
|
|
Use the following procedure to disable installation of the CSI implementation pods. {microshift-short} does not delete CSI driver implementation pods. You must configure {microshift-short} to disable installation of the CSI driver implementation pods during the startup process.
|
|
|
|
[IMPORTANT]
|
|
====
|
|
This procedure is for defining the configuration file before installing and running {microshift-short}. If {microshift-short} is already started, then the CSI driver implementation is running. You must manually remove it by following the uninstallation instructions.
|
|
====
|
|
|
|
.Procedure
|
|
|
|
. Disable installation of the CSI driver by entering the `driver` value under the `storage` section of the {microshift-short} configuration file in `/etc/microshift/config.yaml`:
|
|
+
|
|
[source,yaml]
|
|
----
|
|
# ...
|
|
storage
|
|
driver:
|
|
- "none" <1>
|
|
# ...
|
|
----
|
|
<1> Valid values are `none` or `lvms`.
|
|
+
|
|
[NOTE]
|
|
====
|
|
By default, the `driver` value is empty or null and LVMS is deployed.
|
|
====
|
|
|
|
. Start {microshift-short} after the `driver` field is specified with a supported value in the `/etc/microshift/config.yaml` file by running the following command:
|
|
+
|
|
[source,terminal]
|
|
----
|
|
$ sudo systemctl enable --now microshift
|
|
----
|
|
+
|
|
[NOTE]
|
|
====
|
|
{microshift-short} does not redeploy the disabled components after a restart operation.
|
|
==== |