Giter VIP home page Giter VIP logo

Comments (4)

mmacata avatar mmacata commented on June 2, 2024 1

Definitely, I added it here

from actinia-core.

ninsbl avatar ninsbl commented on June 2, 2024

Looking at:
https://mmacata.github.io/actinia-introduction/img/actinia_PDB_UDB.png
I wonder if it would be an option to create a UDB for superadmin and then create a symlink for either the whole DB or selected locations to the PDB, or would that have problematic side effects?

from actinia-core.

mmacata avatar mmacata commented on June 2, 2024

Hi @ninsbl in general it is not recommended to create the shared data pool via API. There are different options.

  • If it is a basic docker on a server deployment, the data storage might be mounted and data edited directly with GRASS GIS, as you suggested
  • if it is a kubernetes deployment or similar, it is possible to create the data pool with a so-called init container, example can be seen here

If you really want to use the API here and keep the option to maintain the data pool via API, the approach with symlinks could work. If all users are in the same group, a symlink wouldn't even be necessary, as mapsets are shared amongst groups. But as I already wrote in #264, by design the persistent DB is not editable via API and often mounted read-only, so that no data loss can occur.

from actinia-core.

ninsbl avatar ninsbl commented on June 2, 2024

Thanks, @mmacata. Very helpful. This answers my question and we will then likely go for a non-REST-API (or SSH / GRASS GIS) way to maintain persistent data...

Maybe worth adding this to FAQ?...

from actinia-core.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.