website/content/zh/docs/v4.1/07-cluster-management/08-storage/01-persistent-volume-claims/07-set-auto-expansion.adoc
zhuxiujuan28 6f5b8a2271 update 2
Signed-off-by: zhuxiujuan28 <562873187@qq.com>
2024-09-10 16:49:57 +08:00

62 lines
2.0 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
title: "设置存储卷自动扩展"
linkTitle: "设置存储卷自动扩展"
keywords: "Kubernetes, KubeSphere, 集群管理, 存储, 持久卷声明, 持久卷,自动扩展"
description: "介绍如何设置存储卷自动扩展。"
weight: 07
draft: true
---
:ks_permission: **持久卷声明管理**
:ks_navigation: **存储 > 持久卷声明**
卷容量自动扩展指系统在卷剩余空间低于阈值时自动扩展卷容量。本节介绍如何设置存储卷自动扩展。
== 前提条件
:relfileprefix: ../../../../
* {empty}
include::../../../../_custom/clusterManagement/clusterManagement-prer-requiredPermission_new.adoc[]
:relfileprefix: ./
include::../../../../_custom/clusterManagement/persistentVolumeClaims/persistentVolumeClaims-prer-persistentVolumeCreated.adoc[]
* 请确保后端存储系统支持卷扩展功能并已在持久卷声明对应的存储类上启用卷扩展功能。有关更多信息请参阅link:../../02-storage-classes/05-enable-and-disable-volume-operations/[启用和禁用卷操作]。
== 操作步骤
include::../../../../_custom/clusterManagement/clusterManagement-oper-openClusterPage.adoc[]
+
include::../../../../../_ks_components/oper-navigate.adoc[]
+
include::../../../../_custom/clusterManagement/persistentVolumeClaims/persistentVolumeClaims-oper-openDetailsPage.adoc[]
+
. 在持久卷声明详情页面的左上角,选择**更多操作 > 设置自动扩展**。
. 在**设置自动扩展**对话框,点击页面右侧的**已禁用**按钮启用自动扩展功能。
+
--
// Note
include::../../../../../_ks_components/admonitions/note.adoc[]
如果您需要禁用自动扩展功能,在页面右侧点击**已启用**。
include::../../../../../_ks_components/admonitions/admonEnd.adoc[]
--
. 在**自动扩展**设置区域,设置扩展的最大容量、阈值、以及增量。
. (可选)如果您需要系统自动检查卷状态并重启工作负载,请勾选**自动重启工作负载**。
. 设置完成后,点击**确定**以开启自动扩展。