pub struct ResourceConfig {
pub cpu_cores_min: Option<f64>,
pub cpu_cores_max: Option<f64>,
pub memory_mb_min: Option<u64>,
pub memory_mb_max: Option<u64>,
pub storage_mb_min: Option<u64>,
pub storage_mb_max: Option<u64>,
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_mb_min: Option<u64>The minimum memory in Megabytes to reserve for an instance of this pipeline
memory_mb_max: Option<u64>The maximum memory in Megabytes to reserve for an instance of this pipeline
storage_mb_min: Option<u64>The initial storage in Megabytes to reserve for an instance of this
pipeline. Set together with storage_mb_max to enable storage
autoscaling.
storage_mb_max: Option<u64>The maximum storage in Megabytes for an instance of this pipeline.
Without storage_mb_min, this much storage is reserved up front.
With storage_mb_min, storage starts there and autoscaling expands it
up to this limit.
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.