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_max: Option<u64>,
pub storage_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_max: Option<u64>The total storage in Megabytes to reserve 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.
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.
Trait Implementations§
Source§impl Clone for ResourceConfig
impl Clone for ResourceConfig
Source§fn clone(&self) -> ResourceConfig
fn clone(&self) -> ResourceConfig
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more