Skip to content

Support Running Nebula Graph in Non Root mode #6001

Open
@kevinliu24

Description

Is your feature request related to a problem? Please describe.
Currently Nebulagraph can only be run by the root user in kubernetes. Running as a non root user will result in the error MetaDaemon.cpp:120] Open or create 'pids/nebula-metad.pid': Permission denied since the pids directory is owned by the root user. This was experienced by a customer in the issue below and successfully reproduced inhouse.
vesoft-inc/nebula-operator#544

Describe the solution you'd like
We should allow non-root users to run Nebula by giving them write access to the pids directory and other needed directories when building the metad, graphd and storaged images.

Describe alternatives you've considered

Additional context

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions