Skip to content

Runnerset and PVC #1605

Jul 5, 2022 · 6 comments · 16 replies
Discussion options

You must be logged in to vote

The statefulset is recreated together with the job pod causing the Pvc to be removed and another bounding has to happen.

AFAIK K8s doesn't allow dynamically rebounding a bound PVC to another PV or remount bound PVC/PV to another pod. It needs to unmount and unbound before the PV is reused by another pod. The same for runner pods. Note that it's not PVCs to be reused. PVs are reused, by newly created PVCs being bound to existing eligible PVs.

This makes it take about 5 minutes for a new runner to start every time.

I think "every time" is not correct. Due to how it works, a new runnerset statefulset's PVC needs a already "Available" PV for reuse. If there's no such PV, the K8s pvc contr…

Replies: 6 comments 16 replies

Comment options

You must be logged in to vote
6 replies
@ViktorLindgren95
Comment options

@roshvin
Comment options

@ViktorLindgren95
Comment options

@ViktorLindgren95
Comment options

@mumoshu
Comment options

Answer selected by ViktorLindgren95
Comment options

You must be logged in to vote
1 reply
@ViktorLindgren95
Comment options

Comment options

You must be logged in to vote
4 replies
@mumoshu
Comment options

@zezaeoh
Comment options

@harshaisgud
Comment options

@verult
Comment options

Comment options

You must be logged in to vote
1 reply
@remover
Comment options

Comment options

You must be logged in to vote
4 replies
@sagar-bud
Comment options

@shaojun-tes
Comment options

@sagar-bud
Comment options

@shaojun-tes
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet