Show / Hide Table of Contents

Class V1NodePodPreemptionPolicy

NodePodPreemptionPolicy defines the node-level policies governing preemption for pods on this node.

Inheritance
object
V1NodePodPreemptionPolicy
Implements
IEquatable<V1NodePodPreemptionPolicy>
Inherited Members
object.GetType()
object.MemberwiseClone()
object.Equals(object, object)
object.ReferenceEquals(object, object)
Namespace: k8s.Models
Assembly: KubernetesClient.dll
Syntax
public record V1NodePodPreemptionPolicy : IEquatable<V1NodePodPreemptionPolicy>

Constructors

V1NodePodPreemptionPolicy()

Declaration
public V1NodePodPreemptionPolicy()

V1NodePodPreemptionPolicy(V1NodePodPreemptionPolicy)

Declaration
protected V1NodePodPreemptionPolicy(V1NodePodPreemptionPolicy original)
Parameters
Type Name Description
V1NodePodPreemptionPolicy original

Properties

DisableResizePreemption

DisableResizePreemption lists the owners (e.g., autoscalers, operators, administrators) that have requested to disable scheduler and Kubelet preemption for in-place pod resize on this node. If this list is non-empty, resize-induced preemption is disabled on this node. This is an alpha field and requires enabling the InPlacePodVerticalScalingSchedulerPreemption feature gate.

Declaration
[JsonPropertyName("disableResizePreemption")]
public IList<string> DisableResizePreemption { get; set; }
Property Value
Type Description
IList<string>

EqualityContract

Declaration
protected virtual Type EqualityContract { get; }
Property Value
Type Description
Type

Methods

Equals(object?)

Declaration
public override bool Equals(object? obj)
Parameters
Type Name Description
object obj
Returns
Type Description
bool
Overrides
object.Equals(object)

Equals(V1NodePodPreemptionPolicy?)

Declaration
public virtual bool Equals(V1NodePodPreemptionPolicy? other)
Parameters
Type Name Description
V1NodePodPreemptionPolicy other
Returns
Type Description
bool

GetHashCode()

Declaration
public override int GetHashCode()
Returns
Type Description
int
Overrides
object.GetHashCode()

PrintMembers(StringBuilder)

Declaration
protected virtual bool PrintMembers(StringBuilder builder)
Parameters
Type Name Description
StringBuilder builder
Returns
Type Description
bool

ToString()

Declaration
public override string ToString()
Returns
Type Description
string
Overrides
object.ToString()

Operators

operator ==(V1NodePodPreemptionPolicy?, V1NodePodPreemptionPolicy?)

Declaration
public static bool operator ==(V1NodePodPreemptionPolicy? left, V1NodePodPreemptionPolicy? right)
Parameters
Type Name Description
V1NodePodPreemptionPolicy left
V1NodePodPreemptionPolicy right
Returns
Type Description
bool

operator !=(V1NodePodPreemptionPolicy?, V1NodePodPreemptionPolicy?)

Declaration
public static bool operator !=(V1NodePodPreemptionPolicy? left, V1NodePodPreemptionPolicy? right)
Parameters
Type Name Description
V1NodePodPreemptionPolicy left
V1NodePodPreemptionPolicy right
Returns
Type Description
bool

Implements

IEquatable<T>
In this article
Back to top Generated by DocFX