Available Presets ​
Function's resources and replicas are based on presets. A preset is a predefined group of values.
Usage ​
If you want to apply values from a preset to a single Function, override the existing values for a given preset in the Function CR: First, remove the relevant fields from the Function CR and then, add the relevant preset labels.
Function's Resources ​
| Preset | Request CPU | Request memory | Limit CPU | Limit memory |
|---|---|---|---|---|
XS | 50m | 64Mi | 150m | 256Mi |
S | 100m | 128Mi | 200m | 256Mi |
M | 200m | 256Mi | 400m | 512Mi |
L | 400m | 512Mi | 800m | 1024Mi |
XL | 800m | 1024Mi | 1600m | 2048Mi |
To apply values ​​from a given preset, use the serverless.kyma-project.io/function-resources-preset: {PRESET} label in the Function CR.