sergiimk commented on issue #25825:
URL: https://github.com/apache/superset/issues/25825#issuecomment-1793059737

   I think this is some regression in helm setup.
   
   The `superset load_examples` command that populates `examples.db` is 
executed in `superset_init.sh` script which is only run by init job. Init job 
spawns `superset-init-db` which creates `examples.db` but only **in its own 
file system**, so the file dies with it as pod exits.
   
   **Workaround:** Manually exec into `superset` pod and run `superset 
load_examples` inside it to populate `examples.db`.
   
   I think the proper solution here is not to use SQLite in k8s setup at all 
and populate examples into Postgres (by reusing existing DB or creating a new 
one), but this is a bit beyond what I feel comfortable contributing.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to