planetscale / planetscale/vitess-operator

[Feature Request] Add capability in VitessShardTabletPool CRD to attach additional disks to each vttablet

Open
#633 2 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.