Skip to content
This repository was archived by the owner on Nov 9, 2022. It is now read-only.
This repository is currently being migrated. It's locked while the migration is in progress.

Conversation

croomes
Copy link
Contributor

@croomes croomes commented Feb 5, 2021

This provides VolumeAttachment reconciliation via the ListVolumes() CSI call. With reconciliation in place, StorageOS can tell the attacher that a volume is no longer attached and that it requires re-attaching before attempting a mount.

The v3 attacher requires k8s 1.17+ to run. The reconcile feature was merged in v2, but the patch needed for it to work (kubernetes-csi/external-attacher#244) was only merged in v3. k8s 1.16 and earlier will use the v2 attacher which does not support reconciliation.

@croomes croomes requested review from avestuk and darkowlzz February 5, 2021 17:00
@croomes croomes merged commit cff4bb3 into master Feb 8, 2021
@croomes croomes deleted the bump-csi-attacher branch February 8, 2021 12:27
croomes added a commit that referenced this pull request Feb 8, 2021
* Use v3 CSI attacher for k8s 1.17+

* Add role required for csi attacher v3
croomes added a commit that referenced this pull request Feb 8, 2021
* Use v3 CSI attacher for k8s 1.17+

* Add role required for csi attacher v3
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants