-
Task
-
Resolution: Unresolved
-
Medium
-
None
-
None
Many components are using Jobs to initialize DBs,... before starting the pods.
For GitOps based deployments Jobs are problematic, as job definitions cannot be updated without deleting and recreating the job.
See
https://medium.com/mothership/kubernetes-gitops-and-odd-jobs-671829e83c86
https://www.infracloud.io/blogs/deploy-manage-kubernetes-jobs-using-argocd/
We need to provide a common solution to avoid the manual deletion of jobs during component updates.
onap-aai-graphadmin-create-db-schema 0/1 11h 11h onap-aai-traversal-update-query-data 0/1 11h 11h onap-cps-postgres-init-config-job 1/1 61s 179m onap-dmaap-dr-mariadb-init-config-job 1/1 50s 11h onap-etsicatalog-db-config-job 1/1 69s 11h onap-holmes-postgres-init-config-job 1/1 53s 11h onap-nbi-config-config-job 1/1 2m12s 11h onap-nengdb-init-config-job 1/1 63s 11h onap-oof-has-etcd-config-job 1/1 115s 11h onap-platform-onap-keycloak-config-cli 1/1 45s 11h onap-policy-galera-config 1/1 4m57s 11h onap-policy-galera-init 1/1 2m19s 11h onap-sdc-be 1/1 66m 11h onap-sdc-cs 1/1 33m 11h onap-sdc-onboarding-be 1/1 48m 11h onap-sdc-wfd-be 1/1 42m 11h onap-sdnc-dbinit-job 1/1 15m 11h onap-sdnc-sdnrdb-init-job 1/1 5m20s 11h onap-so-mariadb-config-job 1/1 2m4s 10h onap-uui-intent-analysis-init-postgres 1/1 86s 10h onap-uui-server 1/1 4m7s 10h onap-vnfsdk-init-postgres 1/1 3m50s 10h |