pub struct ResourceConfig {
pub cpu_cores_min: Option<f64>,
pub cpu_cores_max: Option<f64>,
pub memory_min: Option<ConfigSize>,
pub memory_max: Option<ConfigSize>,
pub storage_min: Option<ConfigSize>,
pub storage_max: Option<ConfigSize>,
pub autoscaling: Option<AutoscalingConfig>,
pub storage_class: Option<String>,
pub volume_attributes_class: Option<String>,
pub service_account_name: Option<String>,
pub namespace: Option<String>,
}Fields§
§cpu_cores_min: Option<f64>The minimum number of CPU cores to reserve for an instance of this pipeline
cpu_cores_max: Option<f64>The maximum number of CPU cores to reserve for an instance of this pipeline
memory_min: Option<ConfigSize>The minimum memory to reserve for an instance of this pipeline, such
as "4Gi".
Before release 0.367.0 this setting was memory_mb_min, a number of
megabytes. That name is deprecated but still read.
memory_max: Option<ConfigSize>The maximum memory to reserve for an instance of this pipeline, such
as "16Gi".
Before release 0.367.0 this setting was memory_mb_max, a number of
megabytes. That name is deprecated but still read.
storage_min: Option<ConfigSize>The initial storage to reserve for an instance of this pipeline, such
as "100Gi". Set together with storage_max to enable storage
autoscaling.
Before release 0.367.0 this setting was storage_mb_min, a number of
megabytes. That name is deprecated but still read.
storage_max: Option<ConfigSize>The maximum storage for an instance of this pipeline, such as
"400Gi".
Without storage_min, this much storage is reserved up front.
With storage_min, storage starts there and autoscaling expands it up
to this limit.
Before release 0.367.0 this setting was storage_mb_max, a number of
megabytes. That name is deprecated but still read.
autoscaling: Option<AutoscalingConfig>Autoscaling policy for an instance of this pipeline.
storage_class: Option<String>Storage class to use for an instance of this pipeline. The class determines storage performance such as IOPS and throughput.
volume_attributes_class: Option<String>Kubernetes volume attributes class to use for the storage of an
instance of this pipeline. The class sets mutable storage parameters
such as IOPS and throughput. Requires Kubernetes 1.34 or later (or
the VolumeAttributesClass feature gate) and CSI driver support.
A change takes effect on the next start, also for existing storage.
service_account_name: Option<String>Kubernetes service account name to use for an instance of this pipeline. The account determines permissions and access controls.
namespace: Option<String>Kubernetes namespace to use for an instance of this pipeline. The namespace determines the scope of names for resources created for the pipeline. If not set, the pipeline will be deployed in the same namespace as the control-plane.