-
Notifications
You must be signed in to change notification settings - Fork 244
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
Cannot create more than two components with OpenShift Online Pro #755
Comments
I'm afraid that that won't be possible :-( Component that could modify each data of other components that won't be good. We could make the size of the PVC configurable to allow creation of the smaller volumes. |
I would say |
--pvc-size would not help here, because in OpenShift Online Pro pvc cannot be less that 1Gi. |
Online is limited to 1 GB because of the storage backend used. Adding Jake Lucky (@luciddreamz) PM for it so he can potentially help with options. |
OpenShift Online uses AWS EBS volumes. They are block storage volumes (read-write once) with a minimum volume size of 1GiB (min volume size dictated by Amazon). Note: You can buy more storage on OSO Pro ;) |
Based on Denis feedback, with Pro you are still 2GB and that means at most 2 volumes, and if each component has a volume that means 2 components, at 50$ per months let's say it's not a good deal if we are stuck with storage for all component in the model of odo |
You can add up to 148GiB of additional storage for $1/month per GiB. |
@luciddreamz the thing is that odo uses a PV for iterative development, and it would not be nice that because how the tool works, we limit what the user can do. We're exploring if in the future we're better of using CRDs which would give us some additional capabilities on the server side, but for now we need to stick to not use CRDs or any server side component. We would love to promote the tool for developers on Online, but I can envision how customers would complain about the restriction the tool makes on them or that in order to use it and still being able to create 2 PVs in their Online account they would have to raise the bill. In any case, I understand the limitations that blocks storage provides and we need to think of a solution. Adding @sspeiche for awareness, as he's PM for odo. |
I don't know enough why it needs to be a PV and not emptyDir volume. Also, I'm not we need to optimize for Pro. How long are PVs retained for odo's use case ? |
@jorgemoralespou - Note also that creating CRDs require cluster-admin, which OSO end-users aren't going to be able to do. If you're talking about something involving CRDs we create and then are utilized by end-users that might be ok, but there are still some permission-related questions there we need to answer for multi-tenant. |
@sspeiche mostly because we can not guarantee that a redeployment will land the pod on the same host. @luciddreamz that's why I said in the future. There's ongoing work to allow per namespace CRDs, which should be able to work in pro, AFAIK. But yes, I was referring about providing the functionality in PRO (ourselves) and then let users create resources defined by the CRD. In any case, that's a conversation to have in the future. For now, we need to understand and document the limitations :-D |
Empty dir (at least on minishift) gets deleted every deployment gets redeployed |
Issues go stale after 90d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle stale |
Stale issues rot after 30d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle rotten |
Rotten issues close after 30d of inactivity. Reopen the issue by commenting /close |
@openshift-bot: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Every new component create 1Gi storage. Pro account has 2Gi storage quota, thus user can create only two components.
Is that possible for components to share the same storage rather than create 1Gi additional storage for every component?
The text was updated successfully, but these errors were encountered: