-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Kubernetes: airbyte-volume-configs
PVC declared as ReadWriteOnce, but is used in multiple pods
#16698
Comments
This one had me deleting the airbyte server pod multiple times until it gets scheduled on the same node as the airbyte-cron pod (ReadWriteOnce is accessible by multiple pods if they are on the same node). It makes upgrading the airbyte instance complicated. I can't recommend using ReadWriteMany beacause of so few providers supporting it and neither using node affinity constraints because it makes the cluster more rigid. If both airbyte-cron and server need write access to it we can:
|
Weirdly enough the Helm chart doesn't seem to have this What's this PVC used for anyway? |
But I see it here: https://github.com/airbytehq/airbyte/blob/master/kube/resources/volume-configs.yaml. And we have the same problems now. If a restart happens we need to do a lot of workarounds to make it work. Any insights on why we need it at all? |
Yep have that problem too
Currently i delete that volumt mount |
Is it related CSI Driver (GKE) here https://airbyte.gitbook.io/airbyte/deploying-airbyte/on-kubernetes#persistent-storage-on-gke-regional-cluster |
Hey, we got the same issue with kustomize deployment. Any ideas? Maybe Deployment should be changed to StatefulSet as it was proposed here #9133 (comment)? |
airbyte-volume-configs
PVC declared as ReadWriteOnce, but is used in multiple pods
Is there any update to this? |
Facing same issue here. So, I ended up commenting out the whole
|
Environment
Current Behavior
airbyte-cron
deployment pods fail to start, becauseairbyte-volume-configs
is already mounted byairbyte-server
podExpected Behavior
A
ReadWriteOnce
PVC should not be used by multiple pods.Logs
Steps to Reproduce
Are you willing to submit a PR?
I'd need guidance as to how the team would like to handle this.
One option would be to use a
ReadWriteMany
, although this doesn't seem to be supported by many providers.Another option might be to have
airbyte-cron
contactairbyte-server
to fetch config?The text was updated successfully, but these errors were encountered: