-
Notifications
You must be signed in to change notification settings - Fork 65
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
Support memory and disk requests for staging apps #2715
Comments
Hi, is there a play to use space-quota using korifi on EKS/ECR ?
returns :
|
Hi @denispeyrusaubes, Korifi doesn't currently support the Cloud Foundry-style quotas and their associated endpoints. In the meantime I recommend using Kubernetes ResourceQuotas in your namespaces to put up some guardrails around resource consumption. We might eventually support those endpoints, but nothing is planned in the near-term. |
ok, thank for your response. |
The closest thing we've got are these docs which list the endpoints which are supported. We don't have anything that lists the inverse.
If you're willing, we'd appreciate it if you created issues for anything missing that you feel is important. We're always looking for feedback from the community to help us prioritize what to work on next. |
Description
CF for VMs specifies memory and disk requests/limits (there is no distinction between these on CF) for app staging tasks on Diego. The specific values for these come from several potential sources:
staging_memory_in_mb
andstaging_disk_in_mb
properties can be set when creating a Build via POST /v3/buildsmemory
anddisk_quota
fields associated with the app'sweb
Process unless those values are lower than a globally configured minimumThe logic for this lives here in Cloud Controller:
https://github.com/cloudfoundry/cloud_controller_ng/blob/640009b846362fbd443e79ad559700a9e1999846/app/actions/build_create.rb#L147-L161
Korifi does not currently specify any requests/limits on the kpack
Image
by default, but does allow the platform operator to optionally specific global minimum requests as of #2685.Stories
BuildWorkloads
use the memory/disk associated with theweb
(or defautl) process type to specify resource requestsCFBuild
(this takes precedence over process-level config)Considerations
The text was updated successfully, but these errors were encountered: