-
Notifications
You must be signed in to change notification settings - Fork 129
Open
Labels
kind/featureCategorizes issue or PR as related to a new feature.Categorizes issue or PR as related to a new feature.
Description
Is there an existing feature request for this?
- I have searched the existing feature requests
Is your feature request related to a problem or use-case? Please describe.
Currently, resources such as CPU, memory and ephemeral filesystem storage can only be defined in the Build Strategy step. Developers may need to request additional memory and CPU for specific builds - ex for larger container images.
Describe the solution that you would like.
Builds and BuildRuns should allow step resources to be defined as part of the .spec.strategy:
spec:
...
strategy:
name: buildah
kind: ClusterBuildStrategy
stepResources:
- name: build
resources:
requests:
cpu: 2
memory: 4Gi
...Describe alternatives you have considered.
Developers/platform teams would need to copy the build strategy and modify the step resources on the fly.
Cluster admins can also utilize LimitRages.
Coming soon to Kubernetes is setting resources at the pod level. This is an alpha feature added to k8s 1.32:
Anything else?
No response
Metadata
Metadata
Assignees
Labels
kind/featureCategorizes issue or PR as related to a new feature.Categorizes issue or PR as related to a new feature.
Type
Projects
Status
No status