How do I adjust resource limits for image building?

更新时间:
复制 MD 格式

Edit the edas-imagebuilder-profile ConfigMap in the edas-oam-system namespace to change the CPU and memory limits for image builds.

apiVersion: v1
kind: ConfigMap
metadata:
  name: edas-imagebuilder-profile
  namespace: edas-oam-system
data:
  imageBuildCpuLimit: "1000m"
  imageBuildMemoryLimit: "1Gi"
Parameter Description Default
imageBuildCpuLimit The maximum CPU allocated to an image build, in millicores. 1000m equals 1 CPU core. 1000m
imageBuildMemoryLimit The maximum memory allocated to an image build, in standard Kubernetes memory units. 1Gi