Show / Hide Table of Contents

Class V1StatefulSetStatus

StatefulSetStatus represents the current state of a StatefulSet.

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

Constructors

View Source

V1StatefulSetStatus()

Declaration
public V1StatefulSetStatus()
View Source

V1StatefulSetStatus(V1StatefulSetStatus)

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

Properties

View Source

AvailableReplicas

Total number of available pods (ready for at least minReadySeconds) targeted by this statefulset.

Declaration
[JsonPropertyName("availableReplicas")]
public int? AvailableReplicas { get; set; }
Property Value
Type Description
int?
View Source

CollisionCount

collisionCount is the count of hash collisions for the StatefulSet. The StatefulSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.

Declaration
[JsonPropertyName("collisionCount")]
public int? CollisionCount { get; set; }
Property Value
Type Description
int?
View Source

Conditions

Represents the latest available observations of a statefulset's current state.

Declaration
[JsonPropertyName("conditions")]
public IList<V1StatefulSetCondition> Conditions { get; set; }
Property Value
Type Description
IList<V1StatefulSetCondition>
View Source

CurrentReplicas

currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.

Declaration
[JsonPropertyName("currentReplicas")]
public int? CurrentReplicas { get; set; }
Property Value
Type Description
int?
View Source

CurrentRevision

currentRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [0,currentReplicas).

Declaration
[JsonPropertyName("currentRevision")]
public string CurrentRevision { get; set; }
Property Value
Type Description
string
View Source

EqualityContract

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

ObservedGeneration

observedGeneration is the most recent generation observed for this StatefulSet. It corresponds to the StatefulSet's generation, which is updated on mutation by the API Server.

Declaration
[JsonPropertyName("observedGeneration")]
public long? ObservedGeneration { get; set; }
Property Value
Type Description
long?
View Source

ReadyReplicas

readyReplicas is the number of pods created for this StatefulSet with a Ready Condition.

Declaration
[JsonPropertyName("readyReplicas")]
public int? ReadyReplicas { get; set; }
Property Value
Type Description
int?
View Source

Replicas

replicas is the number of Pods created by the StatefulSet controller.

Declaration
[JsonPropertyName("replicas")]
public int Replicas { get; set; }
Property Value
Type Description
int
View Source

UpdateRevision

updateRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [replicas-updatedReplicas,replicas)

Declaration
[JsonPropertyName("updateRevision")]
public string UpdateRevision { get; set; }
Property Value
Type Description
string
View Source

UpdatedReplicas

updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.

Declaration
[JsonPropertyName("updatedReplicas")]
public int? UpdatedReplicas { get; set; }
Property Value
Type Description
int?

Methods

View Source

Equals(object?)

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

Equals(V1StatefulSetStatus?)

Declaration
public virtual bool Equals(V1StatefulSetStatus? other)
Parameters
Type Name Description
V1StatefulSetStatus other
Returns
Type Description
bool
View Source

GetHashCode()

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

PrintMembers(StringBuilder)

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

ToString()

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

Operators

View Source

operator ==(V1StatefulSetStatus?, V1StatefulSetStatus?)

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

operator !=(V1StatefulSetStatus?, V1StatefulSetStatus?)

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

Implements

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