Class V1DeploymentStrategy
DeploymentStrategy describes how to replace existing pods with new ones.
Inheritance
V1DeploymentStrategy
Assembly: KubernetesClient.dll
Syntax
public record V1DeploymentStrategy : IEquatable<V1DeploymentStrategy>
Constructors
View Source
V1DeploymentStrategy()
Declaration
public V1DeploymentStrategy()
View Source
V1DeploymentStrategy(V1DeploymentStrategy)
Declaration
protected V1DeploymentStrategy(V1DeploymentStrategy original)
Parameters
Properties
View Source
EqualityContract
Declaration
protected virtual Type EqualityContract { get; }
Property Value
View Source
RollingUpdate
Rolling update config params. Present only if DeploymentStrategyType =
RollingUpdate.
Declaration
[JsonPropertyName("rollingUpdate")]
public V1RollingUpdateDeployment RollingUpdate { get; set; }
Property Value
View Source
Type
Type of deployment. Can be "Recreate" or "RollingUpdate". Default is
RollingUpdate.
Declaration
[JsonPropertyName("type")]
public string Type { get; set; }
Property Value
Methods
View Source
Equals(object?)
Declaration
public override bool Equals(object? obj)
Parameters
| Type |
Name |
Description |
| object |
obj |
|
Returns
Overrides
View Source
Equals(V1DeploymentStrategy?)
Declaration
public virtual bool Equals(V1DeploymentStrategy? other)
Parameters
Returns
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
View Source
PrintMembers(StringBuilder)
Declaration
protected virtual bool PrintMembers(StringBuilder builder)
Parameters
Returns
View Source
ToString()
Declaration
public override string ToString()
Returns
Overrides
Operators
View Source
operator ==(V1DeploymentStrategy?, V1DeploymentStrategy?)
Declaration
public static bool operator ==(V1DeploymentStrategy? left, V1DeploymentStrategy? right)
Parameters
Returns
View Source
operator !=(V1DeploymentStrategy?, V1DeploymentStrategy?)
Declaration
public static bool operator !=(V1DeploymentStrategy? left, V1DeploymentStrategy? right)
Parameters
Returns
Implements