Class DeploymentSpec
DeploymentSpec is the specification of the desired behavior of the Deployment.
Inheritance
Inherited Members
Namespace: Pulumi.Kubernetes.Types.Outputs.Apps.V1
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.
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. Defaults to 600s.
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. Defaults to 10.
Declaration
public readonly int RevisionHistoryLimit
Field Value
| Type | Description |
|---|---|
| System.Int32 |
Selector
Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment. It must match the pod template's labels.
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 |