-
Notifications
You must be signed in to change notification settings - Fork 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
Deploying on GKE using the helm chart not working #5029
Comments
@ahmedrshdy , do you still have the issue in the latest release? |
I'm still seeing this on chart v0.7.2 (on-prem RKE, not GKE). |
I'm stuck having the same issue as described in the original post (I'm trying to deploy helm-chart that is currently available (for CVAT v2.4.1) |
I still have this exact same issue when trying to deploy in cloud (We dont have ReadWriteMany volumes, i cannot set affinity to make pods run on single node (permissions) |
Unfortunately I gave up k8s deployment |
Sadly cvat right now is designed to use RWX volume, so you could not proceed without one AFAIK. Also I believe, that GKE supports them: |
I have a deployment that uses ReadWriteOnce via helm and it works fine, you do have to use podaffinity rules to schedule all the pods on the same node though. Example for every backend pod: affinity:
podAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
- labelSelector:
matchExpressions:
- key: tier
operator: In
values:
- backend
topologyKey: "kubernetes.io/hostname" Thats because multiple pods can actually access the same volume, but they must be on the same node. But this is sort of against kubernetes principles. |
fixed in #6137 |
My actions before raising this issue
Expected Behaviour
Deployment of chart should work on GKE
suggesting a change/improvement, tell us how it should work -->
Current Behaviour
Deployment of utils, default and low worker stuck, which one is stuck is based on competition on the created shared volume
Possible Solution
Avoid using shared folder
or, using affinity to ensure deployment on single node
Steps to Reproduce (for bugs)
helm upgrade -n cvat mcit -i --create-namespace ./helm-chart -f ./helm-chart/values.yaml -f ./helm-chart/values.override.yaml
Context
GKE supports Read/Write shared volumes for pods attached to the same node, cross node attachment for Read/Write is not allowed
Your Environment
The text was updated successfully, but these errors were encountered: