ClusterOptimizationConfiguration reference
Fields of the ClusterOptimizationConfiguration custom resource
apiVersion: optimize.stormforge.io/v2
Scope: Cluster.
For usage and examples, see Configure optimization using CRDs.
Fields marked * are required.
ClusterOptimizationConfiguration
ClusterOptimizationConfiguration is the Schema for the ClusterOptimizationConfiguration API.
| Field | Description |
|---|---|
apiVersionstring |
optimize.stormforge.io/v2 |
kindstring |
ClusterOptimizationConfiguration |
metadataObjectMeta |
Standard object metadata. |
specClusterOptimizationConfigurationSpec |
ClusterOptimizationConfigurationSpec defines the desired state of ClusterOptimizationConfiguration. |
ClusterOptimizationConfigurationSpec
ClusterOptimizationConfigurationSpec defines the desired state of ClusterOptimizationConfiguration.
| Field | Description |
|---|---|
matchobject |
Gating applied to every rule in this configuration. Rules may narrow further with their own match. |
match.anyOfobject array |
Terms that are OR-ed together, of which at least one must match. Each term’s own criteria are AND-ed within the term. A null or empty term matches no objects. Must contain at least 1 item. |
match.anyOf.expressionstring |
CEL expression evaluated against the workload via the object variable. |
match.anyOf.namespaceSelectorstring |
Selector applied to the labels of the workload’s namespace. |
match.anyOf.objectSelectorstring |
Selector applied to the labels of the workload. Named to align with the CEL object variable. |
match.expressionstring |
CEL expression evaluated against the workload via the object variable. |
match.namespaceSelectorstring |
Selector applied to the labels of the workload’s namespace. |
match.objectSelectorstring |
Selector applied to the labels of the workload. Named to align with the CEL object variable. |
orderinteger |
Defaults to 0. Value must be an integer between -1000 and 1000. |
rulesobject array |
ClusterOptimizationConfig defines a single optimization configuration entry. Entries are keyed on name. |
rules.matchobject |
ClusterMatch is the cluster-scoped counterpart of Match, combining its terms the same way. An empty ClusterMatch matches every workload. |
rules.match.anyOfobject array |
Terms that are OR-ed together, of which at least one must match. Each term’s own criteria are AND-ed within the term. A null or empty term matches no objects. Must contain at least 1 item. |
rules.match.anyOf.expressionstring |
CEL expression evaluated against the workload via the object variable. |
rules.match.anyOf.namespaceSelectorstring |
Selector applied to the labels of the workload’s namespace. |
rules.match.anyOf.objectSelectorstring |
Selector applied to the labels of the workload. Named to align with the CEL object variable. |
rules.match.expressionstring |
CEL expression evaluated against the workload via the object variable. |
rules.match.namespaceSelectorstring |
Selector applied to the labels of the workload’s namespace. |
rules.match.objectSelectorstring |
Selector applied to the labels of the workload. Named to align with the CEL object variable. |
rules.name *string |
|
rules.settings *object array |
ConfigItem represents a single configuration entry with a name and one or more values. Entries are keyed on name. Either value or values must be set, but not both. |
rules.settings.name *string |
|
rules.settings.valuestring |
|
rules.settings.valuesstring array |
Last modified November 5, 2026