cockroachdb / cockroach-operator

k8s operator for CRDB

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Assign existing/custom `schedulerName` to StatefulSet

DJAlPee opened this issue · comments

Hey folks!
I have installed CRDB using the operator. I'm using Piraeus as my CSI Provider.
To place pods "as close as possible" to the PVC, I have to specify schedulerName: stork in the specs of the Pod/StatefulSet (see docs of piraeus). Because the StatefulSet is managed by the operator, I have to specify it somehow else... Is this possible with the operator (and the CrdbCluster CRD) or do I have create the StatefulSet "manually" without operator?

@prafull01 can you take a look at this? I don't think we expose this anywhere.

Right now we don't expose the schedule Name to allow our pods to be scheduled by custom schedular. We have to take it as an enhancement.