Show / Hide Table of Contents

Class DeploymentSpecArgs

DeploymentSpec is the specification of the desired behavior of the Deployment.

Inheritance
System.Object
InputArgs
ResourceArgs
DeploymentSpecArgs
Inherited Members
ResourceArgs.Empty
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Kubernetes.Types.Inputs.Apps.V1Beta1
Assembly: Pulumi.Kubernetes.dll
Syntax
public class DeploymentSpecArgs : ResourceArgs

Properties

View Source

MinReadySeconds

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>
View Source

Paused

Indicates that the deployment is paused.

Declaration
public Input<bool> Paused { get; set; }
Property Value
Type Description
Input<System.Boolean>
View Source

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 Input<int> ProgressDeadlineSeconds { get; set; }
Property Value
Type Description
Input<System.Int32>
View Source

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>
View Source

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 2.

Declaration
public Input<int> RevisionHistoryLimit { get; set; }
Property Value
Type Description
Input<System.Int32>
View Source

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>
View Source

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>
View Source

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>
View Source

Template

Template describes the pods that will be created.

Declaration
public Input<PodTemplateSpecArgs> Template { get; set; }
Property Value
Type Description
Input<PodTemplateSpecArgs>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.