Struct mz_cloud_resources::crd::gen::cert_manager::issuers::IssuerAcmeSolversHttp01GatewayHttpRoutePodTemplateSpecAffinityPodAffinity
source · pub struct IssuerAcmeSolversHttp01GatewayHttpRoutePodTemplateSpecAffinityPodAffinity {
pub preferred_during_scheduling_ignored_during_execution: Option<Vec<IssuerAcmeSolversHttp01GatewayHttpRoutePodTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution>>,
pub required_during_scheduling_ignored_during_execution: Option<Vec<IssuerAcmeSolversHttp01GatewayHttpRoutePodTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution>>,
}
Expand description
Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)).
Fields§
§preferred_during_scheduling_ignored_during_execution: Option<Vec<IssuerAcmeSolversHttp01GatewayHttpRoutePodTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecution>>
The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding “weight” to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred.
required_during_scheduling_ignored_during_execution: Option<Vec<IssuerAcmeSolversHttp01GatewayHttpRoutePodTemplateSpecAffinityPodAffinityRequiredDuringSchedulingIgnoredDuringExecution>>
If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied.
Trait Implementations§
source§impl Clone for IssuerAcmeSolversHttp01GatewayHttpRoutePodTemplateSpecAffinityPodAffinity
impl Clone for IssuerAcmeSolversHttp01GatewayHttpRoutePodTemplateSpecAffinityPodAffinity
source§fn clone(
&self,
) -> IssuerAcmeSolversHttp01GatewayHttpRoutePodTemplateSpecAffinityPodAffinity
fn clone( &self, ) -> IssuerAcmeSolversHttp01GatewayHttpRoutePodTemplateSpecAffinityPodAffinity
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for IssuerAcmeSolversHttp01GatewayHttpRoutePodTemplateSpecAffinityPodAffinity
impl Default for IssuerAcmeSolversHttp01GatewayHttpRoutePodTemplateSpecAffinityPodAffinity
source§fn default() -> IssuerAcmeSolversHttp01GatewayHttpRoutePodTemplateSpecAffinityPodAffinity
fn default() -> IssuerAcmeSolversHttp01GatewayHttpRoutePodTemplateSpecAffinityPodAffinity
source§impl<'de> Deserialize<'de> for IssuerAcmeSolversHttp01GatewayHttpRoutePodTemplateSpecAffinityPodAffinity
impl<'de> Deserialize<'de> for IssuerAcmeSolversHttp01GatewayHttpRoutePodTemplateSpecAffinityPodAffinity
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>,
Auto Trait Implementations§
impl Freeze for IssuerAcmeSolversHttp01GatewayHttpRoutePodTemplateSpecAffinityPodAffinity
impl RefUnwindSafe for IssuerAcmeSolversHttp01GatewayHttpRoutePodTemplateSpecAffinityPodAffinity
impl Send for IssuerAcmeSolversHttp01GatewayHttpRoutePodTemplateSpecAffinityPodAffinity
impl Sync for IssuerAcmeSolversHttp01GatewayHttpRoutePodTemplateSpecAffinityPodAffinity
impl Unpin for IssuerAcmeSolversHttp01GatewayHttpRoutePodTemplateSpecAffinityPodAffinity
impl UnwindSafe for IssuerAcmeSolversHttp01GatewayHttpRoutePodTemplateSpecAffinityPodAffinity
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> FutureExt for T
impl<T> FutureExt for T
source§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
source§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request
source§impl<T, U> OverrideFrom<Option<&T>> for Uwhere
U: OverrideFrom<T>,
impl<T, U> OverrideFrom<Option<&T>> for Uwhere
U: OverrideFrom<T>,
source§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<T> ProgressEventTimestamp for T
impl<T> ProgressEventTimestamp for T
source§impl<P, R> ProtoType<R> for Pwhere
R: RustType<P>,
impl<P, R> ProtoType<R> for Pwhere
R: RustType<P>,
source§fn into_rust(self) -> Result<R, TryFromProtoError>
fn into_rust(self) -> Result<R, TryFromProtoError>
RustType::from_proto
.source§fn from_rust(rust: &R) -> P
fn from_rust(rust: &R) -> P
RustType::into_proto
.source§impl<'a, S, T> Semigroup<&'a S> for Twhere
T: Semigroup<S>,
impl<'a, S, T> Semigroup<&'a S> for Twhere
T: Semigroup<S>,
source§fn plus_equals(&mut self, rhs: &&'a S)
fn plus_equals(&mut self, rhs: &&'a S)
std::ops::AddAssign
, for types that do not implement AddAssign
.