Skip to content

Commit

Permalink
[ISSUE-651] Immediate volume binding mode proposal #652
Browse files Browse the repository at this point in the history
Signed-off-by: Mikhail Borisov <mikhail.borisov@dell.com>
  • Loading branch information
mishoyama committed Dec 16, 2021
1 parent 5294130 commit 0b28cab
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ Features
--------

- [Dynamic provisioning](https://kubernetes-csi.github.io/docs/external-provisioner.html): Volumes are created dynamically when `PersistentVolumeClaim` objects are created.
- Volume binding modes
- WaitForFirstConsumer
- Inline volumes
- LVM support
- Storage classes for the different drive types: HDD, SSD, NVMe
Expand Down
44 changes: 44 additions & 0 deletions docs/proposals/immediate-volume-binding-mode.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
[This is a template for CSI-Baremetal's changes proposal. ]
# Proposal: Immediate Volume Binding Mode

Last updated: 14-Dec-2021


## Abstract

CSI doesn't support `Immediate` volumeBindingMode. It relies on capacity reservation request issued from scheduler extender.

## Background

Some applications might want to use `Immediate` volumeBindingMode mode. However this is not recommended for topology-constrained
volumes since PersitentVolumes will be created without knowledge of the Pod's scheduling requirements.

## Proposal

CSI Controller must check `volumeBindingMode` on CreateVolume request. When mode is set to `Immediate` it should pick target
Node and AvailableCapacity.

## Rationale

It's not clear what is the use case for the `Immediate` volumeBindingMode. We shouldn't proceed with the implementation at the curremt moment.

## Compatibility

No issues with the compatibility - no new APIs and Kubernetes features are required to support this feature.

## Implementation

CSI Controller shouldn't check for AvailableCapacityReservation on CreateVolume request when volumeBindingMode is set to `Immediate`.

## Assumptions (if applicable)

ID | Name | Descriptions | Comments
---| -----| -------------| --------
ASSUM-1 | | |


## Open issues (if applicable)

ID | Name | Descriptions | Status | Comments
---| -----| -------------| ------ | --------
ISSUE-1 | | | |

0 comments on commit 0b28cab

Please sign in to comment.