Class DeploymentSpec
DeploymentSpec is the specification of the desired behavior of the Deployment.
Inheritance
Inherited Members
Namespace: Pulumi.Kubernetes.Types.Outputs.Extensions.V1Beta1
Assembly: Pulumi.Kubernetes.dll
Syntax
public sealed class DeploymentSpec
Fields
View SourceMinReadySeconds
Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)
Declaration
public readonly int MinReadySeconds
Field Value
| Type | Description |
|---|---|
| System.Int32 |
Paused
Indicates that the deployment is paused and will not be processed by the deployment controller.
Declaration
public readonly bool Paused
Field Value
| Type | Description |
|---|---|
| System.Boolean |
ProgressDeadlineSeconds
The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. This is set to the max value of int32 (i.e. 2147483647) by default, which means "no deadline".
Declaration
public readonly int ProgressDeadlineSeconds
Field Value
| Type | Description |
|---|---|
| System.Int32 |
Replicas
Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.
Declaration
public readonly int Replicas
Field Value
| Type | Description |
|---|---|
| System.Int32 |
RevisionHistoryLimit
The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. This is set to the max value of int32 (i.e. 2147483647) by default, which means "retaining all old RelicaSets".
Declaration
public readonly int RevisionHistoryLimit
Field Value
| Type | Description |
|---|---|
| System.Int32 |
RollbackTo
DEPRECATED. The config this deployment is rolling back to. Will be cleared after rollback is done.
Declaration
public readonly RollbackConfig RollbackTo
Field Value
| Type | Description |
|---|---|
| RollbackConfig |
Selector
Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment.
Declaration
public readonly LabelSelector Selector
Field Value
| Type | Description |
|---|---|
| LabelSelector |
Strategy
The deployment strategy to use to replace existing pods with new ones.
Declaration
public readonly DeploymentStrategy Strategy
Field Value
| Type | Description |
|---|---|
| DeploymentStrategy |
Template
Template describes the pods that will be created.
Declaration
public readonly PodTemplateSpec Template
Field Value
| Type | Description |
|---|---|
| PodTemplateSpec |