e99dfc1c84
During the first run, grafana will run migrator job, which populates necessary fields in database. Previously, if there are two or more grafana pods which start up simultaneously, it causes the race condition for database access and finally one of the pods will fail (in some cases both of them), leaving the grafana database in incomplete state. Signed-off-by: Ruslan Aliev <raliev@mirantis.com> Change-Id: I5a7993b3cad2d48af3f73218d6c61c216520e1c5
27 lines
724 B
YAML
27 lines
724 B
YAML
---
|
|
pod:
|
|
mandatory_access_control:
|
|
type: apparmor
|
|
grafana:
|
|
grafana: runtime/default
|
|
init: runtime/default
|
|
grafana-db-init-session:
|
|
grafana-db-init-session: runtime/default
|
|
init: runtime/default
|
|
grafana-db-init:
|
|
grafana-db-init: runtime/default
|
|
init: runtime/default
|
|
grafana-db-session-sync:
|
|
grafana-db-session-sync: runtime/default
|
|
init: runtime/default
|
|
grafana-set-admin-user:
|
|
grafana-set-admin-password: runtime/default
|
|
init: runtime/default
|
|
grafana-run-migrator:
|
|
grafana-run-migrator: runtime/default
|
|
init: runtime/default
|
|
grafana-test:
|
|
init: runtime/default
|
|
grafana-selenium-tests: runtime/default
|
|
...
|