This repository has been archived by the owner on May 6, 2020. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(boot): background the loading of DB data into Kubernetes
This uses backgrounding of the management command and uses nohup to manage the running of the task. Logs (that are not part of the normal Django log loop) will go into /app/data/logs/load_db_state_to_k8s.log By doing this the Controller can go into a ready state a lot earlier than otherwise when there are a lot of resources (specficially apps) Readiness and Liveness both have 30 second delay and in that timeframe the initial set of Model save() operations will be able to take place to create the appropriate Namespaces and Services Generally the slowest part is the Deploy but other Kubernetes resource manipulations can be a tad bit slow. Closes #746
- Loading branch information