The csi-nas add-on is a FileNAS driver implemented based on the CSI specification. This topic describes how to install and upgrade the csi-nas add-on and provides relevant considerations.
csi-nas is a storage add-on provided by VKE for mounting FileNAS to Pods in clusters. It enables multiple Pods to simultaneously read and write the same shared filesystem.
As a non-managed add-on, it runs on your cluster nodes and consumes a small amount of node-level compute resources. After the add-on is installed, the following Kubernetes resources will be automatically created in the kube-system namespace.
tip
The preceding table only lists the main resources of the add-on, as well as resources that may be used when the add-on or the corresponding feature is configured. This helps you understand the main components of this add-on. Other resources, such as ConfigMap and Secret, related to the add-on are not described here. You should refer to the actual resources in the cluster.
For information about the historical release records of the add-on, as well as new features and optimization descriptions for each version, see Add-on release records. - In the left navigation pane, click Cluster. Click the name of the target cluster to go to the management page of this cluster.
- In the left navigation pane, select Addons and click the Storage tab.
- Move the pointer over the add-on card, click Deploy, and configure the add-on parameters.
- Click Confirm to finish configuration.
For csi-nas update history, see csi-nas. If you use an earlier version of the add-on, the following issues may occur. The upgrade of add-ons, whether successful or unsuccessful, will not affect existing applications. But the ongoing tasks will be disrupted during the add-on upgrade because the related workloads will be recreated, causing the resource status to become not ready. After the add-on is upgraded, unfinished operations are automatically retried. You only need to wait until the resource status becomes Ready, and no manual intervention is required.
The following list contains actions that may be impacted during the add-on upgrade process:
- Create PersistentVolumeClaims (dynamic volumes). Failed volume creation causes the PersistentVolumeClaim to remain unbound.
- Delete PersistentVolumeClaims (dynamic volumes). Failed PersistentVolume deletion causes the PersistentVolumeClaim to be stuck in the Terminating state.
- Create workloads. A failed volume mount operation causes the workload to enter the ContainerCreating state.
- Delete workloads. A failed volume unmount operation causes the workload to enter the Terminating state.
tip
If your business application requires fast PersistentVolumeClaim binding and workload start, further evaluate the risks and upgrade the add-on during off-peak hours.
Go to the add-on management page of the target cluster, and in the upper-right corner of the add-on card, click ... > Upgrade to upgrade to the latest version. For details, see Upgrading add-ons. warning
- In case of an upgrade failure, follow the error messages to fix it and try to upgrade the add-on again.
- If you encounter issues during the upgrade process or want to upgrade to a specific version, contact presales support or submit a ticket to obtain technical support.
After the add-on installation/upgrade is complete, confirm whether the add-on is working normally by using the console or the command-line tool kubectl.
The stability and performance of the csi-nas add-on directly affect its functionality and effectiveness. We recommend enabling add-on observability in your cluster to monitor add-on health in real time. For details, see CSI Storage observability. After you enable add-on observability, you can view the preset observability dashboard for the add-on in the console. This dashboard primarily displays the running status of the csi-nas add-on and the NAS volume operation workflow. It includes Controller Pod availability, Node Pod availability, control plane operation backlog, control plane RPC call failures, node RPC call failures, node RPC latency, and NAS operation status. You can specify a custom time range for querying information and set the information refresh mode to manual refresh or automatic refresh.
- In the left navigation pane of the cluster management page, click Monitoring center > Dashboard.
- In the left dashboard list, select Storage service monitoring > NAS monitoring to view the monitoring dashboard.
VKE provides comprehensive cluster monitoring and alerting capabilities based on VMP. You can quickly create alert rule groups by using preset templates or configure custom alert rules by using PromQL statements based on your business requirements. You can also export preset templates in YAML format, adjust the rules, and save them as custom alert templates for reuse across multiple clusters. For details, see the following topics: