pub struct PoolerTemplateSpecInitContainersResources {
pub claims: Option<Vec<PoolerTemplateSpecInitContainersResourcesClaims>>,
pub limits: Option<BTreeMap<String, IntOrString>>,
pub requests: Option<BTreeMap<String, IntOrString>>,
}Expand description
Compute Resources required by this container. Cannot be updated. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
Fields§
§claims: Option<Vec<PoolerTemplateSpecInitContainersResourcesClaims>>Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. This field is immutable. It can only be set for containers.
limits: Option<BTreeMap<String, IntOrString>>Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
requests: Option<BTreeMap<String, IntOrString>>Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. Requests cannot exceed Limits. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
Trait Implementations§
source§impl Clone for PoolerTemplateSpecInitContainersResources
impl Clone for PoolerTemplateSpecInitContainersResources
source§fn clone(&self) -> PoolerTemplateSpecInitContainersResources
fn clone(&self) -> PoolerTemplateSpecInitContainersResources
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for PoolerTemplateSpecInitContainersResources
impl Default for PoolerTemplateSpecInitContainersResources
source§fn default() -> PoolerTemplateSpecInitContainersResources
fn default() -> PoolerTemplateSpecInitContainersResources
source§impl<'de> Deserialize<'de> for PoolerTemplateSpecInitContainersResources
impl<'de> Deserialize<'de> for PoolerTemplateSpecInitContainersResources
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
source§impl JsonSchema for PoolerTemplateSpecInitContainersResources
impl JsonSchema for PoolerTemplateSpecInitContainersResources
source§fn schema_name() -> String
fn schema_name() -> String
source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
source§fn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
$ref keyword. Read more