storage-operator automates storage O&M tasks in ACK clusters, including volume auto scaling, disk configuration modification, and resource monitoring.
Prerequisites
Before you begin, ensure that:
-
The cluster version is 1.20 or later. To upgrade the cluster, see Manually upgrade a cluster.
-
The Container Storage Interface (CSI) plugin is installed. To check the installation status, go to the Add-ons page in the ACK console.
How it works
storage-operator is deployed as a Deployment in the kube-system namespace. The following features are enabled by default.
| Feature | Description | Feature Gate to disable |
|---|---|---|
| Volume auto scaling | Automatically scales disk and NAS volumes | Expander=false |
| Disk configuration modification | Modifies disk configurations online | DiskVolumeUpgradeControl=false |
| Stateful application migration | Migrates stateful applications across zones | ApplicationMigrationAcrossAZ=false |
To disable a feature, add the corresponding Feature Gate to the component configuration.
Check the component status
Run the following command to verify that storage-operator is running:
kubectl get pods -n kube-system -l app=storage-operator
Expected output:
NAME READY STATUS RESTARTS AGE
storage-operator-57bdfd7f56-kl86k 1/1 Running 0 12m
Upgrade the component
Before upgrading, review the storage-operator release notes to understand what changes the new version introduces.
-
Log on to the ACK console. In the left navigation pane, click ACK consoleClusters.
-
On the Clusters page, find the cluster you want to manage and click its name. In the left navigation pane, click Add-ons.
-
Locate storage-operator and follow the on-screen instructions to upgrade the component.