Open younsl opened 4 months ago
Due to the current helm template structure, the mageai-scheduler pod and the mageai-webserver pod are configured to refer to the same PVC.
--- title: mageai PVC architecture --- flowchart LR w("mageai-webserver") s("mageai-scheduler") pvc("mageai-pvc") pv("mageai-pv") w --"/home/src"--> pvc s --"/home/src"--> pvc pvc --> pv
# pod spec for mageai-webserver and mageai-scheduler spec: volumes: - name: mage-fs persistentVolumeClaim: claimName: mageai-pvc
Need to refactor chart template for persistentVolumeClaim resource and volume spec
As per my understanding of the architecture, it should be refereeing to the same PVC. If we place different volume for webservice and scheduler there wont be any sync between changes in the webui to the scheduler.
Problem
Due to the current helm template structure, the mageai-scheduler pod and the mageai-webserver pod are configured to refer to the same PVC.
Need to refactor chart template for persistentVolumeClaim resource and volume spec