Skip to content

prestart.sh scaling to multiple nodes #289

@totalhack

Description

@totalhack

Apologies if I'm just missing something, but I'm trying to understand how prestart.sh might scale to multiple nodes. It looks like it runs before the startup of the underlying fastapi container, but what is preventing it from running multiple times across multiple nodes? If a common database was in use I imagine that would cause issues with alembic or the initial_data.py script (on first startup anyway). Thanks for your help.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions