Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Volume binding sporadic #373

Merged
merged 1 commit into from
Apr 27, 2022
Merged

Fix Volume binding sporadic #373

merged 1 commit into from
Apr 27, 2022

Conversation

adracus
Copy link
Contributor

@adracus adracus commented Apr 26, 2022

The Volume binding used to timeout since for the scheduler, first the
Volume and then the VolumeClaim was updated with the reference of
the other member.

This commit changes the Volume.Status.Phase from a plain string type
to a VolumeCondition of type VolumeBound. By doing so, the
controller can now check the last time the VolumeBound condition
transitioned and thus implement a grace period for binding (configurable
on the Volume controller).

Fixes #362

The Volume binding used to timeout since for the scheduler, first the
`Volume` and then the `VolumeClaim` was updated with the reference of
the other member.

This commit changes the `Volume.Status.Phase` from a plain `string` type
to a `VolumeCondition` of type `VolumeBound`. By doing so, the
controller can now check the last time the `VolumeBound` condition
transitioned and thus implement a grace period for binding (configurable
on the `Volume` controller).
@adracus adracus merged commit 82e4b74 into main Apr 27, 2022
@adracus adracus deleted the fix/volume-bind-sporadic branch April 27, 2022 07:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix VolumeClaim sporadic
2 participants