Resource value
Reads a value in the resource context; it does not add or deduct resources.
| Type | Purpose |
|---|---|
saturn:current | Reads the current value of the resource. |
saturn:max | Reads the maximum value of the resource. |
saturn:missing | Returns max(0, resource maximum − current value); it is not a missing or error marker. |
saturn:constant | Ignores the current resource and returns the defined fixed value. |
saturn:js | Calls a callback registered by KubeJS and passes the params argument. |