Skip to content

Commit 92bc8b8

Browse files
committed
📝 helm: improve upgrade doc
1 parent 18c56a2 commit 92bc8b8

File tree

2 files changed

+16
-17
lines changed

2 files changed

+16
-17
lines changed

docs/README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -141,17 +141,15 @@ Common issues and diagnostics are covered in **[Troubleshooting](./troubleshooti
141141

142142
### Upgrading from v0.x to v1.0.0
143143

144-
Follow the **[Migration Process](./migration.md)**.
144+
Follow the [migration guide](./migration.md).
145145

146146
### Upgrading from v1.6 to v1.7
147147

148148
`maxBsuVolumes` is now computed automatically at driver startup. Manual configuration is usually unnecessary, even when multiple BSU volumes are mounted by the OS.
149149

150150
### Upgrading to Helm chart v2
151151

152-
Many variables have been renamed.
153-
154-
Please refer to the [upgrade guide](../helm/osc-bsu-csi-driver/migration.md).
152+
Most values have been renamed, and need to be set again using the new names during the upgrade. Please refer to the [upgrade guide](../helm/osc-bsu-csi-driver/migration.md).
155153

156154
---
157155

helm/osc-bsu-csi-driver/migration.md

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,29 @@
11
# Migration from v1 chart to v2 chart
22

3-
Most variables have been renamed, and `helm upgrade` will fail if called with v1 values.
3+
Most variables have been renamed, and `helm upgrade` will fail if you reuse v1 values.
44

55
You can call `helm get values osc-bsu-csi-driver --namespace kube-system` to display configured values.
6-
And you will need to reset existing values while upgrading by using `helm upgrade --reset-values`.
6+
You will need to set each value again using the new value names.
77

88
For example, if you installed the CSI driver using:
99

1010
```shell
1111
helm install [...] \
1212
--set enableVolumeSnapshot=true \
13-
--set region=$OSC_REGION
13+
--set region=$OSC_REGION \
14+
--set verbosity=5
1415
```
1516

1617
You will need to upgrade with:
1718

1819
```shell
19-
helm upgrade [...] --reset-values \
20+
helm upgrade [...] \
2021
--set driver.enableVolumeSnapshot=true \
21-
--set cloud.region=$OSC_REGION
22+
--set cloud.region=$OSC_REGION \
23+
--set logs.verbosity=5
2224
```
2325

24-
## Renamed values
25-
26-
Most values have been renamed in the new v2 chart.
26+
## List of renamed values
2727

2828
| V1 value | V2 value |
2929
| ----------- | ----------- |
@@ -70,14 +70,15 @@ You may now tune the performance of the driver by setting the following values:
7070

7171
| Name | Description |
7272
| -------- | ----------- |
73-
| `controller.readStatusInterval` | The interval between consecutive volume/snapshot checks, raise if you see throttling errors in ReadSnapshot/ReadVolumes calls. |
74-
| `sidecars.timeout` | The maximum time a sidecar (provisioner, attacher, resizer, snapshotter) will wait for the CSI driver to process a query. Safe to raise if your volumes/snapshots are very large and you encounter timeouts. |
73+
| `controller.readStatusInterval` | The interval between consecutive volume/snapshot checks; raise it if you see throttling errors in ReadSnapshot/ReadVolumes calls. |
74+
| `sidecars.timeout` | The maximum time a sidecar (provisioner, attacher, resizer, snapshotter) will wait for the CSI driver to process a query. Raise it if your volumes/snapshots are very large and you encounter timeouts. |
7575
| `sidecars.kubeAPI.QPS` | The maximum of requests per seconds that a sidecar may make to the Kubernetes API server. |
7676
| `sidecars.kubeAPI.burst` | The burst above `sidecars.kubeAPI.QPS` allowed for short periods of time. |
77-
| `sidecars.provisioner.workerThreads` | The number of simultaneous provisioning requests the provisioner sidecar can process. |
78-
| `sidecars.attacher.workerThreads` | The number of simultaneous attachment requests the attacher sidecar can process. |
79-
| `sidecars.resizer.workerThreads` | The number of simultaneous resizing requests the resizer sidecar can process. |
77+
| `sidecars.provisioner.workerThreads` | The number of simultaneous volume provisioning requests the provisioner sidecar can process. |
78+
| `sidecars.attacher.workerThreads` | The number of simultaneous volume attachment requests the attacher sidecar can process. |
79+
| `sidecars.resizer.workerThreads` | The number of simultaneous volume resizing requests the resizer sidecar can process. |
8080
| `sidecars.snapshotter.workerThreads` | The number of simultaneous snapshot requests the snapshotter sidecar can process. |
8181

8282
> Please be aware that there is a limit in the number of API calls you are allowed to make to the Outscale API.
8383
If you raise `workerThreads` too much, you may decrease the performance of the CSI driver by being throttled by the Outscale API.
84+
Because throttling limits are applied per call, raising `controller.readStatusInterval` will not increase volume and snapshot creation throughput.

0 commit comments

Comments
 (0)