Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Duplicated pvc #56

Open
younsl opened this issue Jun 21, 2024 · 1 comment
Open

Duplicated pvc #56

younsl opened this issue Jun 21, 2024 · 1 comment

Comments

@younsl
Copy link

younsl commented Jun 21, 2024

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.

---
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
Loading
# 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

@younsl younsl changed the title duplicated pvc Duplicate pvc Jun 26, 2024
@younsl younsl changed the title Duplicate pvc Duplicated pvc Jul 26, 2024
@sriniarul
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants