Class DeploymentSpecArgs
DeploymentSpec is the specification of the desired behavior of the Deployment.
Inherited Members
Namespace: Pulumi.Kubernetes.Types.Inputs.Extensions.V1Beta1
Assembly: Pulumi.Kubernetes.dll
Syntax
public class DeploymentSpecArgs : ResourceArgs
Properties
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 Input<int> MinReadySeconds { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
Paused
Indicates that the deployment is paused and will not be processed by the deployment controller.
Declaration
public Input<bool> Paused { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<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 Input<int> ProgressDeadlineSeconds { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
Replicas
Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.
Declaration
public Input<int> Replicas { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<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 Input<int> RevisionHistoryLimit { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
RollbackTo
DEPRECATED. The config this deployment is rolling back to. Will be cleared after rollback is done.
Declaration
public Input<RollbackConfigArgs> RollbackTo { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<RollbackConfigArgs> |
Selector
Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment.
Declaration
public Input<LabelSelectorArgs> Selector { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<LabelSelectorArgs> |
Strategy
The deployment strategy to use to replace existing pods with new ones.
Declaration
public Input<DeploymentStrategyArgs> Strategy { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<DeploymentStrategyArgs> |
Template
Template describes the pods that will be created.
Declaration
public Input<PodTemplateSpecArgs> Template { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<PodTemplateSpecArgs> |