https://nebula-graph.io logo
#nebula
Title
j

Jeremy Simpson

11/09/2022, 7:55 PM
I was wondering what scheduler pods did in nebula-operator. There doesn’t seem to be any documentation on it that I could find
❤️ 1
w

wey

11/10/2022, 2:57 AM
we are using the default scheduler of k8s(this is reflected with CRD
schedulerName: default-scheduler
), before k8s 1.16, we need to use
nebula-scheduler
instead. The only reason that we created nebula-scheduler(by default not used) was to add the even spread support, which, is now the default spread policy in the default scheduler, and when the constraint cannot be fulfilled, it wont schedule pod. If, we would like to change schedule policy(when node number is not enough for test purposes), we could change it with:
Copy code
UnsatisfiableAction: ScheduleAnyway
whose default value was
DoNotSchedule
🙏 1
I think we should have improved this in docs on this 🙂
j

Jeremy Simpson

11/10/2022, 3:41 AM
I see!
So just to confirm then, I can safely disable the scheduler without losing any critical functionality?
Thanks for the info :3
w

wey

11/10/2022, 4:34 AM
By
disable the scheduler
do you mean
UnsatisfiableAction: ScheduleAnyway
?
j

Jeremy Simpson

11/10/2022, 4:58 AM
I mean
scheduler.create = false
so it doesn’t create any scheduler pods
w

wey

11/10/2022, 5:49 AM
@Jeremy Simpson yes, it’s totally safe as by default schedulerName is not
nebula-scheduler
it’s actually not used.
j

Jeremy Simpson

11/10/2022, 7:18 AM
great, thank you
11 Views