kubernetes-sigs / kubernetes-sigs/container-object-storage-interface
v1alpha2 KEP revision: convert to 2-phase Bucket(Access) creation
- Dominant language
- Go
- Stars
- 95
- Forks
- 44
- Avg merge
- 8h 12m
- Merged PRs (30d)
- 4
Description
# Bug Report
In order to prevent backend resource leaks during creation/deletion race conditions, use a 2-phase creation approach:
1. call the driver to generate an ID for the bucket (or access)
2. call the driver to provision the bucket (or access) with the prior ID
This has medium complexity. The key KEP design section for this is here: https://github.com/kubernetes/enhancements/tree/master/keps/sig-storage/1979-object-storage-support#drivergeneratebucketid
I would suggest 2 PRs for this to keep PRs smaller:
1. bucket sidecar updates
2. bucketaccess sidecar updates
Contributor guide
Research direction
Start with the linked KEP's drivergeneratebucketid design section, then locate the bucket and bucketaccess sidecar entry points in this repository. Implement and validate the two-phase driver flow for both resources, keeping the work split into the two suggested PRs; the payload names no specific tests or files to run.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100