< img height="1" width="1" style="display:none;" alt="" src="https://px.ads.linkedin.com/collect/?pid=3131724&fmt=gif" />

设置存储卷自动扩展

本节介绍如何设置存储卷自动扩展。

卷容量自动扩展指系统在卷剩余空间低于阈值时自动扩展卷容量。

Prerequisites

  • KubeSphere 平台需要安装并启用 KubeSphere 存储扩展组件。

  • You should join a cluster and have the 存储类管理 permission within the cluster. For more information, refer to "Cluster Members" and "Cluster Roles".

  • 请确保后端存储系统支持卷扩展功能,且存储类已启用卷扩展功能。有关更多信息,请参阅启用和禁用卷操作

Steps

  1. Log in to the KubeSphere web console with a user who has the 存储类管理 permission, and access your cluster.

  2. Click 存储 > 存储类 in the left navigation pane.

  3. Click the name of a storage class in the list to open its details page.

  4. 在存储类详情页面的左上角,选择更多操作 > 设置自动扩展

  5. 设置自动扩展对话框,点击页面右侧的已禁用按钮启用自动扩展功能。

    Note

    如果您需要禁用自动扩展功能,在页面右侧点击已启用

  6. 自动扩展设置区域,设置扩展的最大容量、阈值、以及增量。

    scale

  7. (可选)如果您需要系统自动检查卷状态并重启工作负载,请勾选自动重启工作负载

  8. 设置完成后,点击确定

Receive the latest news, articles and updates from KubeSphere


Thanks for the feedback. If you have a specific question about how to use KubeSphere, ask it on Slack. Open an issue in the GitHub repo if you want to report a problem or suggest an improvement.

What’s on this Page