planetscale / planetscale/vitess-operator
[Feature Request] Add capability in VitessShardTabletPool CRD to attach additional disks to each vttablet
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 372
- Forks
- 102
- Avg merge
- 3d 5h
- Merged PRs (30d)
- 15
Description
Use cases where different disk is needed (e.g. for bin-logs) in each vttablet cannot be implemented with current structure. Capability similar to dataVolumeClaimTemplate used for data disk would be helpful to handle such use cases.
Current VitessShardTabletPool CRD allows attaching extraVolumes which can point to only one PVC per volume. This will lead to multiple pods trying to mount same PVC.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the VitessShardTabletPool CRD and the existing dataVolumeClaimTemplate and extraVolumes handling. Trace how volumes are created and mounted for each vttablet, then verify that the completed change can provision and attach a distinct additional PVC per tablet without sharing one PVC across pods.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go, kubernetes
- Domain
- devops, infrastructure
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100