Skip to content

Running scheduler in multiple pods in GKE #24

@kshitij-enable

Description

@kshitij-enable

hi,

I am running database scheduler along with fastapi in 2 pods. Which results into scheduler scheduling same job twice.
Is there any way to implement a lock mechanism so that only one scheduler is able to schedule jobs at a given point in time. And if the active one crashes, then second should be able to pickup without any manual intervention.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions