v1beta1

package
v3.30.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 11, 2023 License: Apache-2.0 Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ControllerRevision deprecated

type ControllerRevision struct {
	pulumi.CustomResourceState

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion pulumi.StringPtrOutput `pulumi:"apiVersion"`
	// Data is the serialized representation of the state.
	Data pulumi.AnyOutput `pulumi:"data"`
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind pulumi.StringPtrOutput `pulumi:"kind"`
	// Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata metav1.ObjectMetaPtrOutput `pulumi:"metadata"`
	// Revision indicates the revision of the state represented by Data.
	Revision pulumi.IntOutput `pulumi:"revision"`
}

ControllerRevision implements an immutable snapshot of state data. Clients are responsible for serializing and deserializing the objects that contain their internal state. Once a ControllerRevision has been successfully created, it can not be updated. The API Server will fail validation of all requests that attempt to mutate the Data field. ControllerRevisions may, however, be deleted. Note that, due to its use by both the DaemonSet and StatefulSet controllers for update and rollback, this object is beta. However, it may be subject to name and representation changes in future releases, and clients should not depend on its stability. It is primarily for internal use by controllers.

Deprecated: apps/v1beta1/ControllerRevision is deprecated by apps/v1/ControllerRevision and not supported by Kubernetes v1.16+ clusters.

func GetControllerRevision

func GetControllerRevision(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ControllerRevisionState, opts ...pulumi.ResourceOption) (*ControllerRevision, error)

GetControllerRevision gets an existing ControllerRevision resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewControllerRevision

func NewControllerRevision(ctx *pulumi.Context,
	name string, args *ControllerRevisionArgs, opts ...pulumi.ResourceOption) (*ControllerRevision, error)

NewControllerRevision registers a new resource with the given unique name, arguments, and options.

func (*ControllerRevision) ElementType

func (*ControllerRevision) ElementType() reflect.Type

func (*ControllerRevision) ToControllerRevisionOutput

func (i *ControllerRevision) ToControllerRevisionOutput() ControllerRevisionOutput

func (*ControllerRevision) ToControllerRevisionOutputWithContext

func (i *ControllerRevision) ToControllerRevisionOutputWithContext(ctx context.Context) ControllerRevisionOutput

type ControllerRevisionArgs

type ControllerRevisionArgs struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion pulumi.StringPtrInput
	// Data is the serialized representation of the state.
	Data pulumi.Input
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind pulumi.StringPtrInput
	// Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata metav1.ObjectMetaPtrInput
	// Revision indicates the revision of the state represented by Data.
	Revision pulumi.IntInput
}

The set of arguments for constructing a ControllerRevision resource.

func (ControllerRevisionArgs) ElementType

func (ControllerRevisionArgs) ElementType() reflect.Type

type ControllerRevisionArray

type ControllerRevisionArray []ControllerRevisionInput

func (ControllerRevisionArray) ElementType

func (ControllerRevisionArray) ElementType() reflect.Type

func (ControllerRevisionArray) ToControllerRevisionArrayOutput

func (i ControllerRevisionArray) ToControllerRevisionArrayOutput() ControllerRevisionArrayOutput

func (ControllerRevisionArray) ToControllerRevisionArrayOutputWithContext

func (i ControllerRevisionArray) ToControllerRevisionArrayOutputWithContext(ctx context.Context) ControllerRevisionArrayOutput

type ControllerRevisionArrayInput

type ControllerRevisionArrayInput interface {
	pulumi.Input

	ToControllerRevisionArrayOutput() ControllerRevisionArrayOutput
	ToControllerRevisionArrayOutputWithContext(context.Context) ControllerRevisionArrayOutput
}

ControllerRevisionArrayInput is an input type that accepts ControllerRevisionArray and ControllerRevisionArrayOutput values. You can construct a concrete instance of `ControllerRevisionArrayInput` via:

ControllerRevisionArray{ ControllerRevisionArgs{...} }

type ControllerRevisionArrayOutput

type ControllerRevisionArrayOutput struct{ *pulumi.OutputState }

func (ControllerRevisionArrayOutput) ElementType

func (ControllerRevisionArrayOutput) Index

func (ControllerRevisionArrayOutput) ToControllerRevisionArrayOutput

func (o ControllerRevisionArrayOutput) ToControllerRevisionArrayOutput() ControllerRevisionArrayOutput

func (ControllerRevisionArrayOutput) ToControllerRevisionArrayOutputWithContext

func (o ControllerRevisionArrayOutput) ToControllerRevisionArrayOutputWithContext(ctx context.Context) ControllerRevisionArrayOutput

type ControllerRevisionInput

type ControllerRevisionInput interface {
	pulumi.Input

	ToControllerRevisionOutput() ControllerRevisionOutput
	ToControllerRevisionOutputWithContext(ctx context.Context) ControllerRevisionOutput
}

type ControllerRevisionList

type ControllerRevisionList struct {
	pulumi.CustomResourceState

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion pulumi.StringPtrOutput `pulumi:"apiVersion"`
	// Items is the list of ControllerRevisions
	Items ControllerRevisionTypeArrayOutput `pulumi:"items"`
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind pulumi.StringPtrOutput `pulumi:"kind"`
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata metav1.ListMetaPtrOutput `pulumi:"metadata"`
}

ControllerRevisionList is a resource containing a list of ControllerRevision objects.

func GetControllerRevisionList

func GetControllerRevisionList(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ControllerRevisionListState, opts ...pulumi.ResourceOption) (*ControllerRevisionList, error)

GetControllerRevisionList gets an existing ControllerRevisionList resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewControllerRevisionList

func NewControllerRevisionList(ctx *pulumi.Context,
	name string, args *ControllerRevisionListArgs, opts ...pulumi.ResourceOption) (*ControllerRevisionList, error)

NewControllerRevisionList registers a new resource with the given unique name, arguments, and options.

func (*ControllerRevisionList) ElementType

func (*ControllerRevisionList) ElementType() reflect.Type

func (*ControllerRevisionList) ToControllerRevisionListOutput

func (i *ControllerRevisionList) ToControllerRevisionListOutput() ControllerRevisionListOutput

func (*ControllerRevisionList) ToControllerRevisionListOutputWithContext

func (i *ControllerRevisionList) ToControllerRevisionListOutputWithContext(ctx context.Context) ControllerRevisionListOutput

type ControllerRevisionListArgs

type ControllerRevisionListArgs struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion pulumi.StringPtrInput
	// Items is the list of ControllerRevisions
	Items ControllerRevisionTypeArrayInput
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind pulumi.StringPtrInput
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata metav1.ListMetaPtrInput
}

The set of arguments for constructing a ControllerRevisionList resource.

func (ControllerRevisionListArgs) ElementType

func (ControllerRevisionListArgs) ElementType() reflect.Type

type ControllerRevisionListArray

type ControllerRevisionListArray []ControllerRevisionListInput

func (ControllerRevisionListArray) ElementType

func (ControllerRevisionListArray) ToControllerRevisionListArrayOutput

func (i ControllerRevisionListArray) ToControllerRevisionListArrayOutput() ControllerRevisionListArrayOutput

func (ControllerRevisionListArray) ToControllerRevisionListArrayOutputWithContext

func (i ControllerRevisionListArray) ToControllerRevisionListArrayOutputWithContext(ctx context.Context) ControllerRevisionListArrayOutput

type ControllerRevisionListArrayInput

type ControllerRevisionListArrayInput interface {
	pulumi.Input

	ToControllerRevisionListArrayOutput() ControllerRevisionListArrayOutput
	ToControllerRevisionListArrayOutputWithContext(context.Context) ControllerRevisionListArrayOutput
}

ControllerRevisionListArrayInput is an input type that accepts ControllerRevisionListArray and ControllerRevisionListArrayOutput values. You can construct a concrete instance of `ControllerRevisionListArrayInput` via:

ControllerRevisionListArray{ ControllerRevisionListArgs{...} }

type ControllerRevisionListArrayOutput

type ControllerRevisionListArrayOutput struct{ *pulumi.OutputState }

func (ControllerRevisionListArrayOutput) ElementType

func (ControllerRevisionListArrayOutput) Index

func (ControllerRevisionListArrayOutput) ToControllerRevisionListArrayOutput

func (o ControllerRevisionListArrayOutput) ToControllerRevisionListArrayOutput() ControllerRevisionListArrayOutput

func (ControllerRevisionListArrayOutput) ToControllerRevisionListArrayOutputWithContext

func (o ControllerRevisionListArrayOutput) ToControllerRevisionListArrayOutputWithContext(ctx context.Context) ControllerRevisionListArrayOutput

type ControllerRevisionListInput

type ControllerRevisionListInput interface {
	pulumi.Input

	ToControllerRevisionListOutput() ControllerRevisionListOutput
	ToControllerRevisionListOutputWithContext(ctx context.Context) ControllerRevisionListOutput
}

type ControllerRevisionListMap

type ControllerRevisionListMap map[string]ControllerRevisionListInput

func (ControllerRevisionListMap) ElementType

func (ControllerRevisionListMap) ElementType() reflect.Type

func (ControllerRevisionListMap) ToControllerRevisionListMapOutput

func (i ControllerRevisionListMap) ToControllerRevisionListMapOutput() ControllerRevisionListMapOutput

func (ControllerRevisionListMap) ToControllerRevisionListMapOutputWithContext

func (i ControllerRevisionListMap) ToControllerRevisionListMapOutputWithContext(ctx context.Context) ControllerRevisionListMapOutput

type ControllerRevisionListMapInput

type ControllerRevisionListMapInput interface {
	pulumi.Input

	ToControllerRevisionListMapOutput() ControllerRevisionListMapOutput
	ToControllerRevisionListMapOutputWithContext(context.Context) ControllerRevisionListMapOutput
}

ControllerRevisionListMapInput is an input type that accepts ControllerRevisionListMap and ControllerRevisionListMapOutput values. You can construct a concrete instance of `ControllerRevisionListMapInput` via:

ControllerRevisionListMap{ "key": ControllerRevisionListArgs{...} }

type ControllerRevisionListMapOutput

type ControllerRevisionListMapOutput struct{ *pulumi.OutputState }

func (ControllerRevisionListMapOutput) ElementType

func (ControllerRevisionListMapOutput) MapIndex

func (ControllerRevisionListMapOutput) ToControllerRevisionListMapOutput

func (o ControllerRevisionListMapOutput) ToControllerRevisionListMapOutput() ControllerRevisionListMapOutput

func (ControllerRevisionListMapOutput) ToControllerRevisionListMapOutputWithContext

func (o ControllerRevisionListMapOutput) ToControllerRevisionListMapOutputWithContext(ctx context.Context) ControllerRevisionListMapOutput

type ControllerRevisionListOutput

type ControllerRevisionListOutput struct{ *pulumi.OutputState }

func (ControllerRevisionListOutput) ApiVersion added in v3.19.1

APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources

func (ControllerRevisionListOutput) ElementType

func (ControllerRevisionListOutput) Items added in v3.19.1

Items is the list of ControllerRevisions

func (ControllerRevisionListOutput) Kind added in v3.19.1

Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

func (ControllerRevisionListOutput) ToControllerRevisionListOutput

func (o ControllerRevisionListOutput) ToControllerRevisionListOutput() ControllerRevisionListOutput

func (ControllerRevisionListOutput) ToControllerRevisionListOutputWithContext

func (o ControllerRevisionListOutput) ToControllerRevisionListOutputWithContext(ctx context.Context) ControllerRevisionListOutput

type ControllerRevisionListState

type ControllerRevisionListState struct {
}

func (ControllerRevisionListState) ElementType

type ControllerRevisionListType

type ControllerRevisionListType struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion *string `pulumi:"apiVersion"`
	// Items is the list of ControllerRevisions
	Items []ControllerRevisionType `pulumi:"items"`
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind *string `pulumi:"kind"`
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata *metav1.ListMeta `pulumi:"metadata"`
}

ControllerRevisionList is a resource containing a list of ControllerRevision objects.

type ControllerRevisionListTypeArgs

type ControllerRevisionListTypeArgs struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion pulumi.StringPtrInput `pulumi:"apiVersion"`
	// Items is the list of ControllerRevisions
	Items ControllerRevisionTypeArrayInput `pulumi:"items"`
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind pulumi.StringPtrInput `pulumi:"kind"`
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata metav1.ListMetaPtrInput `pulumi:"metadata"`
}

ControllerRevisionList is a resource containing a list of ControllerRevision objects.

func (ControllerRevisionListTypeArgs) ElementType

func (ControllerRevisionListTypeArgs) ToControllerRevisionListTypeOutput

func (i ControllerRevisionListTypeArgs) ToControllerRevisionListTypeOutput() ControllerRevisionListTypeOutput

func (ControllerRevisionListTypeArgs) ToControllerRevisionListTypeOutputWithContext

func (i ControllerRevisionListTypeArgs) ToControllerRevisionListTypeOutputWithContext(ctx context.Context) ControllerRevisionListTypeOutput

type ControllerRevisionListTypeInput

type ControllerRevisionListTypeInput interface {
	pulumi.Input

	ToControllerRevisionListTypeOutput() ControllerRevisionListTypeOutput
	ToControllerRevisionListTypeOutputWithContext(context.Context) ControllerRevisionListTypeOutput
}

ControllerRevisionListTypeInput is an input type that accepts ControllerRevisionListTypeArgs and ControllerRevisionListTypeOutput values. You can construct a concrete instance of `ControllerRevisionListTypeInput` via:

ControllerRevisionListTypeArgs{...}

type ControllerRevisionListTypeOutput

type ControllerRevisionListTypeOutput struct{ *pulumi.OutputState }

ControllerRevisionList is a resource containing a list of ControllerRevision objects.

func (ControllerRevisionListTypeOutput) ApiVersion

APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources

func (ControllerRevisionListTypeOutput) ElementType

func (ControllerRevisionListTypeOutput) Items

Items is the list of ControllerRevisions

func (ControllerRevisionListTypeOutput) Kind

Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

func (ControllerRevisionListTypeOutput) ToControllerRevisionListTypeOutput

func (o ControllerRevisionListTypeOutput) ToControllerRevisionListTypeOutput() ControllerRevisionListTypeOutput

func (ControllerRevisionListTypeOutput) ToControllerRevisionListTypeOutputWithContext

func (o ControllerRevisionListTypeOutput) ToControllerRevisionListTypeOutputWithContext(ctx context.Context) ControllerRevisionListTypeOutput

type ControllerRevisionMap

type ControllerRevisionMap map[string]ControllerRevisionInput

func (ControllerRevisionMap) ElementType

func (ControllerRevisionMap) ElementType() reflect.Type

func (ControllerRevisionMap) ToControllerRevisionMapOutput

func (i ControllerRevisionMap) ToControllerRevisionMapOutput() ControllerRevisionMapOutput

func (ControllerRevisionMap) ToControllerRevisionMapOutputWithContext

func (i ControllerRevisionMap) ToControllerRevisionMapOutputWithContext(ctx context.Context) ControllerRevisionMapOutput

type ControllerRevisionMapInput

type ControllerRevisionMapInput interface {
	pulumi.Input

	ToControllerRevisionMapOutput() ControllerRevisionMapOutput
	ToControllerRevisionMapOutputWithContext(context.Context) ControllerRevisionMapOutput
}

ControllerRevisionMapInput is an input type that accepts ControllerRevisionMap and ControllerRevisionMapOutput values. You can construct a concrete instance of `ControllerRevisionMapInput` via:

ControllerRevisionMap{ "key": ControllerRevisionArgs{...} }

type ControllerRevisionMapOutput

type ControllerRevisionMapOutput struct{ *pulumi.OutputState }

func (ControllerRevisionMapOutput) ElementType

func (ControllerRevisionMapOutput) MapIndex

func (ControllerRevisionMapOutput) ToControllerRevisionMapOutput

func (o ControllerRevisionMapOutput) ToControllerRevisionMapOutput() ControllerRevisionMapOutput

func (ControllerRevisionMapOutput) ToControllerRevisionMapOutputWithContext

func (o ControllerRevisionMapOutput) ToControllerRevisionMapOutputWithContext(ctx context.Context) ControllerRevisionMapOutput

type ControllerRevisionOutput

type ControllerRevisionOutput struct{ *pulumi.OutputState }

func (ControllerRevisionOutput) ApiVersion added in v3.19.1

APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources

func (ControllerRevisionOutput) Data added in v3.19.1

Data is the serialized representation of the state.

func (ControllerRevisionOutput) ElementType

func (ControllerRevisionOutput) ElementType() reflect.Type

func (ControllerRevisionOutput) Kind added in v3.19.1

Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

func (ControllerRevisionOutput) Metadata added in v3.19.1

Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

func (ControllerRevisionOutput) Revision added in v3.19.1

Revision indicates the revision of the state represented by Data.

func (ControllerRevisionOutput) ToControllerRevisionOutput

func (o ControllerRevisionOutput) ToControllerRevisionOutput() ControllerRevisionOutput

func (ControllerRevisionOutput) ToControllerRevisionOutputWithContext

func (o ControllerRevisionOutput) ToControllerRevisionOutputWithContext(ctx context.Context) ControllerRevisionOutput

type ControllerRevisionPatch deprecated added in v3.20.0

type ControllerRevisionPatch struct {
	pulumi.CustomResourceState

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion pulumi.StringPtrOutput `pulumi:"apiVersion"`
	// Data is the serialized representation of the state.
	Data pulumi.AnyOutput `pulumi:"data"`
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind pulumi.StringPtrOutput `pulumi:"kind"`
	// Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata metav1.ObjectMetaPatchPtrOutput `pulumi:"metadata"`
	// Revision indicates the revision of the state represented by Data.
	Revision pulumi.IntPtrOutput `pulumi:"revision"`
}

Patch resources are used to modify existing Kubernetes resources by using Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the [Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi. ControllerRevision implements an immutable snapshot of state data. Clients are responsible for serializing and deserializing the objects that contain their internal state. Once a ControllerRevision has been successfully created, it can not be updated. The API Server will fail validation of all requests that attempt to mutate the Data field. ControllerRevisions may, however, be deleted. Note that, due to its use by both the DaemonSet and StatefulSet controllers for update and rollback, this object is beta. However, it may be subject to name and representation changes in future releases, and clients should not depend on its stability. It is primarily for internal use by controllers.

Deprecated: apps/v1beta1/ControllerRevision is deprecated by apps/v1/ControllerRevision and not supported by Kubernetes v1.16+ clusters.

func GetControllerRevisionPatch added in v3.20.0

func GetControllerRevisionPatch(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ControllerRevisionPatchState, opts ...pulumi.ResourceOption) (*ControllerRevisionPatch, error)

GetControllerRevisionPatch gets an existing ControllerRevisionPatch resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewControllerRevisionPatch added in v3.20.0

func NewControllerRevisionPatch(ctx *pulumi.Context,
	name string, args *ControllerRevisionPatchArgs, opts ...pulumi.ResourceOption) (*ControllerRevisionPatch, error)

NewControllerRevisionPatch registers a new resource with the given unique name, arguments, and options.

func (*ControllerRevisionPatch) ElementType added in v3.20.0

func (*ControllerRevisionPatch) ElementType() reflect.Type

func (*ControllerRevisionPatch) ToControllerRevisionPatchOutput added in v3.20.0

func (i *ControllerRevisionPatch) ToControllerRevisionPatchOutput() ControllerRevisionPatchOutput

func (*ControllerRevisionPatch) ToControllerRevisionPatchOutputWithContext added in v3.20.0

func (i *ControllerRevisionPatch) ToControllerRevisionPatchOutputWithContext(ctx context.Context) ControllerRevisionPatchOutput

type ControllerRevisionPatchArgs added in v3.20.0

type ControllerRevisionPatchArgs struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion pulumi.StringPtrInput
	// Data is the serialized representation of the state.
	Data pulumi.Input
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind pulumi.StringPtrInput
	// Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata metav1.ObjectMetaPatchPtrInput
	// Revision indicates the revision of the state represented by Data.
	Revision pulumi.IntPtrInput
}

The set of arguments for constructing a ControllerRevisionPatch resource.

func (ControllerRevisionPatchArgs) ElementType added in v3.20.0

type ControllerRevisionPatchArray added in v3.20.0

type ControllerRevisionPatchArray []ControllerRevisionPatchInput

func (ControllerRevisionPatchArray) ElementType added in v3.20.0

func (ControllerRevisionPatchArray) ToControllerRevisionPatchArrayOutput added in v3.20.0

func (i ControllerRevisionPatchArray) ToControllerRevisionPatchArrayOutput() ControllerRevisionPatchArrayOutput

func (ControllerRevisionPatchArray) ToControllerRevisionPatchArrayOutputWithContext added in v3.20.0

func (i ControllerRevisionPatchArray) ToControllerRevisionPatchArrayOutputWithContext(ctx context.Context) ControllerRevisionPatchArrayOutput

type ControllerRevisionPatchArrayInput added in v3.20.0

type ControllerRevisionPatchArrayInput interface {
	pulumi.Input

	ToControllerRevisionPatchArrayOutput() ControllerRevisionPatchArrayOutput
	ToControllerRevisionPatchArrayOutputWithContext(context.Context) ControllerRevisionPatchArrayOutput
}

ControllerRevisionPatchArrayInput is an input type that accepts ControllerRevisionPatchArray and ControllerRevisionPatchArrayOutput values. You can construct a concrete instance of `ControllerRevisionPatchArrayInput` via:

ControllerRevisionPatchArray{ ControllerRevisionPatchArgs{...} }

type ControllerRevisionPatchArrayOutput added in v3.20.0

type ControllerRevisionPatchArrayOutput struct{ *pulumi.OutputState }

func (ControllerRevisionPatchArrayOutput) ElementType added in v3.20.0

func (ControllerRevisionPatchArrayOutput) Index added in v3.20.0

func (ControllerRevisionPatchArrayOutput) ToControllerRevisionPatchArrayOutput added in v3.20.0

func (o ControllerRevisionPatchArrayOutput) ToControllerRevisionPatchArrayOutput() ControllerRevisionPatchArrayOutput

func (ControllerRevisionPatchArrayOutput) ToControllerRevisionPatchArrayOutputWithContext added in v3.20.0

func (o ControllerRevisionPatchArrayOutput) ToControllerRevisionPatchArrayOutputWithContext(ctx context.Context) ControllerRevisionPatchArrayOutput

type ControllerRevisionPatchInput added in v3.20.0

type ControllerRevisionPatchInput interface {
	pulumi.Input

	ToControllerRevisionPatchOutput() ControllerRevisionPatchOutput
	ToControllerRevisionPatchOutputWithContext(ctx context.Context) ControllerRevisionPatchOutput
}

type ControllerRevisionPatchMap added in v3.20.0

type ControllerRevisionPatchMap map[string]ControllerRevisionPatchInput

func (ControllerRevisionPatchMap) ElementType added in v3.20.0

func (ControllerRevisionPatchMap) ElementType() reflect.Type

func (ControllerRevisionPatchMap) ToControllerRevisionPatchMapOutput added in v3.20.0

func (i ControllerRevisionPatchMap) ToControllerRevisionPatchMapOutput() ControllerRevisionPatchMapOutput

func (ControllerRevisionPatchMap) ToControllerRevisionPatchMapOutputWithContext added in v3.20.0

func (i ControllerRevisionPatchMap) ToControllerRevisionPatchMapOutputWithContext(ctx context.Context) ControllerRevisionPatchMapOutput

type ControllerRevisionPatchMapInput added in v3.20.0

type ControllerRevisionPatchMapInput interface {
	pulumi.Input

	ToControllerRevisionPatchMapOutput() ControllerRevisionPatchMapOutput
	ToControllerRevisionPatchMapOutputWithContext(context.Context) ControllerRevisionPatchMapOutput
}

ControllerRevisionPatchMapInput is an input type that accepts ControllerRevisionPatchMap and ControllerRevisionPatchMapOutput values. You can construct a concrete instance of `ControllerRevisionPatchMapInput` via:

ControllerRevisionPatchMap{ "key": ControllerRevisionPatchArgs{...} }

type ControllerRevisionPatchMapOutput added in v3.20.0

type ControllerRevisionPatchMapOutput struct{ *pulumi.OutputState }

func (ControllerRevisionPatchMapOutput) ElementType added in v3.20.0

func (ControllerRevisionPatchMapOutput) MapIndex added in v3.20.0

func (ControllerRevisionPatchMapOutput) ToControllerRevisionPatchMapOutput added in v3.20.0

func (o ControllerRevisionPatchMapOutput) ToControllerRevisionPatchMapOutput() ControllerRevisionPatchMapOutput

func (ControllerRevisionPatchMapOutput) ToControllerRevisionPatchMapOutputWithContext added in v3.20.0

func (o ControllerRevisionPatchMapOutput) ToControllerRevisionPatchMapOutputWithContext(ctx context.Context) ControllerRevisionPatchMapOutput

type ControllerRevisionPatchOutput added in v3.20.0

type ControllerRevisionPatchOutput struct{ *pulumi.OutputState }

func (ControllerRevisionPatchOutput) ApiVersion added in v3.20.0

APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources

func (ControllerRevisionPatchOutput) Data added in v3.20.0

Data is the serialized representation of the state.

func (ControllerRevisionPatchOutput) ElementType added in v3.20.0

func (ControllerRevisionPatchOutput) Kind added in v3.20.0

Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

func (ControllerRevisionPatchOutput) Metadata added in v3.20.0

Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

func (ControllerRevisionPatchOutput) Revision added in v3.20.0

Revision indicates the revision of the state represented by Data.

func (ControllerRevisionPatchOutput) ToControllerRevisionPatchOutput added in v3.20.0

func (o ControllerRevisionPatchOutput) ToControllerRevisionPatchOutput() ControllerRevisionPatchOutput

func (ControllerRevisionPatchOutput) ToControllerRevisionPatchOutputWithContext added in v3.20.0

func (o ControllerRevisionPatchOutput) ToControllerRevisionPatchOutputWithContext(ctx context.Context) ControllerRevisionPatchOutput

type ControllerRevisionPatchState added in v3.20.0

type ControllerRevisionPatchState struct {
}

func (ControllerRevisionPatchState) ElementType added in v3.20.0

type ControllerRevisionPatchType added in v3.20.0

type ControllerRevisionPatchType struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion *string `pulumi:"apiVersion"`
	// Data is the serialized representation of the state.
	Data interface{} `pulumi:"data"`
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind *string `pulumi:"kind"`
	// Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata *metav1.ObjectMetaPatch `pulumi:"metadata"`
	// Revision indicates the revision of the state represented by Data.
	Revision *int `pulumi:"revision"`
}

ControllerRevision implements an immutable snapshot of state data. Clients are responsible for serializing and deserializing the objects that contain their internal state. Once a ControllerRevision has been successfully created, it can not be updated. The API Server will fail validation of all requests that attempt to mutate the Data field. ControllerRevisions may, however, be deleted. Note that, due to its use by both the DaemonSet and StatefulSet controllers for update and rollback, this object is beta. However, it may be subject to name and representation changes in future releases, and clients should not depend on its stability. It is primarily for internal use by controllers.

type ControllerRevisionPatchTypeArgs added in v3.20.0

type ControllerRevisionPatchTypeArgs struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion pulumi.StringPtrInput `pulumi:"apiVersion"`
	// Data is the serialized representation of the state.
	Data pulumi.Input `pulumi:"data"`
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind pulumi.StringPtrInput `pulumi:"kind"`
	// Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata metav1.ObjectMetaPatchPtrInput `pulumi:"metadata"`
	// Revision indicates the revision of the state represented by Data.
	Revision pulumi.IntPtrInput `pulumi:"revision"`
}

ControllerRevision implements an immutable snapshot of state data. Clients are responsible for serializing and deserializing the objects that contain their internal state. Once a ControllerRevision has been successfully created, it can not be updated. The API Server will fail validation of all requests that attempt to mutate the Data field. ControllerRevisions may, however, be deleted. Note that, due to its use by both the DaemonSet and StatefulSet controllers for update and rollback, this object is beta. However, it may be subject to name and representation changes in future releases, and clients should not depend on its stability. It is primarily for internal use by controllers.

func (ControllerRevisionPatchTypeArgs) ElementType added in v3.20.0

func (ControllerRevisionPatchTypeArgs) ToControllerRevisionPatchTypeOutput added in v3.20.0

func (i ControllerRevisionPatchTypeArgs) ToControllerRevisionPatchTypeOutput() ControllerRevisionPatchTypeOutput

func (ControllerRevisionPatchTypeArgs) ToControllerRevisionPatchTypeOutputWithContext added in v3.20.0

func (i ControllerRevisionPatchTypeArgs) ToControllerRevisionPatchTypeOutputWithContext(ctx context.Context) ControllerRevisionPatchTypeOutput

type ControllerRevisionPatchTypeInput added in v3.20.0

type ControllerRevisionPatchTypeInput interface {
	pulumi.Input

	ToControllerRevisionPatchTypeOutput() ControllerRevisionPatchTypeOutput
	ToControllerRevisionPatchTypeOutputWithContext(context.Context) ControllerRevisionPatchTypeOutput
}

ControllerRevisionPatchTypeInput is an input type that accepts ControllerRevisionPatchTypeArgs and ControllerRevisionPatchTypeOutput values. You can construct a concrete instance of `ControllerRevisionPatchTypeInput` via:

ControllerRevisionPatchTypeArgs{...}

type ControllerRevisionPatchTypeOutput added in v3.20.0

type ControllerRevisionPatchTypeOutput struct{ *pulumi.OutputState }

ControllerRevision implements an immutable snapshot of state data. Clients are responsible for serializing and deserializing the objects that contain their internal state. Once a ControllerRevision has been successfully created, it can not be updated. The API Server will fail validation of all requests that attempt to mutate the Data field. ControllerRevisions may, however, be deleted. Note that, due to its use by both the DaemonSet and StatefulSet controllers for update and rollback, this object is beta. However, it may be subject to name and representation changes in future releases, and clients should not depend on its stability. It is primarily for internal use by controllers.

func (ControllerRevisionPatchTypeOutput) ApiVersion added in v3.20.0

APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources

func (ControllerRevisionPatchTypeOutput) Data added in v3.20.0

Data is the serialized representation of the state.

func (ControllerRevisionPatchTypeOutput) ElementType added in v3.20.0

func (ControllerRevisionPatchTypeOutput) Kind added in v3.20.0

Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

func (ControllerRevisionPatchTypeOutput) Metadata added in v3.20.0

Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

func (ControllerRevisionPatchTypeOutput) Revision added in v3.20.0

Revision indicates the revision of the state represented by Data.

func (ControllerRevisionPatchTypeOutput) ToControllerRevisionPatchTypeOutput added in v3.20.0

func (o ControllerRevisionPatchTypeOutput) ToControllerRevisionPatchTypeOutput() ControllerRevisionPatchTypeOutput

func (ControllerRevisionPatchTypeOutput) ToControllerRevisionPatchTypeOutputWithContext added in v3.20.0

func (o ControllerRevisionPatchTypeOutput) ToControllerRevisionPatchTypeOutputWithContext(ctx context.Context) ControllerRevisionPatchTypeOutput

type ControllerRevisionState

type ControllerRevisionState struct {
}

func (ControllerRevisionState) ElementType

func (ControllerRevisionState) ElementType() reflect.Type

type ControllerRevisionType

type ControllerRevisionType struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion *string `pulumi:"apiVersion"`
	// Data is the serialized representation of the state.
	Data interface{} `pulumi:"data"`
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind *string `pulumi:"kind"`
	// Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata *metav1.ObjectMeta `pulumi:"metadata"`
	// Revision indicates the revision of the state represented by Data.
	Revision int `pulumi:"revision"`
}

ControllerRevision implements an immutable snapshot of state data. Clients are responsible for serializing and deserializing the objects that contain their internal state. Once a ControllerRevision has been successfully created, it can not be updated. The API Server will fail validation of all requests that attempt to mutate the Data field. ControllerRevisions may, however, be deleted. Note that, due to its use by both the DaemonSet and StatefulSet controllers for update and rollback, this object is beta. However, it may be subject to name and representation changes in future releases, and clients should not depend on its stability. It is primarily for internal use by controllers.

type ControllerRevisionTypeArgs

type ControllerRevisionTypeArgs struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion pulumi.StringPtrInput `pulumi:"apiVersion"`
	// Data is the serialized representation of the state.
	Data pulumi.Input `pulumi:"data"`
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind pulumi.StringPtrInput `pulumi:"kind"`
	// Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata metav1.ObjectMetaPtrInput `pulumi:"metadata"`
	// Revision indicates the revision of the state represented by Data.
	Revision pulumi.IntInput `pulumi:"revision"`
}

ControllerRevision implements an immutable snapshot of state data. Clients are responsible for serializing and deserializing the objects that contain their internal state. Once a ControllerRevision has been successfully created, it can not be updated. The API Server will fail validation of all requests that attempt to mutate the Data field. ControllerRevisions may, however, be deleted. Note that, due to its use by both the DaemonSet and StatefulSet controllers for update and rollback, this object is beta. However, it may be subject to name and representation changes in future releases, and clients should not depend on its stability. It is primarily for internal use by controllers.

func (ControllerRevisionTypeArgs) ElementType

func (ControllerRevisionTypeArgs) ElementType() reflect.Type

func (ControllerRevisionTypeArgs) ToControllerRevisionTypeOutput

func (i ControllerRevisionTypeArgs) ToControllerRevisionTypeOutput() ControllerRevisionTypeOutput

func (ControllerRevisionTypeArgs) ToControllerRevisionTypeOutputWithContext

func (i ControllerRevisionTypeArgs) ToControllerRevisionTypeOutputWithContext(ctx context.Context) ControllerRevisionTypeOutput

type ControllerRevisionTypeArray

type ControllerRevisionTypeArray []ControllerRevisionTypeInput

func (ControllerRevisionTypeArray) ElementType

func (ControllerRevisionTypeArray) ToControllerRevisionTypeArrayOutput

func (i ControllerRevisionTypeArray) ToControllerRevisionTypeArrayOutput() ControllerRevisionTypeArrayOutput

func (ControllerRevisionTypeArray) ToControllerRevisionTypeArrayOutputWithContext

func (i ControllerRevisionTypeArray) ToControllerRevisionTypeArrayOutputWithContext(ctx context.Context) ControllerRevisionTypeArrayOutput

type ControllerRevisionTypeArrayInput

type ControllerRevisionTypeArrayInput interface {
	pulumi.Input

	ToControllerRevisionTypeArrayOutput() ControllerRevisionTypeArrayOutput
	ToControllerRevisionTypeArrayOutputWithContext(context.Context) ControllerRevisionTypeArrayOutput
}

ControllerRevisionTypeArrayInput is an input type that accepts ControllerRevisionTypeArray and ControllerRevisionTypeArrayOutput values. You can construct a concrete instance of `ControllerRevisionTypeArrayInput` via:

ControllerRevisionTypeArray{ ControllerRevisionTypeArgs{...} }

type ControllerRevisionTypeArrayOutput

type ControllerRevisionTypeArrayOutput struct{ *pulumi.OutputState }

func (ControllerRevisionTypeArrayOutput) ElementType

func (ControllerRevisionTypeArrayOutput) Index

func (ControllerRevisionTypeArrayOutput) ToControllerRevisionTypeArrayOutput

func (o ControllerRevisionTypeArrayOutput) ToControllerRevisionTypeArrayOutput() ControllerRevisionTypeArrayOutput

func (ControllerRevisionTypeArrayOutput) ToControllerRevisionTypeArrayOutputWithContext

func (o ControllerRevisionTypeArrayOutput) ToControllerRevisionTypeArrayOutputWithContext(ctx context.Context) ControllerRevisionTypeArrayOutput

type ControllerRevisionTypeInput

type ControllerRevisionTypeInput interface {
	pulumi.Input

	ToControllerRevisionTypeOutput() ControllerRevisionTypeOutput
	ToControllerRevisionTypeOutputWithContext(context.Context) ControllerRevisionTypeOutput
}

ControllerRevisionTypeInput is an input type that accepts ControllerRevisionTypeArgs and ControllerRevisionTypeOutput values. You can construct a concrete instance of `ControllerRevisionTypeInput` via:

ControllerRevisionTypeArgs{...}

type ControllerRevisionTypeOutput

type ControllerRevisionTypeOutput struct{ *pulumi.OutputState }

ControllerRevision implements an immutable snapshot of state data. Clients are responsible for serializing and deserializing the objects that contain their internal state. Once a ControllerRevision has been successfully created, it can not be updated. The API Server will fail validation of all requests that attempt to mutate the Data field. ControllerRevisions may, however, be deleted. Note that, due to its use by both the DaemonSet and StatefulSet controllers for update and rollback, this object is beta. However, it may be subject to name and representation changes in future releases, and clients should not depend on its stability. It is primarily for internal use by controllers.

func (ControllerRevisionTypeOutput) ApiVersion

APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources

func (ControllerRevisionTypeOutput) Data

Data is the serialized representation of the state.

func (ControllerRevisionTypeOutput) ElementType

func (ControllerRevisionTypeOutput) Kind

Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

func (ControllerRevisionTypeOutput) Revision

Revision indicates the revision of the state represented by Data.

func (ControllerRevisionTypeOutput) ToControllerRevisionTypeOutput

func (o ControllerRevisionTypeOutput) ToControllerRevisionTypeOutput() ControllerRevisionTypeOutput

func (ControllerRevisionTypeOutput) ToControllerRevisionTypeOutputWithContext

func (o ControllerRevisionTypeOutput) ToControllerRevisionTypeOutputWithContext(ctx context.Context) ControllerRevisionTypeOutput

type Deployment deprecated

type Deployment struct {
	pulumi.CustomResourceState

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion pulumi.StringPtrOutput `pulumi:"apiVersion"`
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind pulumi.StringPtrOutput `pulumi:"kind"`
	// Standard object metadata.
	Metadata metav1.ObjectMetaPtrOutput `pulumi:"metadata"`
	// Specification of the desired behavior of the Deployment.
	Spec DeploymentSpecPtrOutput `pulumi:"spec"`
	// Most recently observed status of the Deployment.
	Status DeploymentStatusPtrOutput `pulumi:"status"`
}

Deployment enables declarative updates for Pods and ReplicaSets.

This resource waits until its status is ready before registering success for create/update, and populating output properties from the current state of the resource. The following conditions are used to determine whether the resource creation has succeeded or failed:

  1. The Deployment has begun to be updated by the Deployment controller. If the current generation of the Deployment is > 1, then this means that the current generation must be different from the generation reported by the last outputs.
  2. There exists a ReplicaSet whose revision is equal to the current revision of the Deployment.
  3. The Deployment's '.status.conditions' has a status of type 'Available' whose 'status' member is set to 'True'.
  4. If the Deployment has generation > 1, then '.status.conditions' has a status of type 'Progressing', whose 'status' member is set to 'True', and whose 'reason' is 'NewReplicaSetAvailable'. For generation <= 1, this status field does not exist, because it doesn't do a rollout (i.e., it simply creates the Deployment and corresponding ReplicaSet), and therefore there is no rollout to mark as 'Progressing'.

If the Deployment has not reached a Ready state after 10 minutes, it will time out and mark the resource update as Failed. You can override the default timeout value by setting the 'customTimeouts' option on the resource.

Deprecated: apps/v1beta1/Deployment is deprecated by apps/v1/Deployment and not supported by Kubernetes v1.16+ clusters.

func GetDeployment

func GetDeployment(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DeploymentState, opts ...pulumi.ResourceOption) (*Deployment, error)

GetDeployment gets an existing Deployment resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewDeployment

func NewDeployment(ctx *pulumi.Context,
	name string, args *DeploymentArgs, opts ...pulumi.ResourceOption) (*Deployment, error)

NewDeployment registers a new resource with the given unique name, arguments, and options.

func (*Deployment) ElementType

func (*Deployment) ElementType() reflect.Type

func (*Deployment) ToDeploymentOutput

func (i *Deployment) ToDeploymentOutput() DeploymentOutput

func (*Deployment) ToDeploymentOutputWithContext

func (i *Deployment) ToDeploymentOutputWithContext(ctx context.Context) DeploymentOutput

type DeploymentArgs

type DeploymentArgs struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion pulumi.StringPtrInput
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind pulumi.StringPtrInput
	// Standard object metadata.
	Metadata metav1.ObjectMetaPtrInput
	// Specification of the desired behavior of the Deployment.
	Spec DeploymentSpecPtrInput
}

The set of arguments for constructing a Deployment resource.

func (DeploymentArgs) ElementType

func (DeploymentArgs) ElementType() reflect.Type

type DeploymentArray

type DeploymentArray []DeploymentInput

func (DeploymentArray) ElementType

func (DeploymentArray) ElementType() reflect.Type

func (DeploymentArray) ToDeploymentArrayOutput

func (i DeploymentArray) ToDeploymentArrayOutput() DeploymentArrayOutput

func (DeploymentArray) ToDeploymentArrayOutputWithContext

func (i DeploymentArray) ToDeploymentArrayOutputWithContext(ctx context.Context) DeploymentArrayOutput

type DeploymentArrayInput

type DeploymentArrayInput interface {
	pulumi.Input

	ToDeploymentArrayOutput() DeploymentArrayOutput
	ToDeploymentArrayOutputWithContext(context.Context) DeploymentArrayOutput
}

DeploymentArrayInput is an input type that accepts DeploymentArray and DeploymentArrayOutput values. You can construct a concrete instance of `DeploymentArrayInput` via:

DeploymentArray{ DeploymentArgs{...} }

type DeploymentArrayOutput

type DeploymentArrayOutput struct{ *pulumi.OutputState }

func (DeploymentArrayOutput) ElementType

func (DeploymentArrayOutput) ElementType() reflect.Type

func (DeploymentArrayOutput) Index

func (DeploymentArrayOutput) ToDeploymentArrayOutput

func (o DeploymentArrayOutput) ToDeploymentArrayOutput() DeploymentArrayOutput

func (DeploymentArrayOutput) ToDeploymentArrayOutputWithContext

func (o DeploymentArrayOutput) ToDeploymentArrayOutputWithContext(ctx context.Context) DeploymentArrayOutput

type DeploymentCondition

type DeploymentCondition struct {
	// Last time the condition transitioned from one status to another.
	LastTransitionTime *string `pulumi:"lastTransitionTime"`
	// The last time this condition was updated.
	LastUpdateTime *string `pulumi:"lastUpdateTime"`
	// A human readable message indicating details about the transition.
	Message *string `pulumi:"message"`
	// The reason for the condition's last transition.
	Reason *string `pulumi:"reason"`
	// Status of the condition, one of True, False, Unknown.
	Status string `pulumi:"status"`
	// Type of deployment condition.
	Type string `pulumi:"type"`
}

DeploymentCondition describes the state of a deployment at a certain point.

type DeploymentConditionArgs

type DeploymentConditionArgs struct {
	// Last time the condition transitioned from one status to another.
	LastTransitionTime pulumi.StringPtrInput `pulumi:"lastTransitionTime"`
	// The last time this condition was updated.
	LastUpdateTime pulumi.StringPtrInput `pulumi:"lastUpdateTime"`
	// A human readable message indicating details about the transition.
	Message pulumi.StringPtrInput `pulumi:"message"`
	// The reason for the condition's last transition.
	Reason pulumi.StringPtrInput `pulumi:"reason"`
	// Status of the condition, one of True, False, Unknown.
	Status pulumi.StringInput `pulumi:"status"`
	// Type of deployment condition.
	Type pulumi.StringInput `pulumi:"type"`
}

DeploymentCondition describes the state of a deployment at a certain point.

func (DeploymentConditionArgs) ElementType

func (DeploymentConditionArgs) ElementType() reflect.Type

func (DeploymentConditionArgs) ToDeploymentConditionOutput

func (i DeploymentConditionArgs) ToDeploymentConditionOutput() DeploymentConditionOutput

func (DeploymentConditionArgs) ToDeploymentConditionOutputWithContext

func (i DeploymentConditionArgs) ToDeploymentConditionOutputWithContext(ctx context.Context) DeploymentConditionOutput

type DeploymentConditionArray

type DeploymentConditionArray []DeploymentConditionInput

func (DeploymentConditionArray) ElementType

func (DeploymentConditionArray) ElementType() reflect.Type

func (DeploymentConditionArray) ToDeploymentConditionArrayOutput

func (i DeploymentConditionArray) ToDeploymentConditionArrayOutput() DeploymentConditionArrayOutput

func (DeploymentConditionArray) ToDeploymentConditionArrayOutputWithContext

func (i DeploymentConditionArray) ToDeploymentConditionArrayOutputWithContext(ctx context.Context) DeploymentConditionArrayOutput

type DeploymentConditionArrayInput

type DeploymentConditionArrayInput interface {
	pulumi.Input

	ToDeploymentConditionArrayOutput() DeploymentConditionArrayOutput
	ToDeploymentConditionArrayOutputWithContext(context.Context) DeploymentConditionArrayOutput
}

DeploymentConditionArrayInput is an input type that accepts DeploymentConditionArray and DeploymentConditionArrayOutput values. You can construct a concrete instance of `DeploymentConditionArrayInput` via:

DeploymentConditionArray{ DeploymentConditionArgs{...} }

type DeploymentConditionArrayOutput

type DeploymentConditionArrayOutput struct{ *pulumi.OutputState }

func (DeploymentConditionArrayOutput) ElementType

func (DeploymentConditionArrayOutput) Index

func (DeploymentConditionArrayOutput) ToDeploymentConditionArrayOutput

func (o DeploymentConditionArrayOutput) ToDeploymentConditionArrayOutput() DeploymentConditionArrayOutput

func (DeploymentConditionArrayOutput) ToDeploymentConditionArrayOutputWithContext

func (o DeploymentConditionArrayOutput) ToDeploymentConditionArrayOutputWithContext(ctx context.Context) DeploymentConditionArrayOutput

type DeploymentConditionInput

type DeploymentConditionInput interface {
	pulumi.Input

	ToDeploymentConditionOutput() DeploymentConditionOutput
	ToDeploymentConditionOutputWithContext(context.Context) DeploymentConditionOutput
}

DeploymentConditionInput is an input type that accepts DeploymentConditionArgs and DeploymentConditionOutput values. You can construct a concrete instance of `DeploymentConditionInput` via:

DeploymentConditionArgs{...}

type DeploymentConditionOutput

type DeploymentConditionOutput struct{ *pulumi.OutputState }

DeploymentCondition describes the state of a deployment at a certain point.

func (DeploymentConditionOutput) ElementType

func (DeploymentConditionOutput) ElementType() reflect.Type

func (DeploymentConditionOutput) LastTransitionTime

func (o DeploymentConditionOutput) LastTransitionTime() pulumi.StringPtrOutput

Last time the condition transitioned from one status to another.

func (DeploymentConditionOutput) LastUpdateTime

The last time this condition was updated.

func (DeploymentConditionOutput) Message

A human readable message indicating details about the transition.

func (DeploymentConditionOutput) Reason

The reason for the condition's last transition.

func (DeploymentConditionOutput) Status

Status of the condition, one of True, False, Unknown.

func (DeploymentConditionOutput) ToDeploymentConditionOutput

func (o DeploymentConditionOutput) ToDeploymentConditionOutput() DeploymentConditionOutput

func (DeploymentConditionOutput) ToDeploymentConditionOutputWithContext

func (o DeploymentConditionOutput) ToDeploymentConditionOutputWithContext(ctx context.Context) DeploymentConditionOutput

func (DeploymentConditionOutput) Type

Type of deployment condition.

type DeploymentConditionPatch added in v3.20.0

type DeploymentConditionPatch struct {
	// Last time the condition transitioned from one status to another.
	LastTransitionTime *string `pulumi:"lastTransitionTime"`
	// The last time this condition was updated.
	LastUpdateTime *string `pulumi:"lastUpdateTime"`
	// A human readable message indicating details about the transition.
	Message *string `pulumi:"message"`
	// The reason for the condition's last transition.
	Reason *string `pulumi:"reason"`
	// Status of the condition, one of True, False, Unknown.
	Status *string `pulumi:"status"`
	// Type of deployment condition.
	Type *string `pulumi:"type"`
}

DeploymentCondition describes the state of a deployment at a certain point.

type DeploymentConditionPatchArgs added in v3.20.0

type DeploymentConditionPatchArgs struct {
	// Last time the condition transitioned from one status to another.
	LastTransitionTime pulumi.StringPtrInput `pulumi:"lastTransitionTime"`
	// The last time this condition was updated.
	LastUpdateTime pulumi.StringPtrInput `pulumi:"lastUpdateTime"`
	// A human readable message indicating details about the transition.
	Message pulumi.StringPtrInput `pulumi:"message"`
	// The reason for the condition's last transition.
	Reason pulumi.StringPtrInput `pulumi:"reason"`
	// Status of the condition, one of True, False, Unknown.
	Status pulumi.StringPtrInput `pulumi:"status"`
	// Type of deployment condition.
	Type pulumi.StringPtrInput `pulumi:"type"`
}

DeploymentCondition describes the state of a deployment at a certain point.

func (DeploymentConditionPatchArgs) ElementType added in v3.20.0

func (DeploymentConditionPatchArgs) ToDeploymentConditionPatchOutput added in v3.20.0

func (i DeploymentConditionPatchArgs) ToDeploymentConditionPatchOutput() DeploymentConditionPatchOutput

func (DeploymentConditionPatchArgs) ToDeploymentConditionPatchOutputWithContext added in v3.20.0

func (i DeploymentConditionPatchArgs) ToDeploymentConditionPatchOutputWithContext(ctx context.Context) DeploymentConditionPatchOutput

type DeploymentConditionPatchArray added in v3.20.0

type DeploymentConditionPatchArray []DeploymentConditionPatchInput

func (DeploymentConditionPatchArray) ElementType added in v3.20.0

func (DeploymentConditionPatchArray) ToDeploymentConditionPatchArrayOutput added in v3.20.0

func (i DeploymentConditionPatchArray) ToDeploymentConditionPatchArrayOutput() DeploymentConditionPatchArrayOutput

func (DeploymentConditionPatchArray) ToDeploymentConditionPatchArrayOutputWithContext added in v3.20.0

func (i DeploymentConditionPatchArray) ToDeploymentConditionPatchArrayOutputWithContext(ctx context.Context) DeploymentConditionPatchArrayOutput

type DeploymentConditionPatchArrayInput added in v3.20.0

type DeploymentConditionPatchArrayInput interface {
	pulumi.Input

	ToDeploymentConditionPatchArrayOutput() DeploymentConditionPatchArrayOutput
	ToDeploymentConditionPatchArrayOutputWithContext(context.Context) DeploymentConditionPatchArrayOutput
}

DeploymentConditionPatchArrayInput is an input type that accepts DeploymentConditionPatchArray and DeploymentConditionPatchArrayOutput values. You can construct a concrete instance of `DeploymentConditionPatchArrayInput` via:

DeploymentConditionPatchArray{ DeploymentConditionPatchArgs{...} }

type DeploymentConditionPatchArrayOutput added in v3.20.0

type DeploymentConditionPatchArrayOutput struct{ *pulumi.OutputState }

func (DeploymentConditionPatchArrayOutput) ElementType added in v3.20.0

func (DeploymentConditionPatchArrayOutput) Index added in v3.20.0

func (DeploymentConditionPatchArrayOutput) ToDeploymentConditionPatchArrayOutput added in v3.20.0

func (o DeploymentConditionPatchArrayOutput) ToDeploymentConditionPatchArrayOutput() DeploymentConditionPatchArrayOutput

func (DeploymentConditionPatchArrayOutput) ToDeploymentConditionPatchArrayOutputWithContext added in v3.20.0

func (o DeploymentConditionPatchArrayOutput) ToDeploymentConditionPatchArrayOutputWithContext(ctx context.Context) DeploymentConditionPatchArrayOutput

type DeploymentConditionPatchInput added in v3.20.0

type DeploymentConditionPatchInput interface {
	pulumi.Input

	ToDeploymentConditionPatchOutput() DeploymentConditionPatchOutput
	ToDeploymentConditionPatchOutputWithContext(context.Context) DeploymentConditionPatchOutput
}

DeploymentConditionPatchInput is an input type that accepts DeploymentConditionPatchArgs and DeploymentConditionPatchOutput values. You can construct a concrete instance of `DeploymentConditionPatchInput` via:

DeploymentConditionPatchArgs{...}

type DeploymentConditionPatchOutput added in v3.20.0

type DeploymentConditionPatchOutput struct{ *pulumi.OutputState }

DeploymentCondition describes the state of a deployment at a certain point.

func (DeploymentConditionPatchOutput) ElementType added in v3.20.0

func (DeploymentConditionPatchOutput) LastTransitionTime added in v3.20.0

func (o DeploymentConditionPatchOutput) LastTransitionTime() pulumi.StringPtrOutput

Last time the condition transitioned from one status to another.

func (DeploymentConditionPatchOutput) LastUpdateTime added in v3.20.0

The last time this condition was updated.

func (DeploymentConditionPatchOutput) Message added in v3.20.0

A human readable message indicating details about the transition.

func (DeploymentConditionPatchOutput) Reason added in v3.20.0

The reason for the condition's last transition.

func (DeploymentConditionPatchOutput) Status added in v3.20.0

Status of the condition, one of True, False, Unknown.

func (DeploymentConditionPatchOutput) ToDeploymentConditionPatchOutput added in v3.20.0

func (o DeploymentConditionPatchOutput) ToDeploymentConditionPatchOutput() DeploymentConditionPatchOutput

func (DeploymentConditionPatchOutput) ToDeploymentConditionPatchOutputWithContext added in v3.20.0

func (o DeploymentConditionPatchOutput) ToDeploymentConditionPatchOutputWithContext(ctx context.Context) DeploymentConditionPatchOutput

func (DeploymentConditionPatchOutput) Type added in v3.20.0

Type of deployment condition.

type DeploymentInput

type DeploymentInput interface {
	pulumi.Input

	ToDeploymentOutput() DeploymentOutput
	ToDeploymentOutputWithContext(ctx context.Context) DeploymentOutput
}

type DeploymentList

type DeploymentList struct {
	pulumi.CustomResourceState

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion pulumi.StringPtrOutput `pulumi:"apiVersion"`
	// Items is the list of Deployments.
	Items DeploymentTypeArrayOutput `pulumi:"items"`
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind pulumi.StringPtrOutput `pulumi:"kind"`
	// Standard list metadata.
	Metadata metav1.ListMetaPtrOutput `pulumi:"metadata"`
}

DeploymentList is a list of Deployments.

func GetDeploymentList

func GetDeploymentList(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DeploymentListState, opts ...pulumi.ResourceOption) (*DeploymentList, error)

GetDeploymentList gets an existing DeploymentList resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewDeploymentList

func NewDeploymentList(ctx *pulumi.Context,
	name string, args *DeploymentListArgs, opts ...pulumi.ResourceOption) (*DeploymentList, error)

NewDeploymentList registers a new resource with the given unique name, arguments, and options.

func (*DeploymentList) ElementType

func (*DeploymentList) ElementType() reflect.Type

func (*DeploymentList) ToDeploymentListOutput

func (i *DeploymentList) ToDeploymentListOutput() DeploymentListOutput

func (*DeploymentList) ToDeploymentListOutputWithContext

func (i *DeploymentList) ToDeploymentListOutputWithContext(ctx context.Context) DeploymentListOutput

type DeploymentListArgs

type DeploymentListArgs struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion pulumi.StringPtrInput
	// Items is the list of Deployments.
	Items DeploymentTypeArrayInput
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind pulumi.StringPtrInput
	// Standard list metadata.
	Metadata metav1.ListMetaPtrInput
}

The set of arguments for constructing a DeploymentList resource.

func (DeploymentListArgs) ElementType

func (DeploymentListArgs) ElementType() reflect.Type

type DeploymentListArray

type DeploymentListArray []DeploymentListInput

func (DeploymentListArray) ElementType

func (DeploymentListArray) ElementType() reflect.Type

func (DeploymentListArray) ToDeploymentListArrayOutput

func (i DeploymentListArray) ToDeploymentListArrayOutput() DeploymentListArrayOutput

func (DeploymentListArray) ToDeploymentListArrayOutputWithContext

func (i DeploymentListArray) ToDeploymentListArrayOutputWithContext(ctx context.Context) DeploymentListArrayOutput

type DeploymentListArrayInput

type DeploymentListArrayInput interface {
	pulumi.Input

	ToDeploymentListArrayOutput() DeploymentListArrayOutput
	ToDeploymentListArrayOutputWithContext(context.Context) DeploymentListArrayOutput
}

DeploymentListArrayInput is an input type that accepts DeploymentListArray and DeploymentListArrayOutput values. You can construct a concrete instance of `DeploymentListArrayInput` via:

DeploymentListArray{ DeploymentListArgs{...} }

type DeploymentListArrayOutput

type DeploymentListArrayOutput struct{ *pulumi.OutputState }

func (DeploymentListArrayOutput) ElementType

func (DeploymentListArrayOutput) ElementType() reflect.Type

func (DeploymentListArrayOutput) Index

func (DeploymentListArrayOutput) ToDeploymentListArrayOutput

func (o DeploymentListArrayOutput) ToDeploymentListArrayOutput() DeploymentListArrayOutput

func (DeploymentListArrayOutput) ToDeploymentListArrayOutputWithContext

func (o DeploymentListArrayOutput) ToDeploymentListArrayOutputWithContext(ctx context.Context) DeploymentListArrayOutput

type DeploymentListInput

type DeploymentListInput interface {
	pulumi.Input

	ToDeploymentListOutput() DeploymentListOutput
	ToDeploymentListOutputWithContext(ctx context.Context) DeploymentListOutput
}

type DeploymentListMap

type DeploymentListMap map[string]DeploymentListInput

func (DeploymentListMap) ElementType

func (DeploymentListMap) ElementType() reflect.Type

func (DeploymentListMap) ToDeploymentListMapOutput

func (i DeploymentListMap) ToDeploymentListMapOutput() DeploymentListMapOutput

func (DeploymentListMap) ToDeploymentListMapOutputWithContext

func (i DeploymentListMap) ToDeploymentListMapOutputWithContext(ctx context.Context) DeploymentListMapOutput

type DeploymentListMapInput

type DeploymentListMapInput interface {
	pulumi.Input

	ToDeploymentListMapOutput() DeploymentListMapOutput
	ToDeploymentListMapOutputWithContext(context.Context) DeploymentListMapOutput
}

DeploymentListMapInput is an input type that accepts DeploymentListMap and DeploymentListMapOutput values. You can construct a concrete instance of `DeploymentListMapInput` via:

DeploymentListMap{ "key": DeploymentListArgs{...} }

type DeploymentListMapOutput

type DeploymentListMapOutput struct{ *pulumi.OutputState }

func (DeploymentListMapOutput) ElementType

func (DeploymentListMapOutput) ElementType() reflect.Type

func (DeploymentListMapOutput) MapIndex

func (DeploymentListMapOutput) ToDeploymentListMapOutput

func (o DeploymentListMapOutput) ToDeploymentListMapOutput() DeploymentListMapOutput

func (DeploymentListMapOutput) ToDeploymentListMapOutputWithContext

func (o DeploymentListMapOutput) ToDeploymentListMapOutputWithContext(ctx context.Context) DeploymentListMapOutput

type DeploymentListOutput

type DeploymentListOutput struct{ *pulumi.OutputState }

func (DeploymentListOutput) ApiVersion added in v3.19.1

APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources

func (DeploymentListOutput) ElementType

func (DeploymentListOutput) ElementType() reflect.Type

func (DeploymentListOutput) Items added in v3.19.1

Items is the list of Deployments.

func (DeploymentListOutput) Kind added in v3.19.1

Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

func (DeploymentListOutput) Metadata added in v3.19.1

Standard list metadata.

func (DeploymentListOutput) ToDeploymentListOutput

func (o DeploymentListOutput) ToDeploymentListOutput() DeploymentListOutput

func (DeploymentListOutput) ToDeploymentListOutputWithContext

func (o DeploymentListOutput) ToDeploymentListOutputWithContext(ctx context.Context) DeploymentListOutput

type DeploymentListState

type DeploymentListState struct {
}

func (DeploymentListState) ElementType

func (DeploymentListState) ElementType() reflect.Type

type DeploymentListType

type DeploymentListType struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion *string `pulumi:"apiVersion"`
	// Items is the list of Deployments.
	Items []DeploymentType `pulumi:"items"`
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind *string `pulumi:"kind"`
	// Standard list metadata.
	Metadata *metav1.ListMeta `pulumi:"metadata"`
}

DeploymentList is a list of Deployments.

type DeploymentListTypeArgs

type DeploymentListTypeArgs struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion pulumi.StringPtrInput `pulumi:"apiVersion"`
	// Items is the list of Deployments.
	Items DeploymentTypeArrayInput `pulumi:"items"`
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind pulumi.StringPtrInput `pulumi:"kind"`
	// Standard list metadata.
	Metadata metav1.ListMetaPtrInput `pulumi:"metadata"`
}

DeploymentList is a list of Deployments.

func (DeploymentListTypeArgs) ElementType

func (DeploymentListTypeArgs) ElementType() reflect.Type

func (DeploymentListTypeArgs) ToDeploymentListTypeOutput

func (i DeploymentListTypeArgs) ToDeploymentListTypeOutput() DeploymentListTypeOutput

func (DeploymentListTypeArgs) ToDeploymentListTypeOutputWithContext

func (i DeploymentListTypeArgs) ToDeploymentListTypeOutputWithContext(ctx context.Context) DeploymentListTypeOutput

type DeploymentListTypeInput

type DeploymentListTypeInput interface {
	pulumi.Input

	ToDeploymentListTypeOutput() DeploymentListTypeOutput
	ToDeploymentListTypeOutputWithContext(context.Context) DeploymentListTypeOutput
}

DeploymentListTypeInput is an input type that accepts DeploymentListTypeArgs and DeploymentListTypeOutput values. You can construct a concrete instance of `DeploymentListTypeInput` via:

DeploymentListTypeArgs{...}

type DeploymentListTypeOutput

type DeploymentListTypeOutput struct{ *pulumi.OutputState }

DeploymentList is a list of Deployments.

func (DeploymentListTypeOutput) ApiVersion

APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources

func (DeploymentListTypeOutput) ElementType

func (DeploymentListTypeOutput) ElementType() reflect.Type

func (DeploymentListTypeOutput) Items

Items is the list of Deployments.

func (DeploymentListTypeOutput) Kind

Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

func (DeploymentListTypeOutput) Metadata

Standard list metadata.

func (DeploymentListTypeOutput) ToDeploymentListTypeOutput

func (o DeploymentListTypeOutput) ToDeploymentListTypeOutput() DeploymentListTypeOutput

func (DeploymentListTypeOutput) ToDeploymentListTypeOutputWithContext

func (o DeploymentListTypeOutput) ToDeploymentListTypeOutputWithContext(ctx context.Context) DeploymentListTypeOutput

type DeploymentMap

type DeploymentMap map[string]DeploymentInput

func (DeploymentMap) ElementType

func (DeploymentMap) ElementType() reflect.Type

func (DeploymentMap) ToDeploymentMapOutput

func (i DeploymentMap) ToDeploymentMapOutput() DeploymentMapOutput

func (DeploymentMap) ToDeploymentMapOutputWithContext

func (i DeploymentMap) ToDeploymentMapOutputWithContext(ctx context.Context) DeploymentMapOutput

type DeploymentMapInput

type DeploymentMapInput interface {
	pulumi.Input

	ToDeploymentMapOutput() DeploymentMapOutput
	ToDeploymentMapOutputWithContext(context.Context) DeploymentMapOutput
}

DeploymentMapInput is an input type that accepts DeploymentMap and DeploymentMapOutput values. You can construct a concrete instance of `DeploymentMapInput` via:

DeploymentMap{ "key": DeploymentArgs{...} }

type DeploymentMapOutput

type DeploymentMapOutput struct{ *pulumi.OutputState }

func (DeploymentMapOutput) ElementType

func (DeploymentMapOutput) ElementType() reflect.Type

func (DeploymentMapOutput) MapIndex

func (DeploymentMapOutput) ToDeploymentMapOutput

func (o DeploymentMapOutput) ToDeploymentMapOutput() DeploymentMapOutput

func (DeploymentMapOutput) ToDeploymentMapOutputWithContext

func (o DeploymentMapOutput) ToDeploymentMapOutputWithContext(ctx context.Context) DeploymentMapOutput

type DeploymentOutput

type DeploymentOutput struct{ *pulumi.OutputState }

func (DeploymentOutput) ApiVersion added in v3.19.1

func (o DeploymentOutput) ApiVersion() pulumi.StringPtrOutput

APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources

func (DeploymentOutput) ElementType

func (DeploymentOutput) ElementType() reflect.Type

func (DeploymentOutput) Kind added in v3.19.1

Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

func (DeploymentOutput) Metadata added in v3.19.1

Standard object metadata.

func (DeploymentOutput) Spec added in v3.19.1

Specification of the desired behavior of the Deployment.

func (DeploymentOutput) Status added in v3.19.1

Most recently observed status of the Deployment.

func (DeploymentOutput) ToDeploymentOutput

func (o DeploymentOutput) ToDeploymentOutput() DeploymentOutput

func (DeploymentOutput) ToDeploymentOutputWithContext

func (o DeploymentOutput) ToDeploymentOutputWithContext(ctx context.Context) DeploymentOutput

type DeploymentPatch deprecated added in v3.20.0

type DeploymentPatch struct {
	pulumi.CustomResourceState

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion pulumi.StringPtrOutput `pulumi:"apiVersion"`
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind pulumi.StringPtrOutput `pulumi:"kind"`
	// Standard object metadata.
	Metadata metav1.ObjectMetaPatchPtrOutput `pulumi:"metadata"`
	// Specification of the desired behavior of the Deployment.
	Spec DeploymentSpecPatchPtrOutput `pulumi:"spec"`
	// Most recently observed status of the Deployment.
	Status DeploymentStatusPatchPtrOutput `pulumi:"status"`
}

Patch resources are used to modify existing Kubernetes resources by using Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the [Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi. Deployment enables declarative updates for Pods and ReplicaSets.

This resource waits until its status is ready before registering success for create/update, and populating output properties from the current state of the resource. The following conditions are used to determine whether the resource creation has succeeded or failed:

  1. The Deployment has begun to be updated by the Deployment controller. If the current generation of the Deployment is > 1, then this means that the current generation must be different from the generation reported by the last outputs.
  2. There exists a ReplicaSet whose revision is equal to the current revision of the Deployment.
  3. The Deployment's '.status.conditions' has a status of type 'Available' whose 'status' member is set to 'True'.
  4. If the Deployment has generation > 1, then '.status.conditions' has a status of type 'Progressing', whose 'status' member is set to 'True', and whose 'reason' is 'NewReplicaSetAvailable'. For generation <= 1, this status field does not exist, because it doesn't do a rollout (i.e., it simply creates the Deployment and corresponding ReplicaSet), and therefore there is no rollout to mark as 'Progressing'.

If the Deployment has not reached a Ready state after 10 minutes, it will time out and mark the resource update as Failed. You can override the default timeout value by setting the 'customTimeouts' option on the resource.

Deprecated: apps/v1beta1/Deployment is deprecated by apps/v1/Deployment and not supported by Kubernetes v1.16+ clusters.

func GetDeploymentPatch added in v3.20.0

func GetDeploymentPatch(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DeploymentPatchState, opts ...pulumi.ResourceOption) (*DeploymentPatch, error)

GetDeploymentPatch gets an existing DeploymentPatch resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewDeploymentPatch added in v3.20.0

func NewDeploymentPatch(ctx *pulumi.Context,
	name string, args *DeploymentPatchArgs, opts ...pulumi.ResourceOption) (*DeploymentPatch, error)

NewDeploymentPatch registers a new resource with the given unique name, arguments, and options.

func (*DeploymentPatch) ElementType added in v3.20.0

func (*DeploymentPatch) ElementType() reflect.Type

func (*DeploymentPatch) ToDeploymentPatchOutput added in v3.20.0

func (i *DeploymentPatch) ToDeploymentPatchOutput() DeploymentPatchOutput

func (*DeploymentPatch) ToDeploymentPatchOutputWithContext added in v3.20.0

func (i *DeploymentPatch) ToDeploymentPatchOutputWithContext(ctx context.Context) DeploymentPatchOutput

type DeploymentPatchArgs added in v3.20.0

type DeploymentPatchArgs struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion pulumi.StringPtrInput
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind pulumi.StringPtrInput
	// Standard object metadata.
	Metadata metav1.ObjectMetaPatchPtrInput
	// Specification of the desired behavior of the Deployment.
	Spec DeploymentSpecPatchPtrInput
}

The set of arguments for constructing a DeploymentPatch resource.

func (DeploymentPatchArgs) ElementType added in v3.20.0

func (DeploymentPatchArgs) ElementType() reflect.Type

type DeploymentPatchArray added in v3.20.0

type DeploymentPatchArray []DeploymentPatchInput

func (DeploymentPatchArray) ElementType added in v3.20.0

func (DeploymentPatchArray) ElementType() reflect.Type

func (DeploymentPatchArray) ToDeploymentPatchArrayOutput added in v3.20.0

func (i DeploymentPatchArray) ToDeploymentPatchArrayOutput() DeploymentPatchArrayOutput

func (DeploymentPatchArray) ToDeploymentPatchArrayOutputWithContext added in v3.20.0

func (i DeploymentPatchArray) ToDeploymentPatchArrayOutputWithContext(ctx context.Context) DeploymentPatchArrayOutput

type DeploymentPatchArrayInput added in v3.20.0

type DeploymentPatchArrayInput interface {
	pulumi.Input

	ToDeploymentPatchArrayOutput() DeploymentPatchArrayOutput
	ToDeploymentPatchArrayOutputWithContext(context.Context) DeploymentPatchArrayOutput
}

DeploymentPatchArrayInput is an input type that accepts DeploymentPatchArray and DeploymentPatchArrayOutput values. You can construct a concrete instance of `DeploymentPatchArrayInput` via:

DeploymentPatchArray{ DeploymentPatchArgs{...} }

type DeploymentPatchArrayOutput added in v3.20.0

type DeploymentPatchArrayOutput struct{ *pulumi.OutputState }

func (DeploymentPatchArrayOutput) ElementType added in v3.20.0

func (DeploymentPatchArrayOutput) ElementType() reflect.Type

func (DeploymentPatchArrayOutput) Index added in v3.20.0

func (DeploymentPatchArrayOutput) ToDeploymentPatchArrayOutput added in v3.20.0

func (o DeploymentPatchArrayOutput) ToDeploymentPatchArrayOutput() DeploymentPatchArrayOutput

func (DeploymentPatchArrayOutput) ToDeploymentPatchArrayOutputWithContext added in v3.20.0

func (o DeploymentPatchArrayOutput) ToDeploymentPatchArrayOutputWithContext(ctx context.Context) DeploymentPatchArrayOutput

type DeploymentPatchInput added in v3.20.0

type DeploymentPatchInput interface {
	pulumi.Input

	ToDeploymentPatchOutput() DeploymentPatchOutput
	ToDeploymentPatchOutputWithContext(ctx context.Context) DeploymentPatchOutput
}

type DeploymentPatchMap added in v3.20.0

type DeploymentPatchMap map[string]DeploymentPatchInput

func (DeploymentPatchMap) ElementType added in v3.20.0

func (DeploymentPatchMap) ElementType() reflect.Type

func (DeploymentPatchMap) ToDeploymentPatchMapOutput added in v3.20.0

func (i DeploymentPatchMap) ToDeploymentPatchMapOutput() DeploymentPatchMapOutput

func (DeploymentPatchMap) ToDeploymentPatchMapOutputWithContext added in v3.20.0

func (i DeploymentPatchMap) ToDeploymentPatchMapOutputWithContext(ctx context.Context) DeploymentPatchMapOutput

type DeploymentPatchMapInput added in v3.20.0

type DeploymentPatchMapInput interface {
	pulumi.Input

	ToDeploymentPatchMapOutput() DeploymentPatchMapOutput
	ToDeploymentPatchMapOutputWithContext(context.Context) DeploymentPatchMapOutput
}

DeploymentPatchMapInput is an input type that accepts DeploymentPatchMap and DeploymentPatchMapOutput values. You can construct a concrete instance of `DeploymentPatchMapInput` via:

DeploymentPatchMap{ "key": DeploymentPatchArgs{...} }

type DeploymentPatchMapOutput added in v3.20.0

type DeploymentPatchMapOutput struct{ *pulumi.OutputState }

func (DeploymentPatchMapOutput) ElementType added in v3.20.0

func (DeploymentPatchMapOutput) ElementType() reflect.Type

func (DeploymentPatchMapOutput) MapIndex added in v3.20.0

func (DeploymentPatchMapOutput) ToDeploymentPatchMapOutput added in v3.20.0

func (o DeploymentPatchMapOutput) ToDeploymentPatchMapOutput() DeploymentPatchMapOutput

func (DeploymentPatchMapOutput) ToDeploymentPatchMapOutputWithContext added in v3.20.0

func (o DeploymentPatchMapOutput) ToDeploymentPatchMapOutputWithContext(ctx context.Context) DeploymentPatchMapOutput

type DeploymentPatchOutput added in v3.20.0

type DeploymentPatchOutput struct{ *pulumi.OutputState }

func (DeploymentPatchOutput) ApiVersion added in v3.20.0

APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources

func (DeploymentPatchOutput) ElementType added in v3.20.0

func (DeploymentPatchOutput) ElementType() reflect.Type

func (DeploymentPatchOutput) Kind added in v3.20.0

Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

func (DeploymentPatchOutput) Metadata added in v3.20.0

Standard object metadata.

func (DeploymentPatchOutput) Spec added in v3.20.0

Specification of the desired behavior of the Deployment.

func (DeploymentPatchOutput) Status added in v3.20.0

Most recently observed status of the Deployment.

func (DeploymentPatchOutput) ToDeploymentPatchOutput added in v3.20.0

func (o DeploymentPatchOutput) ToDeploymentPatchOutput() DeploymentPatchOutput

func (DeploymentPatchOutput) ToDeploymentPatchOutputWithContext added in v3.20.0

func (o DeploymentPatchOutput) ToDeploymentPatchOutputWithContext(ctx context.Context) DeploymentPatchOutput

type DeploymentPatchState added in v3.20.0

type DeploymentPatchState struct {
}

func (DeploymentPatchState) ElementType added in v3.20.0

func (DeploymentPatchState) ElementType() reflect.Type

type DeploymentPatchType added in v3.20.0

type DeploymentPatchType struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion *string `pulumi:"apiVersion"`
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind *string `pulumi:"kind"`
	// Standard object metadata.
	Metadata *metav1.ObjectMetaPatch `pulumi:"metadata"`
	// Specification of the desired behavior of the Deployment.
	Spec *DeploymentSpecPatch `pulumi:"spec"`
	// Most recently observed status of the Deployment.
	Status *DeploymentStatusPatch `pulumi:"status"`
}

Deployment enables declarative updates for Pods and ReplicaSets.

This resource waits until its status is ready before registering success for create/update, and populating output properties from the current state of the resource. The following conditions are used to determine whether the resource creation has succeeded or failed:

  1. The Deployment has begun to be updated by the Deployment controller. If the current generation of the Deployment is > 1, then this means that the current generation must be different from the generation reported by the last outputs.
  2. There exists a ReplicaSet whose revision is equal to the current revision of the Deployment.
  3. The Deployment's '.status.conditions' has a status of type 'Available' whose 'status' member is set to 'True'.
  4. If the Deployment has generation > 1, then '.status.conditions' has a status of type 'Progressing', whose 'status' member is set to 'True', and whose 'reason' is 'NewReplicaSetAvailable'. For generation <= 1, this status field does not exist, because it doesn't do a rollout (i.e., it simply creates the Deployment and corresponding ReplicaSet), and therefore there is no rollout to mark as 'Progressing'.

If the Deployment has not reached a Ready state after 10 minutes, it will time out and mark the resource update as Failed. You can override the default timeout value by setting the 'customTimeouts' option on the resource.

type DeploymentPatchTypeArgs added in v3.20.0

type DeploymentPatchTypeArgs struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion pulumi.StringPtrInput `pulumi:"apiVersion"`
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind pulumi.StringPtrInput `pulumi:"kind"`
	// Standard object metadata.
	Metadata metav1.ObjectMetaPatchPtrInput `pulumi:"metadata"`
	// Specification of the desired behavior of the Deployment.
	Spec DeploymentSpecPatchPtrInput `pulumi:"spec"`
	// Most recently observed status of the Deployment.
	Status DeploymentStatusPatchPtrInput `pulumi:"status"`
}

Deployment enables declarative updates for Pods and ReplicaSets.

This resource waits until its status is ready before registering success for create/update, and populating output properties from the current state of the resource. The following conditions are used to determine whether the resource creation has succeeded or failed:

  1. The Deployment has begun to be updated by the Deployment controller. If the current generation of the Deployment is > 1, then this means that the current generation must be different from the generation reported by the last outputs.
  2. There exists a ReplicaSet whose revision is equal to the current revision of the Deployment.
  3. The Deployment's '.status.conditions' has a status of type 'Available' whose 'status' member is set to 'True'.
  4. If the Deployment has generation > 1, then '.status.conditions' has a status of type 'Progressing', whose 'status' member is set to 'True', and whose 'reason' is 'NewReplicaSetAvailable'. For generation <= 1, this status field does not exist, because it doesn't do a rollout (i.e., it simply creates the Deployment and corresponding ReplicaSet), and therefore there is no rollout to mark as 'Progressing'.

If the Deployment has not reached a Ready state after 10 minutes, it will time out and mark the resource update as Failed. You can override the default timeout value by setting the 'customTimeouts' option on the resource.

func (DeploymentPatchTypeArgs) ElementType added in v3.20.0

func (DeploymentPatchTypeArgs) ElementType() reflect.Type

func (DeploymentPatchTypeArgs) ToDeploymentPatchTypeOutput added in v3.20.0

func (i DeploymentPatchTypeArgs) ToDeploymentPatchTypeOutput() DeploymentPatchTypeOutput

func (DeploymentPatchTypeArgs) ToDeploymentPatchTypeOutputWithContext added in v3.20.0

func (i DeploymentPatchTypeArgs) ToDeploymentPatchTypeOutputWithContext(ctx context.Context) DeploymentPatchTypeOutput

type DeploymentPatchTypeInput added in v3.20.0

type DeploymentPatchTypeInput interface {
	pulumi.Input

	ToDeploymentPatchTypeOutput() DeploymentPatchTypeOutput
	ToDeploymentPatchTypeOutputWithContext(context.Context) DeploymentPatchTypeOutput
}

DeploymentPatchTypeInput is an input type that accepts DeploymentPatchTypeArgs and DeploymentPatchTypeOutput values. You can construct a concrete instance of `DeploymentPatchTypeInput` via:

DeploymentPatchTypeArgs{...}

type DeploymentPatchTypeOutput added in v3.20.0

type DeploymentPatchTypeOutput struct{ *pulumi.OutputState }

Deployment enables declarative updates for Pods and ReplicaSets.

This resource waits until its status is ready before registering success for create/update, and populating output properties from the current state of the resource. The following conditions are used to determine whether the resource creation has succeeded or failed:

  1. The Deployment has begun to be updated by the Deployment controller. If the current generation of the Deployment is > 1, then this means that the current generation must be different from the generation reported by the last outputs.
  2. There exists a ReplicaSet whose revision is equal to the current revision of the Deployment.
  3. The Deployment's '.status.conditions' has a status of type 'Available' whose 'status' member is set to 'True'.
  4. If the Deployment has generation > 1, then '.status.conditions' has a status of type 'Progressing', whose 'status' member is set to 'True', and whose 'reason' is 'NewReplicaSetAvailable'. For generation <= 1, this status field does not exist, because it doesn't do a rollout (i.e., it simply creates the Deployment and corresponding ReplicaSet), and therefore there is no rollout to mark as 'Progressing'.

If the Deployment has not reached a Ready state after 10 minutes, it will time out and mark the resource update as Failed. You can override the default timeout value by setting the 'customTimeouts' option on the resource.

func (DeploymentPatchTypeOutput) ApiVersion added in v3.20.0

APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources

func (DeploymentPatchTypeOutput) ElementType added in v3.20.0

func (DeploymentPatchTypeOutput) ElementType() reflect.Type

func (DeploymentPatchTypeOutput) Kind added in v3.20.0

Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

func (DeploymentPatchTypeOutput) Metadata added in v3.20.0

Standard object metadata.

func (DeploymentPatchTypeOutput) Spec added in v3.20.0

Specification of the desired behavior of the Deployment.

func (DeploymentPatchTypeOutput) Status added in v3.20.0

Most recently observed status of the Deployment.

func (DeploymentPatchTypeOutput) ToDeploymentPatchTypeOutput added in v3.20.0

func (o DeploymentPatchTypeOutput) ToDeploymentPatchTypeOutput() DeploymentPatchTypeOutput

func (DeploymentPatchTypeOutput) ToDeploymentPatchTypeOutputWithContext added in v3.20.0

func (o DeploymentPatchTypeOutput) ToDeploymentPatchTypeOutputWithContext(ctx context.Context) DeploymentPatchTypeOutput

type DeploymentRollback

type DeploymentRollback struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion *string `pulumi:"apiVersion"`
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind *string `pulumi:"kind"`
	// Required: This must match the Name of a deployment.
	Name string `pulumi:"name"`
	// The config of this deployment rollback.
	RollbackTo RollbackConfig `pulumi:"rollbackTo"`
	// The annotations to be updated to a deployment
	UpdatedAnnotations map[string]string `pulumi:"updatedAnnotations"`
}

DEPRECATED. DeploymentRollback stores the information required to rollback a deployment.

type DeploymentRollbackArgs

type DeploymentRollbackArgs struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion pulumi.StringPtrInput `pulumi:"apiVersion"`
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind pulumi.StringPtrInput `pulumi:"kind"`
	// Required: This must match the Name of a deployment.
	Name pulumi.StringInput `pulumi:"name"`
	// The config of this deployment rollback.
	RollbackTo RollbackConfigInput `pulumi:"rollbackTo"`
	// The annotations to be updated to a deployment
	UpdatedAnnotations pulumi.StringMapInput `pulumi:"updatedAnnotations"`
}

DEPRECATED. DeploymentRollback stores the information required to rollback a deployment.

func (DeploymentRollbackArgs) ElementType

func (DeploymentRollbackArgs) ElementType() reflect.Type

func (DeploymentRollbackArgs) ToDeploymentRollbackOutput

func (i DeploymentRollbackArgs) ToDeploymentRollbackOutput() DeploymentRollbackOutput

func (DeploymentRollbackArgs) ToDeploymentRollbackOutputWithContext

func (i DeploymentRollbackArgs) ToDeploymentRollbackOutputWithContext(ctx context.Context) DeploymentRollbackOutput

type DeploymentRollbackInput

type DeploymentRollbackInput interface {
	pulumi.Input

	ToDeploymentRollbackOutput() DeploymentRollbackOutput
	ToDeploymentRollbackOutputWithContext(context.Context) DeploymentRollbackOutput
}

DeploymentRollbackInput is an input type that accepts DeploymentRollbackArgs and DeploymentRollbackOutput values. You can construct a concrete instance of `DeploymentRollbackInput` via:

DeploymentRollbackArgs{...}

type DeploymentRollbackOutput

type DeploymentRollbackOutput struct{ *pulumi.OutputState }

DEPRECATED. DeploymentRollback stores the information required to rollback a deployment.

func (DeploymentRollbackOutput) ApiVersion

APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources

func (DeploymentRollbackOutput) ElementType

func (DeploymentRollbackOutput) ElementType() reflect.Type

func (DeploymentRollbackOutput) Kind

Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

func (DeploymentRollbackOutput) Name

Required: This must match the Name of a deployment.

func (DeploymentRollbackOutput) RollbackTo

The config of this deployment rollback.

func (DeploymentRollbackOutput) ToDeploymentRollbackOutput

func (o DeploymentRollbackOutput) ToDeploymentRollbackOutput() DeploymentRollbackOutput

func (DeploymentRollbackOutput) ToDeploymentRollbackOutputWithContext

func (o DeploymentRollbackOutput) ToDeploymentRollbackOutputWithContext(ctx context.Context) DeploymentRollbackOutput

func (DeploymentRollbackOutput) UpdatedAnnotations

func (o DeploymentRollbackOutput) UpdatedAnnotations() pulumi.StringMapOutput

The annotations to be updated to a deployment

type DeploymentRollbackPatch added in v3.20.0

type DeploymentRollbackPatch struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion *string `pulumi:"apiVersion"`
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind *string `pulumi:"kind"`
	// Required: This must match the Name of a deployment.
	Name *string `pulumi:"name"`
	// The config of this deployment rollback.
	RollbackTo *RollbackConfigPatch `pulumi:"rollbackTo"`
	// The annotations to be updated to a deployment
	UpdatedAnnotations map[string]string `pulumi:"updatedAnnotations"`
}

DEPRECATED. DeploymentRollback stores the information required to rollback a deployment.

type DeploymentRollbackPatchArgs added in v3.20.0

type DeploymentRollbackPatchArgs struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion pulumi.StringPtrInput `pulumi:"apiVersion"`
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind pulumi.StringPtrInput `pulumi:"kind"`
	// Required: This must match the Name of a deployment.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// The config of this deployment rollback.
	RollbackTo RollbackConfigPatchPtrInput `pulumi:"rollbackTo"`
	// The annotations to be updated to a deployment
	UpdatedAnnotations pulumi.StringMapInput `pulumi:"updatedAnnotations"`
}

DEPRECATED. DeploymentRollback stores the information required to rollback a deployment.

func (DeploymentRollbackPatchArgs) ElementType added in v3.20.0

func (DeploymentRollbackPatchArgs) ToDeploymentRollbackPatchOutput added in v3.20.0

func (i DeploymentRollbackPatchArgs) ToDeploymentRollbackPatchOutput() DeploymentRollbackPatchOutput

func (DeploymentRollbackPatchArgs) ToDeploymentRollbackPatchOutputWithContext added in v3.20.0

func (i DeploymentRollbackPatchArgs) ToDeploymentRollbackPatchOutputWithContext(ctx context.Context) DeploymentRollbackPatchOutput

type DeploymentRollbackPatchInput added in v3.20.0

type DeploymentRollbackPatchInput interface {
	pulumi.Input

	ToDeploymentRollbackPatchOutput() DeploymentRollbackPatchOutput
	ToDeploymentRollbackPatchOutputWithContext(context.Context) DeploymentRollbackPatchOutput
}

DeploymentRollbackPatchInput is an input type that accepts DeploymentRollbackPatchArgs and DeploymentRollbackPatchOutput values. You can construct a concrete instance of `DeploymentRollbackPatchInput` via:

DeploymentRollbackPatchArgs{...}

type DeploymentRollbackPatchOutput added in v3.20.0

type DeploymentRollbackPatchOutput struct{ *pulumi.OutputState }

DEPRECATED. DeploymentRollback stores the information required to rollback a deployment.

func (DeploymentRollbackPatchOutput) ApiVersion added in v3.20.0

APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources

func (DeploymentRollbackPatchOutput) ElementType added in v3.20.0

func (DeploymentRollbackPatchOutput) Kind added in v3.20.0

Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

func (DeploymentRollbackPatchOutput) Name added in v3.20.0

Required: This must match the Name of a deployment.

func (DeploymentRollbackPatchOutput) RollbackTo added in v3.20.0

The config of this deployment rollback.

func (DeploymentRollbackPatchOutput) ToDeploymentRollbackPatchOutput added in v3.20.0

func (o DeploymentRollbackPatchOutput) ToDeploymentRollbackPatchOutput() DeploymentRollbackPatchOutput

func (DeploymentRollbackPatchOutput) ToDeploymentRollbackPatchOutputWithContext added in v3.20.0

func (o DeploymentRollbackPatchOutput) ToDeploymentRollbackPatchOutputWithContext(ctx context.Context) DeploymentRollbackPatchOutput

func (DeploymentRollbackPatchOutput) UpdatedAnnotations added in v3.20.0

func (o DeploymentRollbackPatchOutput) UpdatedAnnotations() pulumi.StringMapOutput

The annotations to be updated to a deployment

type DeploymentSpec

type DeploymentSpec struct {
	// 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)
	MinReadySeconds *int `pulumi:"minReadySeconds"`
	// Indicates that the deployment is paused.
	Paused *bool `pulumi:"paused"`
	// 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.
	ProgressDeadlineSeconds *int `pulumi:"progressDeadlineSeconds"`
	// Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.
	Replicas *int `pulumi:"replicas"`
	// 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.
	RevisionHistoryLimit *int `pulumi:"revisionHistoryLimit"`
	// DEPRECATED. The config this deployment is rolling back to. Will be cleared after rollback is done.
	RollbackTo *RollbackConfig `pulumi:"rollbackTo"`
	// Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment.
	Selector *metav1.LabelSelector `pulumi:"selector"`
	// The deployment strategy to use to replace existing pods with new ones.
	Strategy *DeploymentStrategy `pulumi:"strategy"`
	// Template describes the pods that will be created.
	Template corev1.PodTemplateSpec `pulumi:"template"`
}

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

type DeploymentSpecArgs

type DeploymentSpecArgs struct {
	// 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)
	MinReadySeconds pulumi.IntPtrInput `pulumi:"minReadySeconds"`
	// Indicates that the deployment is paused.
	Paused pulumi.BoolPtrInput `pulumi:"paused"`
	// 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.
	ProgressDeadlineSeconds pulumi.IntPtrInput `pulumi:"progressDeadlineSeconds"`
	// Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.
	Replicas pulumi.IntPtrInput `pulumi:"replicas"`
	// 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.
	RevisionHistoryLimit pulumi.IntPtrInput `pulumi:"revisionHistoryLimit"`
	// DEPRECATED. The config this deployment is rolling back to. Will be cleared after rollback is done.
	RollbackTo RollbackConfigPtrInput `pulumi:"rollbackTo"`
	// Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment.
	Selector metav1.LabelSelectorPtrInput `pulumi:"selector"`
	// The deployment strategy to use to replace existing pods with new ones.
	Strategy DeploymentStrategyPtrInput `pulumi:"strategy"`
	// Template describes the pods that will be created.
	Template corev1.PodTemplateSpecInput `pulumi:"template"`
}

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

func (DeploymentSpecArgs) ElementType

func (DeploymentSpecArgs) ElementType() reflect.Type

func (DeploymentSpecArgs) ToDeploymentSpecOutput

func (i DeploymentSpecArgs) ToDeploymentSpecOutput() DeploymentSpecOutput

func (DeploymentSpecArgs) ToDeploymentSpecOutputWithContext

func (i DeploymentSpecArgs) ToDeploymentSpecOutputWithContext(ctx context.Context) DeploymentSpecOutput

func (DeploymentSpecArgs) ToDeploymentSpecPtrOutput

func (i DeploymentSpecArgs) ToDeploymentSpecPtrOutput() DeploymentSpecPtrOutput

func (DeploymentSpecArgs) ToDeploymentSpecPtrOutputWithContext

func (i DeploymentSpecArgs) ToDeploymentSpecPtrOutputWithContext(ctx context.Context) DeploymentSpecPtrOutput

type DeploymentSpecInput

type DeploymentSpecInput interface {
	pulumi.Input

	ToDeploymentSpecOutput() DeploymentSpecOutput
	ToDeploymentSpecOutputWithContext(context.Context) DeploymentSpecOutput
}

DeploymentSpecInput is an input type that accepts DeploymentSpecArgs and DeploymentSpecOutput values. You can construct a concrete instance of `DeploymentSpecInput` via:

DeploymentSpecArgs{...}

type DeploymentSpecOutput

type DeploymentSpecOutput struct{ *pulumi.OutputState }

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

func (DeploymentSpecOutput) ElementType

func (DeploymentSpecOutput) ElementType() reflect.Type

func (DeploymentSpecOutput) MinReadySeconds

func (o DeploymentSpecOutput) MinReadySeconds() pulumi.IntPtrOutput

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)

func (DeploymentSpecOutput) Paused

Indicates that the deployment is paused.

func (DeploymentSpecOutput) ProgressDeadlineSeconds

func (o DeploymentSpecOutput) ProgressDeadlineSeconds() pulumi.IntPtrOutput

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.

func (DeploymentSpecOutput) Replicas

Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.

func (DeploymentSpecOutput) RevisionHistoryLimit

func (o DeploymentSpecOutput) RevisionHistoryLimit() pulumi.IntPtrOutput

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.

func (DeploymentSpecOutput) RollbackTo

DEPRECATED. The config this deployment is rolling back to. Will be cleared after rollback is done.

func (DeploymentSpecOutput) Selector

Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment.

func (DeploymentSpecOutput) Strategy

The deployment strategy to use to replace existing pods with new ones.

func (DeploymentSpecOutput) Template

Template describes the pods that will be created.

func (DeploymentSpecOutput) ToDeploymentSpecOutput

func (o DeploymentSpecOutput) ToDeploymentSpecOutput() DeploymentSpecOutput

func (DeploymentSpecOutput) ToDeploymentSpecOutputWithContext

func (o DeploymentSpecOutput) ToDeploymentSpecOutputWithContext(ctx context.Context) DeploymentSpecOutput

func (DeploymentSpecOutput) ToDeploymentSpecPtrOutput

func (o DeploymentSpecOutput) ToDeploymentSpecPtrOutput() DeploymentSpecPtrOutput

func (DeploymentSpecOutput) ToDeploymentSpecPtrOutputWithContext

func (o DeploymentSpecOutput) ToDeploymentSpecPtrOutputWithContext(ctx context.Context) DeploymentSpecPtrOutput

type DeploymentSpecPatch added in v3.20.0

type DeploymentSpecPatch struct {
	// 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)
	MinReadySeconds *int `pulumi:"minReadySeconds"`
	// Indicates that the deployment is paused.
	Paused *bool `pulumi:"paused"`
	// 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.
	ProgressDeadlineSeconds *int `pulumi:"progressDeadlineSeconds"`
	// Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.
	Replicas *int `pulumi:"replicas"`
	// 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.
	RevisionHistoryLimit *int `pulumi:"revisionHistoryLimit"`
	// DEPRECATED. The config this deployment is rolling back to. Will be cleared after rollback is done.
	RollbackTo *RollbackConfigPatch `pulumi:"rollbackTo"`
	// Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment.
	Selector *metav1.LabelSelectorPatch `pulumi:"selector"`
	// The deployment strategy to use to replace existing pods with new ones.
	Strategy *DeploymentStrategyPatch `pulumi:"strategy"`
	// Template describes the pods that will be created.
	Template *corev1.PodTemplateSpecPatch `pulumi:"template"`
}

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

type DeploymentSpecPatchArgs added in v3.20.0

type DeploymentSpecPatchArgs struct {
	// 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)
	MinReadySeconds pulumi.IntPtrInput `pulumi:"minReadySeconds"`
	// Indicates that the deployment is paused.
	Paused pulumi.BoolPtrInput `pulumi:"paused"`
	// 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.
	ProgressDeadlineSeconds pulumi.IntPtrInput `pulumi:"progressDeadlineSeconds"`
	// Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.
	Replicas pulumi.IntPtrInput `pulumi:"replicas"`
	// 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.
	RevisionHistoryLimit pulumi.IntPtrInput `pulumi:"revisionHistoryLimit"`
	// DEPRECATED. The config this deployment is rolling back to. Will be cleared after rollback is done.
	RollbackTo RollbackConfigPatchPtrInput `pulumi:"rollbackTo"`
	// Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment.
	Selector metav1.LabelSelectorPatchPtrInput `pulumi:"selector"`
	// The deployment strategy to use to replace existing pods with new ones.
	Strategy DeploymentStrategyPatchPtrInput `pulumi:"strategy"`
	// Template describes the pods that will be created.
	Template corev1.PodTemplateSpecPatchPtrInput `pulumi:"template"`
}

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

func (DeploymentSpecPatchArgs) ElementType added in v3.20.0

func (DeploymentSpecPatchArgs) ElementType() reflect.Type

func (DeploymentSpecPatchArgs) ToDeploymentSpecPatchOutput added in v3.20.0

func (i DeploymentSpecPatchArgs) ToDeploymentSpecPatchOutput() DeploymentSpecPatchOutput

func (DeploymentSpecPatchArgs) ToDeploymentSpecPatchOutputWithContext added in v3.20.0

func (i DeploymentSpecPatchArgs) ToDeploymentSpecPatchOutputWithContext(ctx context.Context) DeploymentSpecPatchOutput

func (DeploymentSpecPatchArgs) ToDeploymentSpecPatchPtrOutput added in v3.20.0

func (i DeploymentSpecPatchArgs) ToDeploymentSpecPatchPtrOutput() DeploymentSpecPatchPtrOutput

func (DeploymentSpecPatchArgs) ToDeploymentSpecPatchPtrOutputWithContext added in v3.20.0

func (i DeploymentSpecPatchArgs) ToDeploymentSpecPatchPtrOutputWithContext(ctx context.Context) DeploymentSpecPatchPtrOutput

type DeploymentSpecPatchInput added in v3.20.0

type DeploymentSpecPatchInput interface {
	pulumi.Input

	ToDeploymentSpecPatchOutput() DeploymentSpecPatchOutput
	ToDeploymentSpecPatchOutputWithContext(context.Context) DeploymentSpecPatchOutput
}

DeploymentSpecPatchInput is an input type that accepts DeploymentSpecPatchArgs and DeploymentSpecPatchOutput values. You can construct a concrete instance of `DeploymentSpecPatchInput` via:

DeploymentSpecPatchArgs{...}

type DeploymentSpecPatchOutput added in v3.20.0

type DeploymentSpecPatchOutput struct{ *pulumi.OutputState }

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

func (DeploymentSpecPatchOutput) ElementType added in v3.20.0

func (DeploymentSpecPatchOutput) ElementType() reflect.Type

func (DeploymentSpecPatchOutput) MinReadySeconds added in v3.20.0

func (o DeploymentSpecPatchOutput) MinReadySeconds() pulumi.IntPtrOutput

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)

func (DeploymentSpecPatchOutput) Paused added in v3.20.0

Indicates that the deployment is paused.

func (DeploymentSpecPatchOutput) ProgressDeadlineSeconds added in v3.20.0

func (o DeploymentSpecPatchOutput) ProgressDeadlineSeconds() pulumi.IntPtrOutput

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.

func (DeploymentSpecPatchOutput) Replicas added in v3.20.0

Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.

func (DeploymentSpecPatchOutput) RevisionHistoryLimit added in v3.20.0

func (o DeploymentSpecPatchOutput) RevisionHistoryLimit() pulumi.IntPtrOutput

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.

func (DeploymentSpecPatchOutput) RollbackTo added in v3.20.0

DEPRECATED. The config this deployment is rolling back to. Will be cleared after rollback is done.

func (DeploymentSpecPatchOutput) Selector added in v3.20.0

Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment.

func (DeploymentSpecPatchOutput) Strategy added in v3.20.0

The deployment strategy to use to replace existing pods with new ones.

func (DeploymentSpecPatchOutput) Template added in v3.20.0

Template describes the pods that will be created.

func (DeploymentSpecPatchOutput) ToDeploymentSpecPatchOutput added in v3.20.0

func (o DeploymentSpecPatchOutput) ToDeploymentSpecPatchOutput() DeploymentSpecPatchOutput

func (DeploymentSpecPatchOutput) ToDeploymentSpecPatchOutputWithContext added in v3.20.0

func (o DeploymentSpecPatchOutput) ToDeploymentSpecPatchOutputWithContext(ctx context.Context) DeploymentSpecPatchOutput

func (DeploymentSpecPatchOutput) ToDeploymentSpecPatchPtrOutput added in v3.20.0

func (o DeploymentSpecPatchOutput) ToDeploymentSpecPatchPtrOutput() DeploymentSpecPatchPtrOutput

func (DeploymentSpecPatchOutput) ToDeploymentSpecPatchPtrOutputWithContext added in v3.20.0

func (o DeploymentSpecPatchOutput) ToDeploymentSpecPatchPtrOutputWithContext(ctx context.Context) DeploymentSpecPatchPtrOutput

type DeploymentSpecPatchPtrInput added in v3.20.0

type DeploymentSpecPatchPtrInput interface {
	pulumi.Input

	ToDeploymentSpecPatchPtrOutput() DeploymentSpecPatchPtrOutput
	ToDeploymentSpecPatchPtrOutputWithContext(context.Context) DeploymentSpecPatchPtrOutput
}

DeploymentSpecPatchPtrInput is an input type that accepts DeploymentSpecPatchArgs, DeploymentSpecPatchPtr and DeploymentSpecPatchPtrOutput values. You can construct a concrete instance of `DeploymentSpecPatchPtrInput` via:

        DeploymentSpecPatchArgs{...}

or:

        nil

func DeploymentSpecPatchPtr added in v3.20.0

func DeploymentSpecPatchPtr(v *DeploymentSpecPatchArgs) DeploymentSpecPatchPtrInput

type DeploymentSpecPatchPtrOutput added in v3.20.0

type DeploymentSpecPatchPtrOutput struct{ *pulumi.OutputState }

func (DeploymentSpecPatchPtrOutput) Elem added in v3.20.0

func (DeploymentSpecPatchPtrOutput) ElementType added in v3.20.0

func (DeploymentSpecPatchPtrOutput) MinReadySeconds added in v3.20.0

func (o DeploymentSpecPatchPtrOutput) MinReadySeconds() pulumi.IntPtrOutput

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)

func (DeploymentSpecPatchPtrOutput) Paused added in v3.20.0

Indicates that the deployment is paused.

func (DeploymentSpecPatchPtrOutput) ProgressDeadlineSeconds added in v3.20.0

func (o DeploymentSpecPatchPtrOutput) ProgressDeadlineSeconds() pulumi.IntPtrOutput

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.

func (DeploymentSpecPatchPtrOutput) Replicas added in v3.20.0

Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.

func (DeploymentSpecPatchPtrOutput) RevisionHistoryLimit added in v3.20.0

func (o DeploymentSpecPatchPtrOutput) RevisionHistoryLimit() pulumi.IntPtrOutput

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.

func (DeploymentSpecPatchPtrOutput) RollbackTo added in v3.20.0

DEPRECATED. The config this deployment is rolling back to. Will be cleared after rollback is done.

func (DeploymentSpecPatchPtrOutput) Selector added in v3.20.0

Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment.

func (DeploymentSpecPatchPtrOutput) Strategy added in v3.20.0

The deployment strategy to use to replace existing pods with new ones.

func (DeploymentSpecPatchPtrOutput) Template added in v3.20.0

Template describes the pods that will be created.

func (DeploymentSpecPatchPtrOutput) ToDeploymentSpecPatchPtrOutput added in v3.20.0

func (o DeploymentSpecPatchPtrOutput) ToDeploymentSpecPatchPtrOutput() DeploymentSpecPatchPtrOutput

func (DeploymentSpecPatchPtrOutput) ToDeploymentSpecPatchPtrOutputWithContext added in v3.20.0

func (o DeploymentSpecPatchPtrOutput) ToDeploymentSpecPatchPtrOutputWithContext(ctx context.Context) DeploymentSpecPatchPtrOutput

type DeploymentSpecPtrInput

type DeploymentSpecPtrInput interface {
	pulumi.Input

	ToDeploymentSpecPtrOutput() DeploymentSpecPtrOutput
	ToDeploymentSpecPtrOutputWithContext(context.Context) DeploymentSpecPtrOutput
}

DeploymentSpecPtrInput is an input type that accepts DeploymentSpecArgs, DeploymentSpecPtr and DeploymentSpecPtrOutput values. You can construct a concrete instance of `DeploymentSpecPtrInput` via:

        DeploymentSpecArgs{...}

or:

        nil

type DeploymentSpecPtrOutput

type DeploymentSpecPtrOutput struct{ *pulumi.OutputState }

func (DeploymentSpecPtrOutput) Elem

func (DeploymentSpecPtrOutput) ElementType

func (DeploymentSpecPtrOutput) ElementType() reflect.Type

func (DeploymentSpecPtrOutput) MinReadySeconds

func (o DeploymentSpecPtrOutput) MinReadySeconds() pulumi.IntPtrOutput

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)

func (DeploymentSpecPtrOutput) Paused

Indicates that the deployment is paused.

func (DeploymentSpecPtrOutput) ProgressDeadlineSeconds

func (o DeploymentSpecPtrOutput) ProgressDeadlineSeconds() pulumi.IntPtrOutput

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.

func (DeploymentSpecPtrOutput) Replicas

Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.

func (DeploymentSpecPtrOutput) RevisionHistoryLimit

func (o DeploymentSpecPtrOutput) RevisionHistoryLimit() pulumi.IntPtrOutput

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.

func (DeploymentSpecPtrOutput) RollbackTo

DEPRECATED. The config this deployment is rolling back to. Will be cleared after rollback is done.

func (DeploymentSpecPtrOutput) Selector

Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment.

func (DeploymentSpecPtrOutput) Strategy

The deployment strategy to use to replace existing pods with new ones.

func (DeploymentSpecPtrOutput) Template

Template describes the pods that will be created.

func (DeploymentSpecPtrOutput) ToDeploymentSpecPtrOutput

func (o DeploymentSpecPtrOutput) ToDeploymentSpecPtrOutput() DeploymentSpecPtrOutput

func (DeploymentSpecPtrOutput) ToDeploymentSpecPtrOutputWithContext

func (o DeploymentSpecPtrOutput) ToDeploymentSpecPtrOutputWithContext(ctx context.Context) DeploymentSpecPtrOutput

type DeploymentState

type DeploymentState struct {
}

func (DeploymentState) ElementType

func (DeploymentState) ElementType() reflect.Type

type DeploymentStatus

type DeploymentStatus struct {
	// Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.
	AvailableReplicas *int `pulumi:"availableReplicas"`
	// Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet.
	CollisionCount *int `pulumi:"collisionCount"`
	// Represents the latest available observations of a deployment's current state.
	Conditions []DeploymentCondition `pulumi:"conditions"`
	// The generation observed by the deployment controller.
	ObservedGeneration *int `pulumi:"observedGeneration"`
	// Total number of ready pods targeted by this deployment.
	ReadyReplicas *int `pulumi:"readyReplicas"`
	// Total number of non-terminated pods targeted by this deployment (their labels match the selector).
	Replicas *int `pulumi:"replicas"`
	// Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created.
	UnavailableReplicas *int `pulumi:"unavailableReplicas"`
	// Total number of non-terminated pods targeted by this deployment that have the desired template spec.
	UpdatedReplicas *int `pulumi:"updatedReplicas"`
}

DeploymentStatus is the most recently observed status of the Deployment.

type DeploymentStatusArgs

type DeploymentStatusArgs struct {
	// Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.
	AvailableReplicas pulumi.IntPtrInput `pulumi:"availableReplicas"`
	// Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet.
	CollisionCount pulumi.IntPtrInput `pulumi:"collisionCount"`
	// Represents the latest available observations of a deployment's current state.
	Conditions DeploymentConditionArrayInput `pulumi:"conditions"`
	// The generation observed by the deployment controller.
	ObservedGeneration pulumi.IntPtrInput `pulumi:"observedGeneration"`
	// Total number of ready pods targeted by this deployment.
	ReadyReplicas pulumi.IntPtrInput `pulumi:"readyReplicas"`
	// Total number of non-terminated pods targeted by this deployment (their labels match the selector).
	Replicas pulumi.IntPtrInput `pulumi:"replicas"`
	// Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created.
	UnavailableReplicas pulumi.IntPtrInput `pulumi:"unavailableReplicas"`
	// Total number of non-terminated pods targeted by this deployment that have the desired template spec.
	UpdatedReplicas pulumi.IntPtrInput `pulumi:"updatedReplicas"`
}

DeploymentStatus is the most recently observed status of the Deployment.

func (DeploymentStatusArgs) ElementType

func (DeploymentStatusArgs) ElementType() reflect.Type

func (DeploymentStatusArgs) ToDeploymentStatusOutput

func (i DeploymentStatusArgs) ToDeploymentStatusOutput() DeploymentStatusOutput

func (DeploymentStatusArgs) ToDeploymentStatusOutputWithContext

func (i DeploymentStatusArgs) ToDeploymentStatusOutputWithContext(ctx context.Context) DeploymentStatusOutput

func (DeploymentStatusArgs) ToDeploymentStatusPtrOutput

func (i DeploymentStatusArgs) ToDeploymentStatusPtrOutput() DeploymentStatusPtrOutput

func (DeploymentStatusArgs) ToDeploymentStatusPtrOutputWithContext

func (i DeploymentStatusArgs) ToDeploymentStatusPtrOutputWithContext(ctx context.Context) DeploymentStatusPtrOutput

type DeploymentStatusInput

type DeploymentStatusInput interface {
	pulumi.Input

	ToDeploymentStatusOutput() DeploymentStatusOutput
	ToDeploymentStatusOutputWithContext(context.Context) DeploymentStatusOutput
}

DeploymentStatusInput is an input type that accepts DeploymentStatusArgs and DeploymentStatusOutput values. You can construct a concrete instance of `DeploymentStatusInput` via:

DeploymentStatusArgs{...}

type DeploymentStatusOutput

type DeploymentStatusOutput struct{ *pulumi.OutputState }

DeploymentStatus is the most recently observed status of the Deployment.

func (DeploymentStatusOutput) AvailableReplicas

func (o DeploymentStatusOutput) AvailableReplicas() pulumi.IntPtrOutput

Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.

func (DeploymentStatusOutput) CollisionCount

func (o DeploymentStatusOutput) CollisionCount() pulumi.IntPtrOutput

Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet.

func (DeploymentStatusOutput) Conditions

Represents the latest available observations of a deployment's current state.

func (DeploymentStatusOutput) ElementType

func (DeploymentStatusOutput) ElementType() reflect.Type

func (DeploymentStatusOutput) ObservedGeneration

func (o DeploymentStatusOutput) ObservedGeneration() pulumi.IntPtrOutput

The generation observed by the deployment controller.

func (DeploymentStatusOutput) ReadyReplicas

func (o DeploymentStatusOutput) ReadyReplicas() pulumi.IntPtrOutput

Total number of ready pods targeted by this deployment.

func (DeploymentStatusOutput) Replicas

Total number of non-terminated pods targeted by this deployment (their labels match the selector).

func (DeploymentStatusOutput) ToDeploymentStatusOutput

func (o DeploymentStatusOutput) ToDeploymentStatusOutput() DeploymentStatusOutput

func (DeploymentStatusOutput) ToDeploymentStatusOutputWithContext

func (o DeploymentStatusOutput) ToDeploymentStatusOutputWithContext(ctx context.Context) DeploymentStatusOutput

func (DeploymentStatusOutput) ToDeploymentStatusPtrOutput

func (o DeploymentStatusOutput) ToDeploymentStatusPtrOutput() DeploymentStatusPtrOutput

func (DeploymentStatusOutput) ToDeploymentStatusPtrOutputWithContext

func (o DeploymentStatusOutput) ToDeploymentStatusPtrOutputWithContext(ctx context.Context) DeploymentStatusPtrOutput

func (DeploymentStatusOutput) UnavailableReplicas

func (o DeploymentStatusOutput) UnavailableReplicas() pulumi.IntPtrOutput

Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created.

func (DeploymentStatusOutput) UpdatedReplicas

func (o DeploymentStatusOutput) UpdatedReplicas() pulumi.IntPtrOutput

Total number of non-terminated pods targeted by this deployment that have the desired template spec.

type DeploymentStatusPatch added in v3.20.0

type DeploymentStatusPatch struct {
	// Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.
	AvailableReplicas *int `pulumi:"availableReplicas"`
	// Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet.
	CollisionCount *int `pulumi:"collisionCount"`
	// Represents the latest available observations of a deployment's current state.
	Conditions []DeploymentConditionPatch `pulumi:"conditions"`
	// The generation observed by the deployment controller.
	ObservedGeneration *int `pulumi:"observedGeneration"`
	// Total number of ready pods targeted by this deployment.
	ReadyReplicas *int `pulumi:"readyReplicas"`
	// Total number of non-terminated pods targeted by this deployment (their labels match the selector).
	Replicas *int `pulumi:"replicas"`
	// Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created.
	UnavailableReplicas *int `pulumi:"unavailableReplicas"`
	// Total number of non-terminated pods targeted by this deployment that have the desired template spec.
	UpdatedReplicas *int `pulumi:"updatedReplicas"`
}

DeploymentStatus is the most recently observed status of the Deployment.

type DeploymentStatusPatchArgs added in v3.20.0

type DeploymentStatusPatchArgs struct {
	// Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.
	AvailableReplicas pulumi.IntPtrInput `pulumi:"availableReplicas"`
	// Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet.
	CollisionCount pulumi.IntPtrInput `pulumi:"collisionCount"`
	// Represents the latest available observations of a deployment's current state.
	Conditions DeploymentConditionPatchArrayInput `pulumi:"conditions"`
	// The generation observed by the deployment controller.
	ObservedGeneration pulumi.IntPtrInput `pulumi:"observedGeneration"`
	// Total number of ready pods targeted by this deployment.
	ReadyReplicas pulumi.IntPtrInput `pulumi:"readyReplicas"`
	// Total number of non-terminated pods targeted by this deployment (their labels match the selector).
	Replicas pulumi.IntPtrInput `pulumi:"replicas"`
	// Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created.
	UnavailableReplicas pulumi.IntPtrInput `pulumi:"unavailableReplicas"`
	// Total number of non-terminated pods targeted by this deployment that have the desired template spec.
	UpdatedReplicas pulumi.IntPtrInput `pulumi:"updatedReplicas"`
}

DeploymentStatus is the most recently observed status of the Deployment.

func (DeploymentStatusPatchArgs) ElementType added in v3.20.0

func (DeploymentStatusPatchArgs) ElementType() reflect.Type

func (DeploymentStatusPatchArgs) ToDeploymentStatusPatchOutput added in v3.20.0

func (i DeploymentStatusPatchArgs) ToDeploymentStatusPatchOutput() DeploymentStatusPatchOutput

func (DeploymentStatusPatchArgs) ToDeploymentStatusPatchOutputWithContext added in v3.20.0

func (i DeploymentStatusPatchArgs) ToDeploymentStatusPatchOutputWithContext(ctx context.Context) DeploymentStatusPatchOutput

func (DeploymentStatusPatchArgs) ToDeploymentStatusPatchPtrOutput added in v3.20.0

func (i DeploymentStatusPatchArgs) ToDeploymentStatusPatchPtrOutput() DeploymentStatusPatchPtrOutput

func (DeploymentStatusPatchArgs) ToDeploymentStatusPatchPtrOutputWithContext added in v3.20.0

func (i DeploymentStatusPatchArgs) ToDeploymentStatusPatchPtrOutputWithContext(ctx context.Context) DeploymentStatusPatchPtrOutput

type DeploymentStatusPatchInput added in v3.20.0

type DeploymentStatusPatchInput interface {
	pulumi.Input

	ToDeploymentStatusPatchOutput() DeploymentStatusPatchOutput
	ToDeploymentStatusPatchOutputWithContext(context.Context) DeploymentStatusPatchOutput
}

DeploymentStatusPatchInput is an input type that accepts DeploymentStatusPatchArgs and DeploymentStatusPatchOutput values. You can construct a concrete instance of `DeploymentStatusPatchInput` via:

DeploymentStatusPatchArgs{...}

type DeploymentStatusPatchOutput added in v3.20.0

type DeploymentStatusPatchOutput struct{ *pulumi.OutputState }

DeploymentStatus is the most recently observed status of the Deployment.

func (DeploymentStatusPatchOutput) AvailableReplicas added in v3.20.0

func (o DeploymentStatusPatchOutput) AvailableReplicas() pulumi.IntPtrOutput

Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.

func (DeploymentStatusPatchOutput) CollisionCount added in v3.20.0

func (o DeploymentStatusPatchOutput) CollisionCount() pulumi.IntPtrOutput

Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet.

func (DeploymentStatusPatchOutput) Conditions added in v3.20.0

Represents the latest available observations of a deployment's current state.

func (DeploymentStatusPatchOutput) ElementType added in v3.20.0

func (DeploymentStatusPatchOutput) ObservedGeneration added in v3.20.0

func (o DeploymentStatusPatchOutput) ObservedGeneration() pulumi.IntPtrOutput

The generation observed by the deployment controller.

func (DeploymentStatusPatchOutput) ReadyReplicas added in v3.20.0

Total number of ready pods targeted by this deployment.

func (DeploymentStatusPatchOutput) Replicas added in v3.20.0

Total number of non-terminated pods targeted by this deployment (their labels match the selector).

func (DeploymentStatusPatchOutput) ToDeploymentStatusPatchOutput added in v3.20.0

func (o DeploymentStatusPatchOutput) ToDeploymentStatusPatchOutput() DeploymentStatusPatchOutput

func (DeploymentStatusPatchOutput) ToDeploymentStatusPatchOutputWithContext added in v3.20.0

func (o DeploymentStatusPatchOutput) ToDeploymentStatusPatchOutputWithContext(ctx context.Context) DeploymentStatusPatchOutput

func (DeploymentStatusPatchOutput) ToDeploymentStatusPatchPtrOutput added in v3.20.0

func (o DeploymentStatusPatchOutput) ToDeploymentStatusPatchPtrOutput() DeploymentStatusPatchPtrOutput

func (DeploymentStatusPatchOutput) ToDeploymentStatusPatchPtrOutputWithContext added in v3.20.0

func (o DeploymentStatusPatchOutput) ToDeploymentStatusPatchPtrOutputWithContext(ctx context.Context) DeploymentStatusPatchPtrOutput

func (DeploymentStatusPatchOutput) UnavailableReplicas added in v3.20.0

func (o DeploymentStatusPatchOutput) UnavailableReplicas() pulumi.IntPtrOutput

Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created.

func (DeploymentStatusPatchOutput) UpdatedReplicas added in v3.20.0

func (o DeploymentStatusPatchOutput) UpdatedReplicas() pulumi.IntPtrOutput

Total number of non-terminated pods targeted by this deployment that have the desired template spec.

type DeploymentStatusPatchPtrInput added in v3.20.0

type DeploymentStatusPatchPtrInput interface {
	pulumi.Input

	ToDeploymentStatusPatchPtrOutput() DeploymentStatusPatchPtrOutput
	ToDeploymentStatusPatchPtrOutputWithContext(context.Context) DeploymentStatusPatchPtrOutput
}

DeploymentStatusPatchPtrInput is an input type that accepts DeploymentStatusPatchArgs, DeploymentStatusPatchPtr and DeploymentStatusPatchPtrOutput values. You can construct a concrete instance of `DeploymentStatusPatchPtrInput` via:

        DeploymentStatusPatchArgs{...}

or:

        nil

func DeploymentStatusPatchPtr added in v3.20.0

func DeploymentStatusPatchPtr(v *DeploymentStatusPatchArgs) DeploymentStatusPatchPtrInput

type DeploymentStatusPatchPtrOutput added in v3.20.0

type DeploymentStatusPatchPtrOutput struct{ *pulumi.OutputState }

func (DeploymentStatusPatchPtrOutput) AvailableReplicas added in v3.20.0

func (o DeploymentStatusPatchPtrOutput) AvailableReplicas() pulumi.IntPtrOutput

Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.

func (DeploymentStatusPatchPtrOutput) CollisionCount added in v3.20.0

Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet.

func (DeploymentStatusPatchPtrOutput) Conditions added in v3.20.0

Represents the latest available observations of a deployment's current state.

func (DeploymentStatusPatchPtrOutput) Elem added in v3.20.0

func (DeploymentStatusPatchPtrOutput) ElementType added in v3.20.0

func (DeploymentStatusPatchPtrOutput) ObservedGeneration added in v3.20.0

func (o DeploymentStatusPatchPtrOutput) ObservedGeneration() pulumi.IntPtrOutput

The generation observed by the deployment controller.

func (DeploymentStatusPatchPtrOutput) ReadyReplicas added in v3.20.0

Total number of ready pods targeted by this deployment.

func (DeploymentStatusPatchPtrOutput) Replicas added in v3.20.0

Total number of non-terminated pods targeted by this deployment (their labels match the selector).

func (DeploymentStatusPatchPtrOutput) ToDeploymentStatusPatchPtrOutput added in v3.20.0

func (o DeploymentStatusPatchPtrOutput) ToDeploymentStatusPatchPtrOutput() DeploymentStatusPatchPtrOutput

func (DeploymentStatusPatchPtrOutput) ToDeploymentStatusPatchPtrOutputWithContext added in v3.20.0

func (o DeploymentStatusPatchPtrOutput) ToDeploymentStatusPatchPtrOutputWithContext(ctx context.Context) DeploymentStatusPatchPtrOutput

func (DeploymentStatusPatchPtrOutput) UnavailableReplicas added in v3.20.0

func (o DeploymentStatusPatchPtrOutput) UnavailableReplicas() pulumi.IntPtrOutput

Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created.

func (DeploymentStatusPatchPtrOutput) UpdatedReplicas added in v3.20.0

Total number of non-terminated pods targeted by this deployment that have the desired template spec.

type DeploymentStatusPtrInput

type DeploymentStatusPtrInput interface {
	pulumi.Input

	ToDeploymentStatusPtrOutput() DeploymentStatusPtrOutput
	ToDeploymentStatusPtrOutputWithContext(context.Context) DeploymentStatusPtrOutput
}

DeploymentStatusPtrInput is an input type that accepts DeploymentStatusArgs, DeploymentStatusPtr and DeploymentStatusPtrOutput values. You can construct a concrete instance of `DeploymentStatusPtrInput` via:

        DeploymentStatusArgs{...}

or:

        nil

type DeploymentStatusPtrOutput

type DeploymentStatusPtrOutput struct{ *pulumi.OutputState }

func (DeploymentStatusPtrOutput) AvailableReplicas

func (o DeploymentStatusPtrOutput) AvailableReplicas() pulumi.IntPtrOutput

Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.

func (DeploymentStatusPtrOutput) CollisionCount

func (o DeploymentStatusPtrOutput) CollisionCount() pulumi.IntPtrOutput

Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet.

func (DeploymentStatusPtrOutput) Conditions

Represents the latest available observations of a deployment's current state.

func (DeploymentStatusPtrOutput) Elem

func (DeploymentStatusPtrOutput) ElementType

func (DeploymentStatusPtrOutput) ElementType() reflect.Type

func (DeploymentStatusPtrOutput) ObservedGeneration

func (o DeploymentStatusPtrOutput) ObservedGeneration() pulumi.IntPtrOutput

The generation observed by the deployment controller.

func (DeploymentStatusPtrOutput) ReadyReplicas

func (o DeploymentStatusPtrOutput) ReadyReplicas() pulumi.IntPtrOutput

Total number of ready pods targeted by this deployment.

func (DeploymentStatusPtrOutput) Replicas

Total number of non-terminated pods targeted by this deployment (their labels match the selector).

func (DeploymentStatusPtrOutput) ToDeploymentStatusPtrOutput

func (o DeploymentStatusPtrOutput) ToDeploymentStatusPtrOutput() DeploymentStatusPtrOutput

func (DeploymentStatusPtrOutput) ToDeploymentStatusPtrOutputWithContext

func (o DeploymentStatusPtrOutput) ToDeploymentStatusPtrOutputWithContext(ctx context.Context) DeploymentStatusPtrOutput

func (DeploymentStatusPtrOutput) UnavailableReplicas

func (o DeploymentStatusPtrOutput) UnavailableReplicas() pulumi.IntPtrOutput

Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created.

func (DeploymentStatusPtrOutput) UpdatedReplicas

func (o DeploymentStatusPtrOutput) UpdatedReplicas() pulumi.IntPtrOutput

Total number of non-terminated pods targeted by this deployment that have the desired template spec.

type DeploymentStrategy

type DeploymentStrategy struct {
	// Rolling update config params. Present only if DeploymentStrategyType = RollingUpdate.
	RollingUpdate *RollingUpdateDeployment `pulumi:"rollingUpdate"`
	// Type of deployment. Can be "Recreate" or "RollingUpdate". Default is RollingUpdate.
	Type *string `pulumi:"type"`
}

DeploymentStrategy describes how to replace existing pods with new ones.

type DeploymentStrategyArgs

type DeploymentStrategyArgs struct {
	// Rolling update config params. Present only if DeploymentStrategyType = RollingUpdate.
	RollingUpdate RollingUpdateDeploymentPtrInput `pulumi:"rollingUpdate"`
	// Type of deployment. Can be "Recreate" or "RollingUpdate". Default is RollingUpdate.
	Type pulumi.StringPtrInput `pulumi:"type"`
}

DeploymentStrategy describes how to replace existing pods with new ones.

func (DeploymentStrategyArgs) ElementType

func (DeploymentStrategyArgs) ElementType() reflect.Type

func (DeploymentStrategyArgs) ToDeploymentStrategyOutput

func (i DeploymentStrategyArgs) ToDeploymentStrategyOutput() DeploymentStrategyOutput

func (DeploymentStrategyArgs) ToDeploymentStrategyOutputWithContext

func (i DeploymentStrategyArgs) ToDeploymentStrategyOutputWithContext(ctx context.Context) DeploymentStrategyOutput

func (DeploymentStrategyArgs) ToDeploymentStrategyPtrOutput

func (i DeploymentStrategyArgs) ToDeploymentStrategyPtrOutput() DeploymentStrategyPtrOutput

func (DeploymentStrategyArgs) ToDeploymentStrategyPtrOutputWithContext

func (i DeploymentStrategyArgs) ToDeploymentStrategyPtrOutputWithContext(ctx context.Context) DeploymentStrategyPtrOutput

type DeploymentStrategyInput

type DeploymentStrategyInput interface {
	pulumi.Input

	ToDeploymentStrategyOutput() DeploymentStrategyOutput
	ToDeploymentStrategyOutputWithContext(context.Context) DeploymentStrategyOutput
}

DeploymentStrategyInput is an input type that accepts DeploymentStrategyArgs and DeploymentStrategyOutput values. You can construct a concrete instance of `DeploymentStrategyInput` via:

DeploymentStrategyArgs{...}

type DeploymentStrategyOutput

type DeploymentStrategyOutput struct{ *pulumi.OutputState }

DeploymentStrategy describes how to replace existing pods with new ones.

func (DeploymentStrategyOutput) ElementType

func (DeploymentStrategyOutput) ElementType() reflect.Type

func (DeploymentStrategyOutput) RollingUpdate

Rolling update config params. Present only if DeploymentStrategyType = RollingUpdate.

func (DeploymentStrategyOutput) ToDeploymentStrategyOutput

func (o DeploymentStrategyOutput) ToDeploymentStrategyOutput() DeploymentStrategyOutput

func (DeploymentStrategyOutput) ToDeploymentStrategyOutputWithContext

func (o DeploymentStrategyOutput) ToDeploymentStrategyOutputWithContext(ctx context.Context) DeploymentStrategyOutput

func (DeploymentStrategyOutput) ToDeploymentStrategyPtrOutput

func (o DeploymentStrategyOutput) ToDeploymentStrategyPtrOutput() DeploymentStrategyPtrOutput

func (DeploymentStrategyOutput) ToDeploymentStrategyPtrOutputWithContext

func (o DeploymentStrategyOutput) ToDeploymentStrategyPtrOutputWithContext(ctx context.Context) DeploymentStrategyPtrOutput

func (DeploymentStrategyOutput) Type

Type of deployment. Can be "Recreate" or "RollingUpdate". Default is RollingUpdate.

type DeploymentStrategyPatch added in v3.20.0

type DeploymentStrategyPatch struct {
	// Rolling update config params. Present only if DeploymentStrategyType = RollingUpdate.
	RollingUpdate *RollingUpdateDeploymentPatch `pulumi:"rollingUpdate"`
	// Type of deployment. Can be "Recreate" or "RollingUpdate". Default is RollingUpdate.
	Type *string `pulumi:"type"`
}

DeploymentStrategy describes how to replace existing pods with new ones.

type DeploymentStrategyPatchArgs added in v3.20.0

type DeploymentStrategyPatchArgs struct {
	// Rolling update config params. Present only if DeploymentStrategyType = RollingUpdate.
	RollingUpdate RollingUpdateDeploymentPatchPtrInput `pulumi:"rollingUpdate"`
	// Type of deployment. Can be "Recreate" or "RollingUpdate". Default is RollingUpdate.
	Type pulumi.StringPtrInput `pulumi:"type"`
}

DeploymentStrategy describes how to replace existing pods with new ones.

func (DeploymentStrategyPatchArgs) ElementType added in v3.20.0

func (DeploymentStrategyPatchArgs) ToDeploymentStrategyPatchOutput added in v3.20.0

func (i DeploymentStrategyPatchArgs) ToDeploymentStrategyPatchOutput() DeploymentStrategyPatchOutput

func (DeploymentStrategyPatchArgs) ToDeploymentStrategyPatchOutputWithContext added in v3.20.0

func (i DeploymentStrategyPatchArgs) ToDeploymentStrategyPatchOutputWithContext(ctx context.Context) DeploymentStrategyPatchOutput

func (DeploymentStrategyPatchArgs) ToDeploymentStrategyPatchPtrOutput added in v3.20.0

func (i DeploymentStrategyPatchArgs) ToDeploymentStrategyPatchPtrOutput() DeploymentStrategyPatchPtrOutput

func (DeploymentStrategyPatchArgs) ToDeploymentStrategyPatchPtrOutputWithContext added in v3.20.0

func (i DeploymentStrategyPatchArgs) ToDeploymentStrategyPatchPtrOutputWithContext(ctx context.Context) DeploymentStrategyPatchPtrOutput

type DeploymentStrategyPatchInput added in v3.20.0

type DeploymentStrategyPatchInput interface {
	pulumi.Input

	ToDeploymentStrategyPatchOutput() DeploymentStrategyPatchOutput
	ToDeploymentStrategyPatchOutputWithContext(context.Context) DeploymentStrategyPatchOutput
}

DeploymentStrategyPatchInput is an input type that accepts DeploymentStrategyPatchArgs and DeploymentStrategyPatchOutput values. You can construct a concrete instance of `DeploymentStrategyPatchInput` via:

DeploymentStrategyPatchArgs{...}

type DeploymentStrategyPatchOutput added in v3.20.0

type DeploymentStrategyPatchOutput struct{ *pulumi.OutputState }

DeploymentStrategy describes how to replace existing pods with new ones.

func (DeploymentStrategyPatchOutput) ElementType added in v3.20.0

func (DeploymentStrategyPatchOutput) RollingUpdate added in v3.20.0

Rolling update config params. Present only if DeploymentStrategyType = RollingUpdate.

func (DeploymentStrategyPatchOutput) ToDeploymentStrategyPatchOutput added in v3.20.0

func (o DeploymentStrategyPatchOutput) ToDeploymentStrategyPatchOutput() DeploymentStrategyPatchOutput

func (DeploymentStrategyPatchOutput) ToDeploymentStrategyPatchOutputWithContext added in v3.20.0

func (o DeploymentStrategyPatchOutput) ToDeploymentStrategyPatchOutputWithContext(ctx context.Context) DeploymentStrategyPatchOutput

func (DeploymentStrategyPatchOutput) ToDeploymentStrategyPatchPtrOutput added in v3.20.0

func (o DeploymentStrategyPatchOutput) ToDeploymentStrategyPatchPtrOutput() DeploymentStrategyPatchPtrOutput

func (DeploymentStrategyPatchOutput) ToDeploymentStrategyPatchPtrOutputWithContext added in v3.20.0

func (o DeploymentStrategyPatchOutput) ToDeploymentStrategyPatchPtrOutputWithContext(ctx context.Context) DeploymentStrategyPatchPtrOutput

func (DeploymentStrategyPatchOutput) Type added in v3.20.0

Type of deployment. Can be "Recreate" or "RollingUpdate". Default is RollingUpdate.

type DeploymentStrategyPatchPtrInput added in v3.20.0

type DeploymentStrategyPatchPtrInput interface {
	pulumi.Input

	ToDeploymentStrategyPatchPtrOutput() DeploymentStrategyPatchPtrOutput
	ToDeploymentStrategyPatchPtrOutputWithContext(context.Context) DeploymentStrategyPatchPtrOutput
}

DeploymentStrategyPatchPtrInput is an input type that accepts DeploymentStrategyPatchArgs, DeploymentStrategyPatchPtr and DeploymentStrategyPatchPtrOutput values. You can construct a concrete instance of `DeploymentStrategyPatchPtrInput` via:

        DeploymentStrategyPatchArgs{...}

or:

        nil

func DeploymentStrategyPatchPtr added in v3.20.0

func DeploymentStrategyPatchPtr(v *DeploymentStrategyPatchArgs) DeploymentStrategyPatchPtrInput

type DeploymentStrategyPatchPtrOutput added in v3.20.0

type DeploymentStrategyPatchPtrOutput struct{ *pulumi.OutputState }

func (DeploymentStrategyPatchPtrOutput) Elem added in v3.20.0

func (DeploymentStrategyPatchPtrOutput) ElementType added in v3.20.0

func (DeploymentStrategyPatchPtrOutput) RollingUpdate added in v3.20.0

Rolling update config params. Present only if DeploymentStrategyType = RollingUpdate.

func (DeploymentStrategyPatchPtrOutput) ToDeploymentStrategyPatchPtrOutput added in v3.20.0

func (o DeploymentStrategyPatchPtrOutput) ToDeploymentStrategyPatchPtrOutput() DeploymentStrategyPatchPtrOutput

func (DeploymentStrategyPatchPtrOutput) ToDeploymentStrategyPatchPtrOutputWithContext added in v3.20.0

func (o DeploymentStrategyPatchPtrOutput) ToDeploymentStrategyPatchPtrOutputWithContext(ctx context.Context) DeploymentStrategyPatchPtrOutput

func (DeploymentStrategyPatchPtrOutput) Type added in v3.20.0

Type of deployment. Can be "Recreate" or "RollingUpdate". Default is RollingUpdate.

type DeploymentStrategyPtrInput

type DeploymentStrategyPtrInput interface {
	pulumi.Input

	ToDeploymentStrategyPtrOutput() DeploymentStrategyPtrOutput
	ToDeploymentStrategyPtrOutputWithContext(context.Context) DeploymentStrategyPtrOutput
}

DeploymentStrategyPtrInput is an input type that accepts DeploymentStrategyArgs, DeploymentStrategyPtr and DeploymentStrategyPtrOutput values. You can construct a concrete instance of `DeploymentStrategyPtrInput` via:

        DeploymentStrategyArgs{...}

or:

        nil

type DeploymentStrategyPtrOutput

type DeploymentStrategyPtrOutput struct{ *pulumi.OutputState }

func (DeploymentStrategyPtrOutput) Elem

func (DeploymentStrategyPtrOutput) ElementType

func (DeploymentStrategyPtrOutput) RollingUpdate

Rolling update config params. Present only if DeploymentStrategyType = RollingUpdate.

func (DeploymentStrategyPtrOutput) ToDeploymentStrategyPtrOutput

func (o DeploymentStrategyPtrOutput) ToDeploymentStrategyPtrOutput() DeploymentStrategyPtrOutput

func (DeploymentStrategyPtrOutput) ToDeploymentStrategyPtrOutputWithContext

func (o DeploymentStrategyPtrOutput) ToDeploymentStrategyPtrOutputWithContext(ctx context.Context) DeploymentStrategyPtrOutput

func (DeploymentStrategyPtrOutput) Type

Type of deployment. Can be "Recreate" or "RollingUpdate". Default is RollingUpdate.

type DeploymentType

type DeploymentType struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion *string `pulumi:"apiVersion"`
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind *string `pulumi:"kind"`
	// Standard object metadata.
	Metadata *metav1.ObjectMeta `pulumi:"metadata"`
	// Specification of the desired behavior of the Deployment.
	Spec *DeploymentSpec `pulumi:"spec"`
	// Most recently observed status of the Deployment.
	Status *DeploymentStatus `pulumi:"status"`
}

Deployment enables declarative updates for Pods and ReplicaSets.

This resource waits until its status is ready before registering success for create/update, and populating output properties from the current state of the resource. The following conditions are used to determine whether the resource creation has succeeded or failed:

  1. The Deployment has begun to be updated by the Deployment controller. If the current generation of the Deployment is > 1, then this means that the current generation must be different from the generation reported by the last outputs.
  2. There exists a ReplicaSet whose revision is equal to the current revision of the Deployment.
  3. The Deployment's '.status.conditions' has a status of type 'Available' whose 'status' member is set to 'True'.
  4. If the Deployment has generation > 1, then '.status.conditions' has a status of type 'Progressing', whose 'status' member is set to 'True', and whose 'reason' is 'NewReplicaSetAvailable'. For generation <= 1, this status field does not exist, because it doesn't do a rollout (i.e., it simply creates the Deployment and corresponding ReplicaSet), and therefore there is no rollout to mark as 'Progressing'.

If the Deployment has not reached a Ready state after 10 minutes, it will time out and mark the resource update as Failed. You can override the default timeout value by setting the 'customTimeouts' option on the resource.

type DeploymentTypeArgs

type DeploymentTypeArgs struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion pulumi.StringPtrInput `pulumi:"apiVersion"`
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind pulumi.StringPtrInput `pulumi:"kind"`
	// Standard object metadata.
	Metadata metav1.ObjectMetaPtrInput `pulumi:"metadata"`
	// Specification of the desired behavior of the Deployment.
	Spec DeploymentSpecPtrInput `pulumi:"spec"`
	// Most recently observed status of the Deployment.
	Status DeploymentStatusPtrInput `pulumi:"status"`
}

Deployment enables declarative updates for Pods and ReplicaSets.

This resource waits until its status is ready before registering success for create/update, and populating output properties from the current state of the resource. The following conditions are used to determine whether the resource creation has succeeded or failed:

  1. The Deployment has begun to be updated by the Deployment controller. If the current generation of the Deployment is > 1, then this means that the current generation must be different from the generation reported by the last outputs.
  2. There exists a ReplicaSet whose revision is equal to the current revision of the Deployment.
  3. The Deployment's '.status.conditions' has a status of type 'Available' whose 'status' member is set to 'True'.
  4. If the Deployment has generation > 1, then '.status.conditions' has a status of type 'Progressing', whose 'status' member is set to 'True', and whose 'reason' is 'NewReplicaSetAvailable'. For generation <= 1, this status field does not exist, because it doesn't do a rollout (i.e., it simply creates the Deployment and corresponding ReplicaSet), and therefore there is no rollout to mark as 'Progressing'.

If the Deployment has not reached a Ready state after 10 minutes, it will time out and mark the resource update as Failed. You can override the default timeout value by setting the 'customTimeouts' option on the resource.

func (DeploymentTypeArgs) ElementType

func (DeploymentTypeArgs) ElementType() reflect.Type

func (DeploymentTypeArgs) ToDeploymentTypeOutput

func (i DeploymentTypeArgs) ToDeploymentTypeOutput() DeploymentTypeOutput

func (DeploymentTypeArgs) ToDeploymentTypeOutputWithContext

func (i DeploymentTypeArgs) ToDeploymentTypeOutputWithContext(ctx context.Context) DeploymentTypeOutput

type DeploymentTypeArray

type DeploymentTypeArray []DeploymentTypeInput

func (DeploymentTypeArray) ElementType

func (DeploymentTypeArray) ElementType() reflect.Type

func (DeploymentTypeArray) ToDeploymentTypeArrayOutput

func (i DeploymentTypeArray) ToDeploymentTypeArrayOutput() DeploymentTypeArrayOutput

func (DeploymentTypeArray) ToDeploymentTypeArrayOutputWithContext

func (i DeploymentTypeArray) ToDeploymentTypeArrayOutputWithContext(ctx context.Context) DeploymentTypeArrayOutput

type DeploymentTypeArrayInput

type DeploymentTypeArrayInput interface {
	pulumi.Input

	ToDeploymentTypeArrayOutput() DeploymentTypeArrayOutput
	ToDeploymentTypeArrayOutputWithContext(context.Context) DeploymentTypeArrayOutput
}

DeploymentTypeArrayInput is an input type that accepts DeploymentTypeArray and DeploymentTypeArrayOutput values. You can construct a concrete instance of `DeploymentTypeArrayInput` via:

DeploymentTypeArray{ DeploymentTypeArgs{...} }

type DeploymentTypeArrayOutput

type DeploymentTypeArrayOutput struct{ *pulumi.OutputState }

func (DeploymentTypeArrayOutput) ElementType

func (DeploymentTypeArrayOutput) ElementType() reflect.Type

func (DeploymentTypeArrayOutput) Index

func (DeploymentTypeArrayOutput) ToDeploymentTypeArrayOutput

func (o DeploymentTypeArrayOutput) ToDeploymentTypeArrayOutput() DeploymentTypeArrayOutput

func (DeploymentTypeArrayOutput) ToDeploymentTypeArrayOutputWithContext

func (o DeploymentTypeArrayOutput) ToDeploymentTypeArrayOutputWithContext(ctx context.Context) DeploymentTypeArrayOutput

type DeploymentTypeInput

type DeploymentTypeInput interface {
	pulumi.Input

	ToDeploymentTypeOutput() DeploymentTypeOutput
	ToDeploymentTypeOutputWithContext(context.Context) DeploymentTypeOutput
}

DeploymentTypeInput is an input type that accepts DeploymentTypeArgs and DeploymentTypeOutput values. You can construct a concrete instance of `DeploymentTypeInput` via:

DeploymentTypeArgs{...}

type DeploymentTypeOutput

type DeploymentTypeOutput struct{ *pulumi.OutputState }

Deployment enables declarative updates for Pods and ReplicaSets.

This resource waits until its status is ready before registering success for create/update, and populating output properties from the current state of the resource. The following conditions are used to determine whether the resource creation has succeeded or failed:

  1. The Deployment has begun to be updated by the Deployment controller. If the current generation of the Deployment is > 1, then this means that the current generation must be different from the generation reported by the last outputs.
  2. There exists a ReplicaSet whose revision is equal to the current revision of the Deployment.
  3. The Deployment's '.status.conditions' has a status of type 'Available' whose 'status' member is set to 'True'.
  4. If the Deployment has generation > 1, then '.status.conditions' has a status of type 'Progressing', whose 'status' member is set to 'True', and whose 'reason' is 'NewReplicaSetAvailable'. For generation <= 1, this status field does not exist, because it doesn't do a rollout (i.e., it simply creates the Deployment and corresponding ReplicaSet), and therefore there is no rollout to mark as 'Progressing'.

If the Deployment has not reached a Ready state after 10 minutes, it will time out and mark the resource update as Failed. You can override the default timeout value by setting the 'customTimeouts' option on the resource.

func (DeploymentTypeOutput) ApiVersion

APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources

func (DeploymentTypeOutput) ElementType

func (DeploymentTypeOutput) ElementType() reflect.Type

func (DeploymentTypeOutput) Kind

Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

func (DeploymentTypeOutput) Metadata

Standard object metadata.

func (DeploymentTypeOutput) Spec

Specification of the desired behavior of the Deployment.

func (DeploymentTypeOutput) Status

Most recently observed status of the Deployment.

func (DeploymentTypeOutput) ToDeploymentTypeOutput

func (o DeploymentTypeOutput) ToDeploymentTypeOutput() DeploymentTypeOutput

func (DeploymentTypeOutput) ToDeploymentTypeOutputWithContext

func (o DeploymentTypeOutput) ToDeploymentTypeOutputWithContext(ctx context.Context) DeploymentTypeOutput

type RollbackConfig

type RollbackConfig struct {
	// The revision to rollback to. If set to 0, rollback to the last revision.
	Revision *int `pulumi:"revision"`
}

DEPRECATED.

type RollbackConfigArgs

type RollbackConfigArgs struct {
	// The revision to rollback to. If set to 0, rollback to the last revision.
	Revision pulumi.IntPtrInput `pulumi:"revision"`
}

DEPRECATED.

func (RollbackConfigArgs) ElementType

func (RollbackConfigArgs) ElementType() reflect.Type

func (RollbackConfigArgs) ToRollbackConfigOutput

func (i RollbackConfigArgs) ToRollbackConfigOutput() RollbackConfigOutput

func (RollbackConfigArgs) ToRollbackConfigOutputWithContext

func (i RollbackConfigArgs) ToRollbackConfigOutputWithContext(ctx context.Context) RollbackConfigOutput

func (RollbackConfigArgs) ToRollbackConfigPtrOutput

func (i RollbackConfigArgs) ToRollbackConfigPtrOutput() RollbackConfigPtrOutput

func (RollbackConfigArgs) ToRollbackConfigPtrOutputWithContext

func (i RollbackConfigArgs) ToRollbackConfigPtrOutputWithContext(ctx context.Context) RollbackConfigPtrOutput

type RollbackConfigInput

type RollbackConfigInput interface {
	pulumi.Input

	ToRollbackConfigOutput() RollbackConfigOutput
	ToRollbackConfigOutputWithContext(context.Context) RollbackConfigOutput
}

RollbackConfigInput is an input type that accepts RollbackConfigArgs and RollbackConfigOutput values. You can construct a concrete instance of `RollbackConfigInput` via:

RollbackConfigArgs{...}

type RollbackConfigOutput

type RollbackConfigOutput struct{ *pulumi.OutputState }

DEPRECATED.

func (RollbackConfigOutput) ElementType

func (RollbackConfigOutput) ElementType() reflect.Type

func (RollbackConfigOutput) Revision

The revision to rollback to. If set to 0, rollback to the last revision.

func (RollbackConfigOutput) ToRollbackConfigOutput

func (o RollbackConfigOutput) ToRollbackConfigOutput() RollbackConfigOutput

func (RollbackConfigOutput) ToRollbackConfigOutputWithContext

func (o RollbackConfigOutput) ToRollbackConfigOutputWithContext(ctx context.Context) RollbackConfigOutput

func (RollbackConfigOutput) ToRollbackConfigPtrOutput

func (o RollbackConfigOutput) ToRollbackConfigPtrOutput() RollbackConfigPtrOutput

func (RollbackConfigOutput) ToRollbackConfigPtrOutputWithContext

func (o RollbackConfigOutput) ToRollbackConfigPtrOutputWithContext(ctx context.Context) RollbackConfigPtrOutput

type RollbackConfigPatch added in v3.20.0

type RollbackConfigPatch struct {
	// The revision to rollback to. If set to 0, rollback to the last revision.
	Revision *int `pulumi:"revision"`
}

DEPRECATED.

type RollbackConfigPatchArgs added in v3.20.0

type RollbackConfigPatchArgs struct {
	// The revision to rollback to. If set to 0, rollback to the last revision.
	Revision pulumi.IntPtrInput `pulumi:"revision"`
}

DEPRECATED.

func (RollbackConfigPatchArgs) ElementType added in v3.20.0

func (RollbackConfigPatchArgs) ElementType() reflect.Type

func (RollbackConfigPatchArgs) ToRollbackConfigPatchOutput added in v3.20.0

func (i RollbackConfigPatchArgs) ToRollbackConfigPatchOutput() RollbackConfigPatchOutput

func (RollbackConfigPatchArgs) ToRollbackConfigPatchOutputWithContext added in v3.20.0

func (i RollbackConfigPatchArgs) ToRollbackConfigPatchOutputWithContext(ctx context.Context) RollbackConfigPatchOutput

func (RollbackConfigPatchArgs) ToRollbackConfigPatchPtrOutput added in v3.20.0

func (i RollbackConfigPatchArgs) ToRollbackConfigPatchPtrOutput() RollbackConfigPatchPtrOutput

func (RollbackConfigPatchArgs) ToRollbackConfigPatchPtrOutputWithContext added in v3.20.0

func (i RollbackConfigPatchArgs) ToRollbackConfigPatchPtrOutputWithContext(ctx context.Context) RollbackConfigPatchPtrOutput

type RollbackConfigPatchInput added in v3.20.0

type RollbackConfigPatchInput interface {
	pulumi.Input

	ToRollbackConfigPatchOutput() RollbackConfigPatchOutput
	ToRollbackConfigPatchOutputWithContext(context.Context) RollbackConfigPatchOutput
}

RollbackConfigPatchInput is an input type that accepts RollbackConfigPatchArgs and RollbackConfigPatchOutput values. You can construct a concrete instance of `RollbackConfigPatchInput` via:

RollbackConfigPatchArgs{...}

type RollbackConfigPatchOutput added in v3.20.0

type RollbackConfigPatchOutput struct{ *pulumi.OutputState }

DEPRECATED.

func (RollbackConfigPatchOutput) ElementType added in v3.20.0

func (RollbackConfigPatchOutput) ElementType() reflect.Type

func (RollbackConfigPatchOutput) Revision added in v3.20.0

The revision to rollback to. If set to 0, rollback to the last revision.

func (RollbackConfigPatchOutput) ToRollbackConfigPatchOutput added in v3.20.0

func (o RollbackConfigPatchOutput) ToRollbackConfigPatchOutput() RollbackConfigPatchOutput

func (RollbackConfigPatchOutput) ToRollbackConfigPatchOutputWithContext added in v3.20.0

func (o RollbackConfigPatchOutput) ToRollbackConfigPatchOutputWithContext(ctx context.Context) RollbackConfigPatchOutput

func (RollbackConfigPatchOutput) ToRollbackConfigPatchPtrOutput added in v3.20.0

func (o RollbackConfigPatchOutput) ToRollbackConfigPatchPtrOutput() RollbackConfigPatchPtrOutput

func (RollbackConfigPatchOutput) ToRollbackConfigPatchPtrOutputWithContext added in v3.20.0

func (o RollbackConfigPatchOutput) ToRollbackConfigPatchPtrOutputWithContext(ctx context.Context) RollbackConfigPatchPtrOutput

type RollbackConfigPatchPtrInput added in v3.20.0

type RollbackConfigPatchPtrInput interface {
	pulumi.Input

	ToRollbackConfigPatchPtrOutput() RollbackConfigPatchPtrOutput
	ToRollbackConfigPatchPtrOutputWithContext(context.Context) RollbackConfigPatchPtrOutput
}

RollbackConfigPatchPtrInput is an input type that accepts RollbackConfigPatchArgs, RollbackConfigPatchPtr and RollbackConfigPatchPtrOutput values. You can construct a concrete instance of `RollbackConfigPatchPtrInput` via:

        RollbackConfigPatchArgs{...}

or:

        nil

func RollbackConfigPatchPtr added in v3.20.0

func RollbackConfigPatchPtr(v *RollbackConfigPatchArgs) RollbackConfigPatchPtrInput

type RollbackConfigPatchPtrOutput added in v3.20.0

type RollbackConfigPatchPtrOutput struct{ *pulumi.OutputState }

func (RollbackConfigPatchPtrOutput) Elem added in v3.20.0

func (RollbackConfigPatchPtrOutput) ElementType added in v3.20.0

func (RollbackConfigPatchPtrOutput) Revision added in v3.20.0

The revision to rollback to. If set to 0, rollback to the last revision.

func (RollbackConfigPatchPtrOutput) ToRollbackConfigPatchPtrOutput added in v3.20.0

func (o RollbackConfigPatchPtrOutput) ToRollbackConfigPatchPtrOutput() RollbackConfigPatchPtrOutput

func (RollbackConfigPatchPtrOutput) ToRollbackConfigPatchPtrOutputWithContext added in v3.20.0

func (o RollbackConfigPatchPtrOutput) ToRollbackConfigPatchPtrOutputWithContext(ctx context.Context) RollbackConfigPatchPtrOutput

type RollbackConfigPtrInput

type RollbackConfigPtrInput interface {
	pulumi.Input

	ToRollbackConfigPtrOutput() RollbackConfigPtrOutput
	ToRollbackConfigPtrOutputWithContext(context.Context) RollbackConfigPtrOutput
}

RollbackConfigPtrInput is an input type that accepts RollbackConfigArgs, RollbackConfigPtr and RollbackConfigPtrOutput values. You can construct a concrete instance of `RollbackConfigPtrInput` via:

        RollbackConfigArgs{...}

or:

        nil

type RollbackConfigPtrOutput

type RollbackConfigPtrOutput struct{ *pulumi.OutputState }

func (RollbackConfigPtrOutput) Elem

func (RollbackConfigPtrOutput) ElementType

func (RollbackConfigPtrOutput) ElementType() reflect.Type

func (RollbackConfigPtrOutput) Revision

The revision to rollback to. If set to 0, rollback to the last revision.

func (RollbackConfigPtrOutput) ToRollbackConfigPtrOutput

func (o RollbackConfigPtrOutput) ToRollbackConfigPtrOutput() RollbackConfigPtrOutput

func (RollbackConfigPtrOutput) ToRollbackConfigPtrOutputWithContext

func (o RollbackConfigPtrOutput) ToRollbackConfigPtrOutputWithContext(ctx context.Context) RollbackConfigPtrOutput

type RollingUpdateDeployment

type RollingUpdateDeployment struct {
	// The maximum number of pods that can be scheduled above the desired number of pods. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. Defaults to 25%. Example: when this is set to 30%, the new ReplicaSet can be scaled up immediately when the rolling update starts, such that the total number of old and new pods do not exceed 130% of desired pods. Once old pods have been killed, new ReplicaSet can be scaled up further, ensuring that total number of pods running at any time during the update is at most 130% of desired pods.
	MaxSurge interface{} `pulumi:"maxSurge"`
	// The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding down. This can not be 0 if MaxSurge is 0. Defaults to 25%. Example: when this is set to 30%, the old ReplicaSet can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old ReplicaSet can be scaled down further, followed by scaling up the new ReplicaSet, ensuring that the total number of pods available at all times during the update is at least 70% of desired pods.
	MaxUnavailable interface{} `pulumi:"maxUnavailable"`
}

Spec to control the desired behavior of rolling update.

type RollingUpdateDeploymentArgs

type RollingUpdateDeploymentArgs struct {
	// The maximum number of pods that can be scheduled above the desired number of pods. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. Defaults to 25%. Example: when this is set to 30%, the new ReplicaSet can be scaled up immediately when the rolling update starts, such that the total number of old and new pods do not exceed 130% of desired pods. Once old pods have been killed, new ReplicaSet can be scaled up further, ensuring that total number of pods running at any time during the update is at most 130% of desired pods.
	MaxSurge pulumi.Input `pulumi:"maxSurge"`
	// The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding down. This can not be 0 if MaxSurge is 0. Defaults to 25%. Example: when this is set to 30%, the old ReplicaSet can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old ReplicaSet can be scaled down further, followed by scaling up the new ReplicaSet, ensuring that the total number of pods available at all times during the update is at least 70% of desired pods.
	MaxUnavailable pulumi.Input `pulumi:"maxUnavailable"`
}

Spec to control the desired behavior of rolling update.

func (RollingUpdateDeploymentArgs) ElementType

func (RollingUpdateDeploymentArgs) ToRollingUpdateDeploymentOutput

func (i RollingUpdateDeploymentArgs) ToRollingUpdateDeploymentOutput() RollingUpdateDeploymentOutput

func (RollingUpdateDeploymentArgs) ToRollingUpdateDeploymentOutputWithContext

func (i RollingUpdateDeploymentArgs) ToRollingUpdateDeploymentOutputWithContext(ctx context.Context) RollingUpdateDeploymentOutput

func (RollingUpdateDeploymentArgs) ToRollingUpdateDeploymentPtrOutput

func (i RollingUpdateDeploymentArgs) ToRollingUpdateDeploymentPtrOutput() RollingUpdateDeploymentPtrOutput

func (RollingUpdateDeploymentArgs) ToRollingUpdateDeploymentPtrOutputWithContext

func (i RollingUpdateDeploymentArgs) ToRollingUpdateDeploymentPtrOutputWithContext(ctx context.Context) RollingUpdateDeploymentPtrOutput

type RollingUpdateDeploymentInput

type RollingUpdateDeploymentInput interface {
	pulumi.Input

	ToRollingUpdateDeploymentOutput() RollingUpdateDeploymentOutput
	ToRollingUpdateDeploymentOutputWithContext(context.Context) RollingUpdateDeploymentOutput
}

RollingUpdateDeploymentInput is an input type that accepts RollingUpdateDeploymentArgs and RollingUpdateDeploymentOutput values. You can construct a concrete instance of `RollingUpdateDeploymentInput` via:

RollingUpdateDeploymentArgs{...}

type RollingUpdateDeploymentOutput

type RollingUpdateDeploymentOutput struct{ *pulumi.OutputState }

Spec to control the desired behavior of rolling update.

func (RollingUpdateDeploymentOutput) ElementType

func (RollingUpdateDeploymentOutput) MaxSurge

The maximum number of pods that can be scheduled above the desired number of pods. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. Defaults to 25%. Example: when this is set to 30%, the new ReplicaSet can be scaled up immediately when the rolling update starts, such that the total number of old and new pods do not exceed 130% of desired pods. Once old pods have been killed, new ReplicaSet can be scaled up further, ensuring that total number of pods running at any time during the update is at most 130% of desired pods.

func (RollingUpdateDeploymentOutput) MaxUnavailable

func (o RollingUpdateDeploymentOutput) MaxUnavailable() pulumi.AnyOutput

The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding down. This can not be 0 if MaxSurge is 0. Defaults to 25%. Example: when this is set to 30%, the old ReplicaSet can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old ReplicaSet can be scaled down further, followed by scaling up the new ReplicaSet, ensuring that the total number of pods available at all times during the update is at least 70% of desired pods.

func (RollingUpdateDeploymentOutput) ToRollingUpdateDeploymentOutput

func (o RollingUpdateDeploymentOutput) ToRollingUpdateDeploymentOutput() RollingUpdateDeploymentOutput

func (RollingUpdateDeploymentOutput) ToRollingUpdateDeploymentOutputWithContext

func (o RollingUpdateDeploymentOutput) ToRollingUpdateDeploymentOutputWithContext(ctx context.Context) RollingUpdateDeploymentOutput

func (RollingUpdateDeploymentOutput) ToRollingUpdateDeploymentPtrOutput

func (o RollingUpdateDeploymentOutput) ToRollingUpdateDeploymentPtrOutput() RollingUpdateDeploymentPtrOutput

func (RollingUpdateDeploymentOutput) ToRollingUpdateDeploymentPtrOutputWithContext

func (o RollingUpdateDeploymentOutput) ToRollingUpdateDeploymentPtrOutputWithContext(ctx context.Context) RollingUpdateDeploymentPtrOutput

type RollingUpdateDeploymentPatch added in v3.20.0

type RollingUpdateDeploymentPatch struct {
	// The maximum number of pods that can be scheduled above the desired number of pods. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. Defaults to 25%. Example: when this is set to 30%, the new ReplicaSet can be scaled up immediately when the rolling update starts, such that the total number of old and new pods do not exceed 130% of desired pods. Once old pods have been killed, new ReplicaSet can be scaled up further, ensuring that total number of pods running at any time during the update is at most 130% of desired pods.
	MaxSurge interface{} `pulumi:"maxSurge"`
	// The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding down. This can not be 0 if MaxSurge is 0. Defaults to 25%. Example: when this is set to 30%, the old ReplicaSet can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old ReplicaSet can be scaled down further, followed by scaling up the new ReplicaSet, ensuring that the total number of pods available at all times during the update is at least 70% of desired pods.
	MaxUnavailable interface{} `pulumi:"maxUnavailable"`
}

Spec to control the desired behavior of rolling update.

type RollingUpdateDeploymentPatchArgs added in v3.20.0

type RollingUpdateDeploymentPatchArgs struct {
	// The maximum number of pods that can be scheduled above the desired number of pods. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. Defaults to 25%. Example: when this is set to 30%, the new ReplicaSet can be scaled up immediately when the rolling update starts, such that the total number of old and new pods do not exceed 130% of desired pods. Once old pods have been killed, new ReplicaSet can be scaled up further, ensuring that total number of pods running at any time during the update is at most 130% of desired pods.
	MaxSurge pulumi.Input `pulumi:"maxSurge"`
	// The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding down. This can not be 0 if MaxSurge is 0. Defaults to 25%. Example: when this is set to 30%, the old ReplicaSet can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old ReplicaSet can be scaled down further, followed by scaling up the new ReplicaSet, ensuring that the total number of pods available at all times during the update is at least 70% of desired pods.
	MaxUnavailable pulumi.Input `pulumi:"maxUnavailable"`
}

Spec to control the desired behavior of rolling update.

func (RollingUpdateDeploymentPatchArgs) ElementType added in v3.20.0

func (RollingUpdateDeploymentPatchArgs) ToRollingUpdateDeploymentPatchOutput added in v3.20.0

func (i RollingUpdateDeploymentPatchArgs) ToRollingUpdateDeploymentPatchOutput() RollingUpdateDeploymentPatchOutput

func (RollingUpdateDeploymentPatchArgs) ToRollingUpdateDeploymentPatchOutputWithContext added in v3.20.0

func (i RollingUpdateDeploymentPatchArgs) ToRollingUpdateDeploymentPatchOutputWithContext(ctx context.Context) RollingUpdateDeploymentPatchOutput

func (RollingUpdateDeploymentPatchArgs) ToRollingUpdateDeploymentPatchPtrOutput added in v3.20.0

func (i RollingUpdateDeploymentPatchArgs) ToRollingUpdateDeploymentPatchPtrOutput() RollingUpdateDeploymentPatchPtrOutput

func (RollingUpdateDeploymentPatchArgs) ToRollingUpdateDeploymentPatchPtrOutputWithContext added in v3.20.0

func (i RollingUpdateDeploymentPatchArgs) ToRollingUpdateDeploymentPatchPtrOutputWithContext(ctx context.Context) RollingUpdateDeploymentPatchPtrOutput

type RollingUpdateDeploymentPatchInput added in v3.20.0

type RollingUpdateDeploymentPatchInput interface {
	pulumi.Input

	ToRollingUpdateDeploymentPatchOutput() RollingUpdateDeploymentPatchOutput
	ToRollingUpdateDeploymentPatchOutputWithContext(context.Context) RollingUpdateDeploymentPatchOutput
}

RollingUpdateDeploymentPatchInput is an input type that accepts RollingUpdateDeploymentPatchArgs and RollingUpdateDeploymentPatchOutput values. You can construct a concrete instance of `RollingUpdateDeploymentPatchInput` via:

RollingUpdateDeploymentPatchArgs{...}

type RollingUpdateDeploymentPatchOutput added in v3.20.0

type RollingUpdateDeploymentPatchOutput struct{ *pulumi.OutputState }

Spec to control the desired behavior of rolling update.

func (RollingUpdateDeploymentPatchOutput) ElementType added in v3.20.0

func (RollingUpdateDeploymentPatchOutput) MaxSurge added in v3.20.0

The maximum number of pods that can be scheduled above the desired number of pods. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. Defaults to 25%. Example: when this is set to 30%, the new ReplicaSet can be scaled up immediately when the rolling update starts, such that the total number of old and new pods do not exceed 130% of desired pods. Once old pods have been killed, new ReplicaSet can be scaled up further, ensuring that total number of pods running at any time during the update is at most 130% of desired pods.

func (RollingUpdateDeploymentPatchOutput) MaxUnavailable added in v3.20.0

The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding down. This can not be 0 if MaxSurge is 0. Defaults to 25%. Example: when this is set to 30%, the old ReplicaSet can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old ReplicaSet can be scaled down further, followed by scaling up the new ReplicaSet, ensuring that the total number of pods available at all times during the update is at least 70% of desired pods.

func (RollingUpdateDeploymentPatchOutput) ToRollingUpdateDeploymentPatchOutput added in v3.20.0

func (o RollingUpdateDeploymentPatchOutput) ToRollingUpdateDeploymentPatchOutput() RollingUpdateDeploymentPatchOutput

func (RollingUpdateDeploymentPatchOutput) ToRollingUpdateDeploymentPatchOutputWithContext added in v3.20.0

func (o RollingUpdateDeploymentPatchOutput) ToRollingUpdateDeploymentPatchOutputWithContext(ctx context.Context) RollingUpdateDeploymentPatchOutput

func (RollingUpdateDeploymentPatchOutput) ToRollingUpdateDeploymentPatchPtrOutput added in v3.20.0

func (o RollingUpdateDeploymentPatchOutput) ToRollingUpdateDeploymentPatchPtrOutput() RollingUpdateDeploymentPatchPtrOutput

func (RollingUpdateDeploymentPatchOutput) ToRollingUpdateDeploymentPatchPtrOutputWithContext added in v3.20.0

func (o RollingUpdateDeploymentPatchOutput) ToRollingUpdateDeploymentPatchPtrOutputWithContext(ctx context.Context) RollingUpdateDeploymentPatchPtrOutput

type RollingUpdateDeploymentPatchPtrInput added in v3.20.0

type RollingUpdateDeploymentPatchPtrInput interface {
	pulumi.Input

	ToRollingUpdateDeploymentPatchPtrOutput() RollingUpdateDeploymentPatchPtrOutput
	ToRollingUpdateDeploymentPatchPtrOutputWithContext(context.Context) RollingUpdateDeploymentPatchPtrOutput
}

RollingUpdateDeploymentPatchPtrInput is an input type that accepts RollingUpdateDeploymentPatchArgs, RollingUpdateDeploymentPatchPtr and RollingUpdateDeploymentPatchPtrOutput values. You can construct a concrete instance of `RollingUpdateDeploymentPatchPtrInput` via:

        RollingUpdateDeploymentPatchArgs{...}

or:

        nil

func RollingUpdateDeploymentPatchPtr added in v3.20.0

type RollingUpdateDeploymentPatchPtrOutput added in v3.20.0

type RollingUpdateDeploymentPatchPtrOutput struct{ *pulumi.OutputState }

func (RollingUpdateDeploymentPatchPtrOutput) Elem added in v3.20.0

func (RollingUpdateDeploymentPatchPtrOutput) ElementType added in v3.20.0

func (RollingUpdateDeploymentPatchPtrOutput) MaxSurge added in v3.20.0

The maximum number of pods that can be scheduled above the desired number of pods. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. Defaults to 25%. Example: when this is set to 30%, the new ReplicaSet can be scaled up immediately when the rolling update starts, such that the total number of old and new pods do not exceed 130% of desired pods. Once old pods have been killed, new ReplicaSet can be scaled up further, ensuring that total number of pods running at any time during the update is at most 130% of desired pods.

func (RollingUpdateDeploymentPatchPtrOutput) MaxUnavailable added in v3.20.0

The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding down. This can not be 0 if MaxSurge is 0. Defaults to 25%. Example: when this is set to 30%, the old ReplicaSet can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old ReplicaSet can be scaled down further, followed by scaling up the new ReplicaSet, ensuring that the total number of pods available at all times during the update is at least 70% of desired pods.

func (RollingUpdateDeploymentPatchPtrOutput) ToRollingUpdateDeploymentPatchPtrOutput added in v3.20.0

func (o RollingUpdateDeploymentPatchPtrOutput) ToRollingUpdateDeploymentPatchPtrOutput() RollingUpdateDeploymentPatchPtrOutput

func (RollingUpdateDeploymentPatchPtrOutput) ToRollingUpdateDeploymentPatchPtrOutputWithContext added in v3.20.0

func (o RollingUpdateDeploymentPatchPtrOutput) ToRollingUpdateDeploymentPatchPtrOutputWithContext(ctx context.Context) RollingUpdateDeploymentPatchPtrOutput

type RollingUpdateDeploymentPtrInput

type RollingUpdateDeploymentPtrInput interface {
	pulumi.Input

	ToRollingUpdateDeploymentPtrOutput() RollingUpdateDeploymentPtrOutput
	ToRollingUpdateDeploymentPtrOutputWithContext(context.Context) RollingUpdateDeploymentPtrOutput
}

RollingUpdateDeploymentPtrInput is an input type that accepts RollingUpdateDeploymentArgs, RollingUpdateDeploymentPtr and RollingUpdateDeploymentPtrOutput values. You can construct a concrete instance of `RollingUpdateDeploymentPtrInput` via:

        RollingUpdateDeploymentArgs{...}

or:

        nil

type RollingUpdateDeploymentPtrOutput

type RollingUpdateDeploymentPtrOutput struct{ *pulumi.OutputState }

func (RollingUpdateDeploymentPtrOutput) Elem

func (RollingUpdateDeploymentPtrOutput) ElementType

func (RollingUpdateDeploymentPtrOutput) MaxSurge

The maximum number of pods that can be scheduled above the desired number of pods. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. Defaults to 25%. Example: when this is set to 30%, the new ReplicaSet can be scaled up immediately when the rolling update starts, such that the total number of old and new pods do not exceed 130% of desired pods. Once old pods have been killed, new ReplicaSet can be scaled up further, ensuring that total number of pods running at any time during the update is at most 130% of desired pods.

func (RollingUpdateDeploymentPtrOutput) MaxUnavailable

The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding down. This can not be 0 if MaxSurge is 0. Defaults to 25%. Example: when this is set to 30%, the old ReplicaSet can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old ReplicaSet can be scaled down further, followed by scaling up the new ReplicaSet, ensuring that the total number of pods available at all times during the update is at least 70% of desired pods.

func (RollingUpdateDeploymentPtrOutput) ToRollingUpdateDeploymentPtrOutput

func (o RollingUpdateDeploymentPtrOutput) ToRollingUpdateDeploymentPtrOutput() RollingUpdateDeploymentPtrOutput

func (RollingUpdateDeploymentPtrOutput) ToRollingUpdateDeploymentPtrOutputWithContext

func (o RollingUpdateDeploymentPtrOutput) ToRollingUpdateDeploymentPtrOutputWithContext(ctx context.Context) RollingUpdateDeploymentPtrOutput

type RollingUpdateStatefulSetStrategy

type RollingUpdateStatefulSetStrategy struct {
	// Partition indicates the ordinal at which the StatefulSet should be partitioned.
	Partition *int `pulumi:"partition"`
}

RollingUpdateStatefulSetStrategy is used to communicate parameter for RollingUpdateStatefulSetStrategyType.

type RollingUpdateStatefulSetStrategyArgs

type RollingUpdateStatefulSetStrategyArgs struct {
	// Partition indicates the ordinal at which the StatefulSet should be partitioned.
	Partition pulumi.IntPtrInput `pulumi:"partition"`
}

RollingUpdateStatefulSetStrategy is used to communicate parameter for RollingUpdateStatefulSetStrategyType.

func (RollingUpdateStatefulSetStrategyArgs) ElementType

func (RollingUpdateStatefulSetStrategyArgs) ToRollingUpdateStatefulSetStrategyOutput

func (i RollingUpdateStatefulSetStrategyArgs) ToRollingUpdateStatefulSetStrategyOutput() RollingUpdateStatefulSetStrategyOutput

func (RollingUpdateStatefulSetStrategyArgs) ToRollingUpdateStatefulSetStrategyOutputWithContext

func (i RollingUpdateStatefulSetStrategyArgs) ToRollingUpdateStatefulSetStrategyOutputWithContext(ctx context.Context) RollingUpdateStatefulSetStrategyOutput

func (RollingUpdateStatefulSetStrategyArgs) ToRollingUpdateStatefulSetStrategyPtrOutput

func (i RollingUpdateStatefulSetStrategyArgs) ToRollingUpdateStatefulSetStrategyPtrOutput() RollingUpdateStatefulSetStrategyPtrOutput

func (RollingUpdateStatefulSetStrategyArgs) ToRollingUpdateStatefulSetStrategyPtrOutputWithContext

func (i RollingUpdateStatefulSetStrategyArgs) ToRollingUpdateStatefulSetStrategyPtrOutputWithContext(ctx context.Context) RollingUpdateStatefulSetStrategyPtrOutput

type RollingUpdateStatefulSetStrategyInput

type RollingUpdateStatefulSetStrategyInput interface {
	pulumi.Input

	ToRollingUpdateStatefulSetStrategyOutput() RollingUpdateStatefulSetStrategyOutput
	ToRollingUpdateStatefulSetStrategyOutputWithContext(context.Context) RollingUpdateStatefulSetStrategyOutput
}

RollingUpdateStatefulSetStrategyInput is an input type that accepts RollingUpdateStatefulSetStrategyArgs and RollingUpdateStatefulSetStrategyOutput values. You can construct a concrete instance of `RollingUpdateStatefulSetStrategyInput` via:

RollingUpdateStatefulSetStrategyArgs{...}

type RollingUpdateStatefulSetStrategyOutput

type RollingUpdateStatefulSetStrategyOutput struct{ *pulumi.OutputState }

RollingUpdateStatefulSetStrategy is used to communicate parameter for RollingUpdateStatefulSetStrategyType.

func (RollingUpdateStatefulSetStrategyOutput) ElementType

func (RollingUpdateStatefulSetStrategyOutput) Partition

Partition indicates the ordinal at which the StatefulSet should be partitioned.

func (RollingUpdateStatefulSetStrategyOutput) ToRollingUpdateStatefulSetStrategyOutput

func (o RollingUpdateStatefulSetStrategyOutput) ToRollingUpdateStatefulSetStrategyOutput() RollingUpdateStatefulSetStrategyOutput

func (RollingUpdateStatefulSetStrategyOutput) ToRollingUpdateStatefulSetStrategyOutputWithContext

func (o RollingUpdateStatefulSetStrategyOutput) ToRollingUpdateStatefulSetStrategyOutputWithContext(ctx context.Context) RollingUpdateStatefulSetStrategyOutput

func (RollingUpdateStatefulSetStrategyOutput) ToRollingUpdateStatefulSetStrategyPtrOutput

func (o RollingUpdateStatefulSetStrategyOutput) ToRollingUpdateStatefulSetStrategyPtrOutput() RollingUpdateStatefulSetStrategyPtrOutput

func (RollingUpdateStatefulSetStrategyOutput) ToRollingUpdateStatefulSetStrategyPtrOutputWithContext

func (o RollingUpdateStatefulSetStrategyOutput) ToRollingUpdateStatefulSetStrategyPtrOutputWithContext(ctx context.Context) RollingUpdateStatefulSetStrategyPtrOutput

type RollingUpdateStatefulSetStrategyPatch added in v3.20.0

type RollingUpdateStatefulSetStrategyPatch struct {
	// Partition indicates the ordinal at which the StatefulSet should be partitioned.
	Partition *int `pulumi:"partition"`
}

RollingUpdateStatefulSetStrategy is used to communicate parameter for RollingUpdateStatefulSetStrategyType.

type RollingUpdateStatefulSetStrategyPatchArgs added in v3.20.0

type RollingUpdateStatefulSetStrategyPatchArgs struct {
	// Partition indicates the ordinal at which the StatefulSet should be partitioned.
	Partition pulumi.IntPtrInput `pulumi:"partition"`
}

RollingUpdateStatefulSetStrategy is used to communicate parameter for RollingUpdateStatefulSetStrategyType.

func (RollingUpdateStatefulSetStrategyPatchArgs) ElementType added in v3.20.0

func (RollingUpdateStatefulSetStrategyPatchArgs) ToRollingUpdateStatefulSetStrategyPatchOutput added in v3.20.0

func (i RollingUpdateStatefulSetStrategyPatchArgs) ToRollingUpdateStatefulSetStrategyPatchOutput() RollingUpdateStatefulSetStrategyPatchOutput

func (RollingUpdateStatefulSetStrategyPatchArgs) ToRollingUpdateStatefulSetStrategyPatchOutputWithContext added in v3.20.0

func (i RollingUpdateStatefulSetStrategyPatchArgs) ToRollingUpdateStatefulSetStrategyPatchOutputWithContext(ctx context.Context) RollingUpdateStatefulSetStrategyPatchOutput

func (RollingUpdateStatefulSetStrategyPatchArgs) ToRollingUpdateStatefulSetStrategyPatchPtrOutput added in v3.20.0

func (i RollingUpdateStatefulSetStrategyPatchArgs) ToRollingUpdateStatefulSetStrategyPatchPtrOutput() RollingUpdateStatefulSetStrategyPatchPtrOutput

func (RollingUpdateStatefulSetStrategyPatchArgs) ToRollingUpdateStatefulSetStrategyPatchPtrOutputWithContext added in v3.20.0

func (i RollingUpdateStatefulSetStrategyPatchArgs) ToRollingUpdateStatefulSetStrategyPatchPtrOutputWithContext(ctx context.Context) RollingUpdateStatefulSetStrategyPatchPtrOutput

type RollingUpdateStatefulSetStrategyPatchInput added in v3.20.0

type RollingUpdateStatefulSetStrategyPatchInput interface {
	pulumi.Input

	ToRollingUpdateStatefulSetStrategyPatchOutput() RollingUpdateStatefulSetStrategyPatchOutput
	ToRollingUpdateStatefulSetStrategyPatchOutputWithContext(context.Context) RollingUpdateStatefulSetStrategyPatchOutput
}

RollingUpdateStatefulSetStrategyPatchInput is an input type that accepts RollingUpdateStatefulSetStrategyPatchArgs and RollingUpdateStatefulSetStrategyPatchOutput values. You can construct a concrete instance of `RollingUpdateStatefulSetStrategyPatchInput` via:

RollingUpdateStatefulSetStrategyPatchArgs{...}

type RollingUpdateStatefulSetStrategyPatchOutput added in v3.20.0

type RollingUpdateStatefulSetStrategyPatchOutput struct{ *pulumi.OutputState }

RollingUpdateStatefulSetStrategy is used to communicate parameter for RollingUpdateStatefulSetStrategyType.

func (RollingUpdateStatefulSetStrategyPatchOutput) ElementType added in v3.20.0

func (RollingUpdateStatefulSetStrategyPatchOutput) Partition added in v3.20.0

Partition indicates the ordinal at which the StatefulSet should be partitioned.

func (RollingUpdateStatefulSetStrategyPatchOutput) ToRollingUpdateStatefulSetStrategyPatchOutput added in v3.20.0

func (o RollingUpdateStatefulSetStrategyPatchOutput) ToRollingUpdateStatefulSetStrategyPatchOutput() RollingUpdateStatefulSetStrategyPatchOutput

func (RollingUpdateStatefulSetStrategyPatchOutput) ToRollingUpdateStatefulSetStrategyPatchOutputWithContext added in v3.20.0

func (o RollingUpdateStatefulSetStrategyPatchOutput) ToRollingUpdateStatefulSetStrategyPatchOutputWithContext(ctx context.Context) RollingUpdateStatefulSetStrategyPatchOutput

func (RollingUpdateStatefulSetStrategyPatchOutput) ToRollingUpdateStatefulSetStrategyPatchPtrOutput added in v3.20.0

func (o RollingUpdateStatefulSetStrategyPatchOutput) ToRollingUpdateStatefulSetStrategyPatchPtrOutput() RollingUpdateStatefulSetStrategyPatchPtrOutput

func (RollingUpdateStatefulSetStrategyPatchOutput) ToRollingUpdateStatefulSetStrategyPatchPtrOutputWithContext added in v3.20.0

func (o RollingUpdateStatefulSetStrategyPatchOutput) ToRollingUpdateStatefulSetStrategyPatchPtrOutputWithContext(ctx context.Context) RollingUpdateStatefulSetStrategyPatchPtrOutput

type RollingUpdateStatefulSetStrategyPatchPtrInput added in v3.20.0

type RollingUpdateStatefulSetStrategyPatchPtrInput interface {
	pulumi.Input

	ToRollingUpdateStatefulSetStrategyPatchPtrOutput() RollingUpdateStatefulSetStrategyPatchPtrOutput
	ToRollingUpdateStatefulSetStrategyPatchPtrOutputWithContext(context.Context) RollingUpdateStatefulSetStrategyPatchPtrOutput
}

RollingUpdateStatefulSetStrategyPatchPtrInput is an input type that accepts RollingUpdateStatefulSetStrategyPatchArgs, RollingUpdateStatefulSetStrategyPatchPtr and RollingUpdateStatefulSetStrategyPatchPtrOutput values. You can construct a concrete instance of `RollingUpdateStatefulSetStrategyPatchPtrInput` via:

        RollingUpdateStatefulSetStrategyPatchArgs{...}

or:

        nil

type RollingUpdateStatefulSetStrategyPatchPtrOutput added in v3.20.0

type RollingUpdateStatefulSetStrategyPatchPtrOutput struct{ *pulumi.OutputState }

func (RollingUpdateStatefulSetStrategyPatchPtrOutput) Elem added in v3.20.0

func (RollingUpdateStatefulSetStrategyPatchPtrOutput) ElementType added in v3.20.0

func (RollingUpdateStatefulSetStrategyPatchPtrOutput) Partition added in v3.20.0

Partition indicates the ordinal at which the StatefulSet should be partitioned.

func (RollingUpdateStatefulSetStrategyPatchPtrOutput) ToRollingUpdateStatefulSetStrategyPatchPtrOutput added in v3.20.0

func (o RollingUpdateStatefulSetStrategyPatchPtrOutput) ToRollingUpdateStatefulSetStrategyPatchPtrOutput() RollingUpdateStatefulSetStrategyPatchPtrOutput

func (RollingUpdateStatefulSetStrategyPatchPtrOutput) ToRollingUpdateStatefulSetStrategyPatchPtrOutputWithContext added in v3.20.0

func (o RollingUpdateStatefulSetStrategyPatchPtrOutput) ToRollingUpdateStatefulSetStrategyPatchPtrOutputWithContext(ctx context.Context) RollingUpdateStatefulSetStrategyPatchPtrOutput

type RollingUpdateStatefulSetStrategyPtrInput

type RollingUpdateStatefulSetStrategyPtrInput interface {
	pulumi.Input

	ToRollingUpdateStatefulSetStrategyPtrOutput() RollingUpdateStatefulSetStrategyPtrOutput
	ToRollingUpdateStatefulSetStrategyPtrOutputWithContext(context.Context) RollingUpdateStatefulSetStrategyPtrOutput
}

RollingUpdateStatefulSetStrategyPtrInput is an input type that accepts RollingUpdateStatefulSetStrategyArgs, RollingUpdateStatefulSetStrategyPtr and RollingUpdateStatefulSetStrategyPtrOutput values. You can construct a concrete instance of `RollingUpdateStatefulSetStrategyPtrInput` via:

        RollingUpdateStatefulSetStrategyArgs{...}

or:

        nil

type RollingUpdateStatefulSetStrategyPtrOutput

type RollingUpdateStatefulSetStrategyPtrOutput struct{ *pulumi.OutputState }

func (RollingUpdateStatefulSetStrategyPtrOutput) Elem

func (RollingUpdateStatefulSetStrategyPtrOutput) ElementType

func (RollingUpdateStatefulSetStrategyPtrOutput) Partition

Partition indicates the ordinal at which the StatefulSet should be partitioned.

func (RollingUpdateStatefulSetStrategyPtrOutput) ToRollingUpdateStatefulSetStrategyPtrOutput

func (o RollingUpdateStatefulSetStrategyPtrOutput) ToRollingUpdateStatefulSetStrategyPtrOutput() RollingUpdateStatefulSetStrategyPtrOutput

func (RollingUpdateStatefulSetStrategyPtrOutput) ToRollingUpdateStatefulSetStrategyPtrOutputWithContext

func (o RollingUpdateStatefulSetStrategyPtrOutput) ToRollingUpdateStatefulSetStrategyPtrOutputWithContext(ctx context.Context) RollingUpdateStatefulSetStrategyPtrOutput

type Scale

type Scale struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion *string `pulumi:"apiVersion"`
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind *string `pulumi:"kind"`
	// Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
	Metadata *metav1.ObjectMeta `pulumi:"metadata"`
	// defines the behavior of the scale. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status.
	Spec *ScaleSpec `pulumi:"spec"`
	// current status of the scale. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. Read-only.
	Status *ScaleStatus `pulumi:"status"`
}

Scale represents a scaling request for a resource.

type ScaleArgs

type ScaleArgs struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion pulumi.StringPtrInput `pulumi:"apiVersion"`
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind pulumi.StringPtrInput `pulumi:"kind"`
	// Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
	Metadata metav1.ObjectMetaPtrInput `pulumi:"metadata"`
	// defines the behavior of the scale. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status.
	Spec ScaleSpecPtrInput `pulumi:"spec"`
	// current status of the scale. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. Read-only.
	Status ScaleStatusPtrInput `pulumi:"status"`
}

Scale represents a scaling request for a resource.

func (ScaleArgs) ElementType

func (ScaleArgs) ElementType() reflect.Type

func (ScaleArgs) ToScaleOutput

func (i ScaleArgs) ToScaleOutput() ScaleOutput

func (ScaleArgs) ToScaleOutputWithContext

func (i ScaleArgs) ToScaleOutputWithContext(ctx context.Context) ScaleOutput

type ScaleInput

type ScaleInput interface {
	pulumi.Input

	ToScaleOutput() ScaleOutput
	ToScaleOutputWithContext(context.Context) ScaleOutput
}

ScaleInput is an input type that accepts ScaleArgs and ScaleOutput values. You can construct a concrete instance of `ScaleInput` via:

ScaleArgs{...}

type ScaleOutput

type ScaleOutput struct{ *pulumi.OutputState }

Scale represents a scaling request for a resource.

func (ScaleOutput) ApiVersion

func (o ScaleOutput) ApiVersion() pulumi.StringPtrOutput

APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources

func (ScaleOutput) ElementType

func (ScaleOutput) ElementType() reflect.Type

func (ScaleOutput) Kind

Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

func (ScaleOutput) Status

func (o ScaleOutput) Status() ScaleStatusPtrOutput

current status of the scale. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. Read-only.

func (ScaleOutput) ToScaleOutput

func (o ScaleOutput) ToScaleOutput() ScaleOutput

func (ScaleOutput) ToScaleOutputWithContext

func (o ScaleOutput) ToScaleOutputWithContext(ctx context.Context) ScaleOutput

type ScalePatch added in v3.20.0

type ScalePatch struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion *string `pulumi:"apiVersion"`
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind *string `pulumi:"kind"`
	// Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
	Metadata *metav1.ObjectMetaPatch `pulumi:"metadata"`
	// defines the behavior of the scale. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status.
	Spec *ScaleSpecPatch `pulumi:"spec"`
	// current status of the scale. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. Read-only.
	Status *ScaleStatusPatch `pulumi:"status"`
}

Scale represents a scaling request for a resource.

type ScalePatchArgs added in v3.20.0

type ScalePatchArgs struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion pulumi.StringPtrInput `pulumi:"apiVersion"`
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind pulumi.StringPtrInput `pulumi:"kind"`
	// Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
	Metadata metav1.ObjectMetaPatchPtrInput `pulumi:"metadata"`
	// defines the behavior of the scale. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status.
	Spec ScaleSpecPatchPtrInput `pulumi:"spec"`
	// current status of the scale. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. Read-only.
	Status ScaleStatusPatchPtrInput `pulumi:"status"`
}

Scale represents a scaling request for a resource.

func (ScalePatchArgs) ElementType added in v3.20.0

func (ScalePatchArgs) ElementType() reflect.Type

func (ScalePatchArgs) ToScalePatchOutput added in v3.20.0

func (i ScalePatchArgs) ToScalePatchOutput() ScalePatchOutput

func (ScalePatchArgs) ToScalePatchOutputWithContext added in v3.20.0

func (i ScalePatchArgs) ToScalePatchOutputWithContext(ctx context.Context) ScalePatchOutput

type ScalePatchInput added in v3.20.0

type ScalePatchInput interface {
	pulumi.Input

	ToScalePatchOutput() ScalePatchOutput
	ToScalePatchOutputWithContext(context.Context) ScalePatchOutput
}

ScalePatchInput is an input type that accepts ScalePatchArgs and ScalePatchOutput values. You can construct a concrete instance of `ScalePatchInput` via:

ScalePatchArgs{...}

type ScalePatchOutput added in v3.20.0

type ScalePatchOutput struct{ *pulumi.OutputState }

Scale represents a scaling request for a resource.

func (ScalePatchOutput) ApiVersion added in v3.20.0

func (o ScalePatchOutput) ApiVersion() pulumi.StringPtrOutput

APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources

func (ScalePatchOutput) ElementType added in v3.20.0

func (ScalePatchOutput) ElementType() reflect.Type

func (ScalePatchOutput) Kind added in v3.20.0

Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

func (ScalePatchOutput) Metadata added in v3.20.0

Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.

func (ScalePatchOutput) Spec added in v3.20.0

defines the behavior of the scale. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status.

func (ScalePatchOutput) Status added in v3.20.0

current status of the scale. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. Read-only.

func (ScalePatchOutput) ToScalePatchOutput added in v3.20.0

func (o ScalePatchOutput) ToScalePatchOutput() ScalePatchOutput

func (ScalePatchOutput) ToScalePatchOutputWithContext added in v3.20.0

func (o ScalePatchOutput) ToScalePatchOutputWithContext(ctx context.Context) ScalePatchOutput

type ScaleSpec

type ScaleSpec struct {
	// desired number of instances for the scaled object.
	Replicas *int `pulumi:"replicas"`
}

ScaleSpec describes the attributes of a scale subresource

type ScaleSpecArgs

type ScaleSpecArgs struct {
	// desired number of instances for the scaled object.
	Replicas pulumi.IntPtrInput `pulumi:"replicas"`
}

ScaleSpec describes the attributes of a scale subresource

func (ScaleSpecArgs) ElementType

func (ScaleSpecArgs) ElementType() reflect.Type

func (ScaleSpecArgs) ToScaleSpecOutput

func (i ScaleSpecArgs) ToScaleSpecOutput() ScaleSpecOutput

func (ScaleSpecArgs) ToScaleSpecOutputWithContext

func (i ScaleSpecArgs) ToScaleSpecOutputWithContext(ctx context.Context) ScaleSpecOutput

func (ScaleSpecArgs) ToScaleSpecPtrOutput

func (i ScaleSpecArgs) ToScaleSpecPtrOutput() ScaleSpecPtrOutput

func (ScaleSpecArgs) ToScaleSpecPtrOutputWithContext

func (i ScaleSpecArgs) ToScaleSpecPtrOutputWithContext(ctx context.Context) ScaleSpecPtrOutput

type ScaleSpecInput

type ScaleSpecInput interface {
	pulumi.Input

	ToScaleSpecOutput() ScaleSpecOutput
	ToScaleSpecOutputWithContext(context.Context) ScaleSpecOutput
}

ScaleSpecInput is an input type that accepts ScaleSpecArgs and ScaleSpecOutput values. You can construct a concrete instance of `ScaleSpecInput` via:

ScaleSpecArgs{...}

type ScaleSpecOutput

type ScaleSpecOutput struct{ *pulumi.OutputState }

ScaleSpec describes the attributes of a scale subresource

func (ScaleSpecOutput) ElementType

func (ScaleSpecOutput) ElementType() reflect.Type

func (ScaleSpecOutput) Replicas

func (o ScaleSpecOutput) Replicas() pulumi.IntPtrOutput

desired number of instances for the scaled object.

func (ScaleSpecOutput) ToScaleSpecOutput

func (o ScaleSpecOutput) ToScaleSpecOutput() ScaleSpecOutput

func (ScaleSpecOutput) ToScaleSpecOutputWithContext

func (o ScaleSpecOutput) ToScaleSpecOutputWithContext(ctx context.Context) ScaleSpecOutput

func (ScaleSpecOutput) ToScaleSpecPtrOutput

func (o ScaleSpecOutput) ToScaleSpecPtrOutput() ScaleSpecPtrOutput

func (ScaleSpecOutput) ToScaleSpecPtrOutputWithContext

func (o ScaleSpecOutput) ToScaleSpecPtrOutputWithContext(ctx context.Context) ScaleSpecPtrOutput

type ScaleSpecPatch added in v3.20.0

type ScaleSpecPatch struct {
	// desired number of instances for the scaled object.
	Replicas *int `pulumi:"replicas"`
}

ScaleSpec describes the attributes of a scale subresource

type ScaleSpecPatchArgs added in v3.20.0

type ScaleSpecPatchArgs struct {
	// desired number of instances for the scaled object.
	Replicas pulumi.IntPtrInput `pulumi:"replicas"`
}

ScaleSpec describes the attributes of a scale subresource

func (ScaleSpecPatchArgs) ElementType added in v3.20.0

func (ScaleSpecPatchArgs) ElementType() reflect.Type

func (ScaleSpecPatchArgs) ToScaleSpecPatchOutput added in v3.20.0

func (i ScaleSpecPatchArgs) ToScaleSpecPatchOutput() ScaleSpecPatchOutput

func (ScaleSpecPatchArgs) ToScaleSpecPatchOutputWithContext added in v3.20.0

func (i ScaleSpecPatchArgs) ToScaleSpecPatchOutputWithContext(ctx context.Context) ScaleSpecPatchOutput

func (ScaleSpecPatchArgs) ToScaleSpecPatchPtrOutput added in v3.20.0

func (i ScaleSpecPatchArgs) ToScaleSpecPatchPtrOutput() ScaleSpecPatchPtrOutput

func (ScaleSpecPatchArgs) ToScaleSpecPatchPtrOutputWithContext added in v3.20.0

func (i ScaleSpecPatchArgs) ToScaleSpecPatchPtrOutputWithContext(ctx context.Context) ScaleSpecPatchPtrOutput

type ScaleSpecPatchInput added in v3.20.0

type ScaleSpecPatchInput interface {
	pulumi.Input

	ToScaleSpecPatchOutput() ScaleSpecPatchOutput
	ToScaleSpecPatchOutputWithContext(context.Context) ScaleSpecPatchOutput
}

ScaleSpecPatchInput is an input type that accepts ScaleSpecPatchArgs and ScaleSpecPatchOutput values. You can construct a concrete instance of `ScaleSpecPatchInput` via:

ScaleSpecPatchArgs{...}

type ScaleSpecPatchOutput added in v3.20.0

type ScaleSpecPatchOutput struct{ *pulumi.OutputState }

ScaleSpec describes the attributes of a scale subresource

func (ScaleSpecPatchOutput) ElementType added in v3.20.0

func (ScaleSpecPatchOutput) ElementType() reflect.Type

func (ScaleSpecPatchOutput) Replicas added in v3.20.0

desired number of instances for the scaled object.

func (ScaleSpecPatchOutput) ToScaleSpecPatchOutput added in v3.20.0

func (o ScaleSpecPatchOutput) ToScaleSpecPatchOutput() ScaleSpecPatchOutput

func (ScaleSpecPatchOutput) ToScaleSpecPatchOutputWithContext added in v3.20.0

func (o ScaleSpecPatchOutput) ToScaleSpecPatchOutputWithContext(ctx context.Context) ScaleSpecPatchOutput

func (ScaleSpecPatchOutput) ToScaleSpecPatchPtrOutput added in v3.20.0

func (o ScaleSpecPatchOutput) ToScaleSpecPatchPtrOutput() ScaleSpecPatchPtrOutput

func (ScaleSpecPatchOutput) ToScaleSpecPatchPtrOutputWithContext added in v3.20.0

func (o ScaleSpecPatchOutput) ToScaleSpecPatchPtrOutputWithContext(ctx context.Context) ScaleSpecPatchPtrOutput

type ScaleSpecPatchPtrInput added in v3.20.0

type ScaleSpecPatchPtrInput interface {
	pulumi.Input

	ToScaleSpecPatchPtrOutput() ScaleSpecPatchPtrOutput
	ToScaleSpecPatchPtrOutputWithContext(context.Context) ScaleSpecPatchPtrOutput
}

ScaleSpecPatchPtrInput is an input type that accepts ScaleSpecPatchArgs, ScaleSpecPatchPtr and ScaleSpecPatchPtrOutput values. You can construct a concrete instance of `ScaleSpecPatchPtrInput` via:

        ScaleSpecPatchArgs{...}

or:

        nil

func ScaleSpecPatchPtr added in v3.20.0

func ScaleSpecPatchPtr(v *ScaleSpecPatchArgs) ScaleSpecPatchPtrInput

type ScaleSpecPatchPtrOutput added in v3.20.0

type ScaleSpecPatchPtrOutput struct{ *pulumi.OutputState }

func (ScaleSpecPatchPtrOutput) Elem added in v3.20.0

func (ScaleSpecPatchPtrOutput) ElementType added in v3.20.0

func (ScaleSpecPatchPtrOutput) ElementType() reflect.Type

func (ScaleSpecPatchPtrOutput) Replicas added in v3.20.0

desired number of instances for the scaled object.

func (ScaleSpecPatchPtrOutput) ToScaleSpecPatchPtrOutput added in v3.20.0

func (o ScaleSpecPatchPtrOutput) ToScaleSpecPatchPtrOutput() ScaleSpecPatchPtrOutput

func (ScaleSpecPatchPtrOutput) ToScaleSpecPatchPtrOutputWithContext added in v3.20.0

func (o ScaleSpecPatchPtrOutput) ToScaleSpecPatchPtrOutputWithContext(ctx context.Context) ScaleSpecPatchPtrOutput

type ScaleSpecPtrInput

type ScaleSpecPtrInput interface {
	pulumi.Input

	ToScaleSpecPtrOutput() ScaleSpecPtrOutput
	ToScaleSpecPtrOutputWithContext(context.Context) ScaleSpecPtrOutput
}

ScaleSpecPtrInput is an input type that accepts ScaleSpecArgs, ScaleSpecPtr and ScaleSpecPtrOutput values. You can construct a concrete instance of `ScaleSpecPtrInput` via:

        ScaleSpecArgs{...}

or:

        nil

func ScaleSpecPtr

func ScaleSpecPtr(v *ScaleSpecArgs) ScaleSpecPtrInput

type ScaleSpecPtrOutput

type ScaleSpecPtrOutput struct{ *pulumi.OutputState }

func (ScaleSpecPtrOutput) Elem

func (ScaleSpecPtrOutput) ElementType

func (ScaleSpecPtrOutput) ElementType() reflect.Type

func (ScaleSpecPtrOutput) Replicas

func (o ScaleSpecPtrOutput) Replicas() pulumi.IntPtrOutput

desired number of instances for the scaled object.

func (ScaleSpecPtrOutput) ToScaleSpecPtrOutput

func (o ScaleSpecPtrOutput) ToScaleSpecPtrOutput() ScaleSpecPtrOutput

func (ScaleSpecPtrOutput) ToScaleSpecPtrOutputWithContext

func (o ScaleSpecPtrOutput) ToScaleSpecPtrOutputWithContext(ctx context.Context) ScaleSpecPtrOutput

type ScaleStatus

type ScaleStatus struct {
	// actual number of observed instances of the scaled object.
	Replicas int `pulumi:"replicas"`
	// label query over pods that should match the replicas count. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors
	Selector map[string]string `pulumi:"selector"`
	// label selector for pods that should match the replicas count. This is a serializated version of both map-based and more expressive set-based selectors. This is done to avoid introspection in the clients. The string will be in the same format as the query-param syntax. If the target type only supports map-based selectors, both this field and map-based selector field are populated. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors
	TargetSelector *string `pulumi:"targetSelector"`
}

ScaleStatus represents the current status of a scale subresource.

type ScaleStatusArgs

type ScaleStatusArgs struct {
	// actual number of observed instances of the scaled object.
	Replicas pulumi.IntInput `pulumi:"replicas"`
	// label query over pods that should match the replicas count. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors
	Selector pulumi.StringMapInput `pulumi:"selector"`
	// label selector for pods that should match the replicas count. This is a serializated version of both map-based and more expressive set-based selectors. This is done to avoid introspection in the clients. The string will be in the same format as the query-param syntax. If the target type only supports map-based selectors, both this field and map-based selector field are populated. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors
	TargetSelector pulumi.StringPtrInput `pulumi:"targetSelector"`
}

ScaleStatus represents the current status of a scale subresource.

func (ScaleStatusArgs) ElementType

func (ScaleStatusArgs) ElementType() reflect.Type

func (ScaleStatusArgs) ToScaleStatusOutput

func (i ScaleStatusArgs) ToScaleStatusOutput() ScaleStatusOutput

func (ScaleStatusArgs) ToScaleStatusOutputWithContext

func (i ScaleStatusArgs) ToScaleStatusOutputWithContext(ctx context.Context) ScaleStatusOutput

func (ScaleStatusArgs) ToScaleStatusPtrOutput

func (i ScaleStatusArgs) ToScaleStatusPtrOutput() ScaleStatusPtrOutput

func (ScaleStatusArgs) ToScaleStatusPtrOutputWithContext

func (i ScaleStatusArgs) ToScaleStatusPtrOutputWithContext(ctx context.Context) ScaleStatusPtrOutput

type ScaleStatusInput

type ScaleStatusInput interface {
	pulumi.Input

	ToScaleStatusOutput() ScaleStatusOutput
	ToScaleStatusOutputWithContext(context.Context) ScaleStatusOutput
}

ScaleStatusInput is an input type that accepts ScaleStatusArgs and ScaleStatusOutput values. You can construct a concrete instance of `ScaleStatusInput` via:

ScaleStatusArgs{...}

type ScaleStatusOutput

type ScaleStatusOutput struct{ *pulumi.OutputState }

ScaleStatus represents the current status of a scale subresource.

func (ScaleStatusOutput) ElementType

func (ScaleStatusOutput) ElementType() reflect.Type

func (ScaleStatusOutput) Replicas

func (o ScaleStatusOutput) Replicas() pulumi.IntOutput

actual number of observed instances of the scaled object.

func (ScaleStatusOutput) Selector

label query over pods that should match the replicas count. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors

func (ScaleStatusOutput) TargetSelector

func (o ScaleStatusOutput) TargetSelector() pulumi.StringPtrOutput

label selector for pods that should match the replicas count. This is a serializated version of both map-based and more expressive set-based selectors. This is done to avoid introspection in the clients. The string will be in the same format as the query-param syntax. If the target type only supports map-based selectors, both this field and map-based selector field are populated. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors

func (ScaleStatusOutput) ToScaleStatusOutput

func (o ScaleStatusOutput) ToScaleStatusOutput() ScaleStatusOutput

func (ScaleStatusOutput) ToScaleStatusOutputWithContext

func (o ScaleStatusOutput) ToScaleStatusOutputWithContext(ctx context.Context) ScaleStatusOutput

func (ScaleStatusOutput) ToScaleStatusPtrOutput

func (o ScaleStatusOutput) ToScaleStatusPtrOutput() ScaleStatusPtrOutput

func (ScaleStatusOutput) ToScaleStatusPtrOutputWithContext

func (o ScaleStatusOutput) ToScaleStatusPtrOutputWithContext(ctx context.Context) ScaleStatusPtrOutput

type ScaleStatusPatch added in v3.20.0

type ScaleStatusPatch struct {
	// actual number of observed instances of the scaled object.
	Replicas *int `pulumi:"replicas"`
	// label query over pods that should match the replicas count. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors
	Selector map[string]string `pulumi:"selector"`
	// label selector for pods that should match the replicas count. This is a serializated version of both map-based and more expressive set-based selectors. This is done to avoid introspection in the clients. The string will be in the same format as the query-param syntax. If the target type only supports map-based selectors, both this field and map-based selector field are populated. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors
	TargetSelector *string `pulumi:"targetSelector"`
}

ScaleStatus represents the current status of a scale subresource.

type ScaleStatusPatchArgs added in v3.20.0

type ScaleStatusPatchArgs struct {
	// actual number of observed instances of the scaled object.
	Replicas pulumi.IntPtrInput `pulumi:"replicas"`
	// label query over pods that should match the replicas count. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors
	Selector pulumi.StringMapInput `pulumi:"selector"`
	// label selector for pods that should match the replicas count. This is a serializated version of both map-based and more expressive set-based selectors. This is done to avoid introspection in the clients. The string will be in the same format as the query-param syntax. If the target type only supports map-based selectors, both this field and map-based selector field are populated. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors
	TargetSelector pulumi.StringPtrInput `pulumi:"targetSelector"`
}

ScaleStatus represents the current status of a scale subresource.

func (ScaleStatusPatchArgs) ElementType added in v3.20.0

func (ScaleStatusPatchArgs) ElementType() reflect.Type

func (ScaleStatusPatchArgs) ToScaleStatusPatchOutput added in v3.20.0

func (i ScaleStatusPatchArgs) ToScaleStatusPatchOutput() ScaleStatusPatchOutput

func (ScaleStatusPatchArgs) ToScaleStatusPatchOutputWithContext added in v3.20.0

func (i ScaleStatusPatchArgs) ToScaleStatusPatchOutputWithContext(ctx context.Context) ScaleStatusPatchOutput

func (ScaleStatusPatchArgs) ToScaleStatusPatchPtrOutput added in v3.20.0

func (i ScaleStatusPatchArgs) ToScaleStatusPatchPtrOutput() ScaleStatusPatchPtrOutput

func (ScaleStatusPatchArgs) ToScaleStatusPatchPtrOutputWithContext added in v3.20.0

func (i ScaleStatusPatchArgs) ToScaleStatusPatchPtrOutputWithContext(ctx context.Context) ScaleStatusPatchPtrOutput

type ScaleStatusPatchInput added in v3.20.0

type ScaleStatusPatchInput interface {
	pulumi.Input

	ToScaleStatusPatchOutput() ScaleStatusPatchOutput
	ToScaleStatusPatchOutputWithContext(context.Context) ScaleStatusPatchOutput
}

ScaleStatusPatchInput is an input type that accepts ScaleStatusPatchArgs and ScaleStatusPatchOutput values. You can construct a concrete instance of `ScaleStatusPatchInput` via:

ScaleStatusPatchArgs{...}

type ScaleStatusPatchOutput added in v3.20.0

type ScaleStatusPatchOutput struct{ *pulumi.OutputState }

ScaleStatus represents the current status of a scale subresource.

func (ScaleStatusPatchOutput) ElementType added in v3.20.0

func (ScaleStatusPatchOutput) ElementType() reflect.Type

func (ScaleStatusPatchOutput) Replicas added in v3.20.0

actual number of observed instances of the scaled object.

func (ScaleStatusPatchOutput) Selector added in v3.20.0

label query over pods that should match the replicas count. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors

func (ScaleStatusPatchOutput) TargetSelector added in v3.20.0

func (o ScaleStatusPatchOutput) TargetSelector() pulumi.StringPtrOutput

label selector for pods that should match the replicas count. This is a serializated version of both map-based and more expressive set-based selectors. This is done to avoid introspection in the clients. The string will be in the same format as the query-param syntax. If the target type only supports map-based selectors, both this field and map-based selector field are populated. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors

func (ScaleStatusPatchOutput) ToScaleStatusPatchOutput added in v3.20.0

func (o ScaleStatusPatchOutput) ToScaleStatusPatchOutput() ScaleStatusPatchOutput

func (ScaleStatusPatchOutput) ToScaleStatusPatchOutputWithContext added in v3.20.0

func (o ScaleStatusPatchOutput) ToScaleStatusPatchOutputWithContext(ctx context.Context) ScaleStatusPatchOutput

func (ScaleStatusPatchOutput) ToScaleStatusPatchPtrOutput added in v3.20.0

func (o ScaleStatusPatchOutput) ToScaleStatusPatchPtrOutput() ScaleStatusPatchPtrOutput

func (ScaleStatusPatchOutput) ToScaleStatusPatchPtrOutputWithContext added in v3.20.0

func (o ScaleStatusPatchOutput) ToScaleStatusPatchPtrOutputWithContext(ctx context.Context) ScaleStatusPatchPtrOutput

type ScaleStatusPatchPtrInput added in v3.20.0

type ScaleStatusPatchPtrInput interface {
	pulumi.Input

	ToScaleStatusPatchPtrOutput() ScaleStatusPatchPtrOutput
	ToScaleStatusPatchPtrOutputWithContext(context.Context) ScaleStatusPatchPtrOutput
}

ScaleStatusPatchPtrInput is an input type that accepts ScaleStatusPatchArgs, ScaleStatusPatchPtr and ScaleStatusPatchPtrOutput values. You can construct a concrete instance of `ScaleStatusPatchPtrInput` via:

        ScaleStatusPatchArgs{...}

or:

        nil

func ScaleStatusPatchPtr added in v3.20.0

func ScaleStatusPatchPtr(v *ScaleStatusPatchArgs) ScaleStatusPatchPtrInput

type ScaleStatusPatchPtrOutput added in v3.20.0

type ScaleStatusPatchPtrOutput struct{ *pulumi.OutputState }

func (ScaleStatusPatchPtrOutput) Elem added in v3.20.0

func (ScaleStatusPatchPtrOutput) ElementType added in v3.20.0

func (ScaleStatusPatchPtrOutput) ElementType() reflect.Type

func (ScaleStatusPatchPtrOutput) Replicas added in v3.20.0

actual number of observed instances of the scaled object.

func (ScaleStatusPatchPtrOutput) Selector added in v3.20.0

label query over pods that should match the replicas count. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors

func (ScaleStatusPatchPtrOutput) TargetSelector added in v3.20.0

label selector for pods that should match the replicas count. This is a serializated version of both map-based and more expressive set-based selectors. This is done to avoid introspection in the clients. The string will be in the same format as the query-param syntax. If the target type only supports map-based selectors, both this field and map-based selector field are populated. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors

func (ScaleStatusPatchPtrOutput) ToScaleStatusPatchPtrOutput added in v3.20.0

func (o ScaleStatusPatchPtrOutput) ToScaleStatusPatchPtrOutput() ScaleStatusPatchPtrOutput

func (ScaleStatusPatchPtrOutput) ToScaleStatusPatchPtrOutputWithContext added in v3.20.0

func (o ScaleStatusPatchPtrOutput) ToScaleStatusPatchPtrOutputWithContext(ctx context.Context) ScaleStatusPatchPtrOutput

type ScaleStatusPtrInput

type ScaleStatusPtrInput interface {
	pulumi.Input

	ToScaleStatusPtrOutput() ScaleStatusPtrOutput
	ToScaleStatusPtrOutputWithContext(context.Context) ScaleStatusPtrOutput
}

ScaleStatusPtrInput is an input type that accepts ScaleStatusArgs, ScaleStatusPtr and ScaleStatusPtrOutput values. You can construct a concrete instance of `ScaleStatusPtrInput` via:

        ScaleStatusArgs{...}

or:

        nil

func ScaleStatusPtr

func ScaleStatusPtr(v *ScaleStatusArgs) ScaleStatusPtrInput

type ScaleStatusPtrOutput

type ScaleStatusPtrOutput struct{ *pulumi.OutputState }

func (ScaleStatusPtrOutput) Elem

func (ScaleStatusPtrOutput) ElementType

func (ScaleStatusPtrOutput) ElementType() reflect.Type

func (ScaleStatusPtrOutput) Replicas

actual number of observed instances of the scaled object.

func (ScaleStatusPtrOutput) Selector

label query over pods that should match the replicas count. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors

func (ScaleStatusPtrOutput) TargetSelector

func (o ScaleStatusPtrOutput) TargetSelector() pulumi.StringPtrOutput

label selector for pods that should match the replicas count. This is a serializated version of both map-based and more expressive set-based selectors. This is done to avoid introspection in the clients. The string will be in the same format as the query-param syntax. If the target type only supports map-based selectors, both this field and map-based selector field are populated. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors

func (ScaleStatusPtrOutput) ToScaleStatusPtrOutput

func (o ScaleStatusPtrOutput) ToScaleStatusPtrOutput() ScaleStatusPtrOutput

func (ScaleStatusPtrOutput) ToScaleStatusPtrOutputWithContext

func (o ScaleStatusPtrOutput) ToScaleStatusPtrOutputWithContext(ctx context.Context) ScaleStatusPtrOutput

type StatefulSet deprecated

type StatefulSet struct {
	pulumi.CustomResourceState

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion pulumi.StringPtrOutput `pulumi:"apiVersion"`
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind     pulumi.StringPtrOutput     `pulumi:"kind"`
	Metadata metav1.ObjectMetaPtrOutput `pulumi:"metadata"`
	// Spec defines the desired identities of pods in this set.
	Spec StatefulSetSpecPtrOutput `pulumi:"spec"`
	// Status is the current status of Pods in this StatefulSet. This data may be out of date by some window of time.
	Status StatefulSetStatusPtrOutput `pulumi:"status"`
}

StatefulSet represents a set of pods with consistent identities. Identities are defined as:

  • Network: A single stable DNS and hostname.
  • Storage: As many VolumeClaims as requested. The StatefulSet guarantees that a given network identity will always map to the same storage identity.

This resource waits until its status is ready before registering success for create/update, and populating output properties from the current state of the resource. The following conditions are used to determine whether the resource creation has succeeded or failed:

  1. The value of 'spec.replicas' matches '.status.replicas', '.status.currentReplicas', and '.status.readyReplicas'.
  2. The value of '.status.updateRevision' matches '.status.currentRevision'.

If the StatefulSet has not reached a Ready state after 10 minutes, it will time out and mark the resource update as Failed. You can override the default timeout value by setting the 'customTimeouts' option on the resource.

Deprecated: apps/v1beta1/StatefulSet is deprecated by apps/v1/StatefulSet and not supported by Kubernetes v1.16+ clusters.

func GetStatefulSet

func GetStatefulSet(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *StatefulSetState, opts ...pulumi.ResourceOption) (*StatefulSet, error)

GetStatefulSet gets an existing StatefulSet resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewStatefulSet

func NewStatefulSet(ctx *pulumi.Context,
	name string, args *StatefulSetArgs, opts ...pulumi.ResourceOption) (*StatefulSet, error)

NewStatefulSet registers a new resource with the given unique name, arguments, and options.

func (*StatefulSet) ElementType

func (*StatefulSet) ElementType() reflect.Type

func (*StatefulSet) ToStatefulSetOutput

func (i *StatefulSet) ToStatefulSetOutput() StatefulSetOutput

func (*StatefulSet) ToStatefulSetOutputWithContext

func (i *StatefulSet) ToStatefulSetOutputWithContext(ctx context.Context) StatefulSetOutput

type StatefulSetArgs

type StatefulSetArgs struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion pulumi.StringPtrInput
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind     pulumi.StringPtrInput
	Metadata metav1.ObjectMetaPtrInput
	// Spec defines the desired identities of pods in this set.
	Spec StatefulSetSpecPtrInput
}

The set of arguments for constructing a StatefulSet resource.

func (StatefulSetArgs) ElementType

func (StatefulSetArgs) ElementType() reflect.Type

type StatefulSetArray

type StatefulSetArray []StatefulSetInput

func (StatefulSetArray) ElementType

func (StatefulSetArray) ElementType() reflect.Type

func (StatefulSetArray) ToStatefulSetArrayOutput

func (i StatefulSetArray) ToStatefulSetArrayOutput() StatefulSetArrayOutput

func (StatefulSetArray) ToStatefulSetArrayOutputWithContext

func (i StatefulSetArray) ToStatefulSetArrayOutputWithContext(ctx context.Context) StatefulSetArrayOutput

type StatefulSetArrayInput

type StatefulSetArrayInput interface {
	pulumi.Input

	ToStatefulSetArrayOutput() StatefulSetArrayOutput
	ToStatefulSetArrayOutputWithContext(context.Context) StatefulSetArrayOutput
}

StatefulSetArrayInput is an input type that accepts StatefulSetArray and StatefulSetArrayOutput values. You can construct a concrete instance of `StatefulSetArrayInput` via:

StatefulSetArray{ StatefulSetArgs{...} }

type StatefulSetArrayOutput

type StatefulSetArrayOutput struct{ *pulumi.OutputState }

func (StatefulSetArrayOutput) ElementType

func (StatefulSetArrayOutput) ElementType() reflect.Type

func (StatefulSetArrayOutput) Index

func (StatefulSetArrayOutput) ToStatefulSetArrayOutput

func (o StatefulSetArrayOutput) ToStatefulSetArrayOutput() StatefulSetArrayOutput

func (StatefulSetArrayOutput) ToStatefulSetArrayOutputWithContext

func (o StatefulSetArrayOutput) ToStatefulSetArrayOutputWithContext(ctx context.Context) StatefulSetArrayOutput

type StatefulSetCondition

type StatefulSetCondition struct {
	// Last time the condition transitioned from one status to another.
	LastTransitionTime *string `pulumi:"lastTransitionTime"`
	// A human readable message indicating details about the transition.
	Message *string `pulumi:"message"`
	// The reason for the condition's last transition.
	Reason *string `pulumi:"reason"`
	// Status of the condition, one of True, False, Unknown.
	Status string `pulumi:"status"`
	// Type of statefulset condition.
	Type string `pulumi:"type"`
}

StatefulSetCondition describes the state of a statefulset at a certain point.

type StatefulSetConditionArgs

type StatefulSetConditionArgs struct {
	// Last time the condition transitioned from one status to another.
	LastTransitionTime pulumi.StringPtrInput `pulumi:"lastTransitionTime"`
	// A human readable message indicating details about the transition.
	Message pulumi.StringPtrInput `pulumi:"message"`
	// The reason for the condition's last transition.
	Reason pulumi.StringPtrInput `pulumi:"reason"`
	// Status of the condition, one of True, False, Unknown.
	Status pulumi.StringInput `pulumi:"status"`
	// Type of statefulset condition.
	Type pulumi.StringInput `pulumi:"type"`
}

StatefulSetCondition describes the state of a statefulset at a certain point.

func (StatefulSetConditionArgs) ElementType

func (StatefulSetConditionArgs) ElementType() reflect.Type

func (StatefulSetConditionArgs) ToStatefulSetConditionOutput

func (i StatefulSetConditionArgs) ToStatefulSetConditionOutput() StatefulSetConditionOutput

func (StatefulSetConditionArgs) ToStatefulSetConditionOutputWithContext

func (i StatefulSetConditionArgs) ToStatefulSetConditionOutputWithContext(ctx context.Context) StatefulSetConditionOutput

type StatefulSetConditionArray

type StatefulSetConditionArray []StatefulSetConditionInput

func (StatefulSetConditionArray) ElementType

func (StatefulSetConditionArray) ElementType() reflect.Type

func (StatefulSetConditionArray) ToStatefulSetConditionArrayOutput

func (i StatefulSetConditionArray) ToStatefulSetConditionArrayOutput() StatefulSetConditionArrayOutput

func (StatefulSetConditionArray) ToStatefulSetConditionArrayOutputWithContext

func (i StatefulSetConditionArray) ToStatefulSetConditionArrayOutputWithContext(ctx context.Context) StatefulSetConditionArrayOutput

type StatefulSetConditionArrayInput

type StatefulSetConditionArrayInput interface {
	pulumi.Input

	ToStatefulSetConditionArrayOutput() StatefulSetConditionArrayOutput
	ToStatefulSetConditionArrayOutputWithContext(context.Context) StatefulSetConditionArrayOutput
}

StatefulSetConditionArrayInput is an input type that accepts StatefulSetConditionArray and StatefulSetConditionArrayOutput values. You can construct a concrete instance of `StatefulSetConditionArrayInput` via:

StatefulSetConditionArray{ StatefulSetConditionArgs{...} }

type StatefulSetConditionArrayOutput

type StatefulSetConditionArrayOutput struct{ *pulumi.OutputState }

func (StatefulSetConditionArrayOutput) ElementType

func (StatefulSetConditionArrayOutput) Index

func (StatefulSetConditionArrayOutput) ToStatefulSetConditionArrayOutput

func (o StatefulSetConditionArrayOutput) ToStatefulSetConditionArrayOutput() StatefulSetConditionArrayOutput

func (StatefulSetConditionArrayOutput) ToStatefulSetConditionArrayOutputWithContext

func (o StatefulSetConditionArrayOutput) ToStatefulSetConditionArrayOutputWithContext(ctx context.Context) StatefulSetConditionArrayOutput

type StatefulSetConditionInput

type StatefulSetConditionInput interface {
	pulumi.Input

	ToStatefulSetConditionOutput() StatefulSetConditionOutput
	ToStatefulSetConditionOutputWithContext(context.Context) StatefulSetConditionOutput
}

StatefulSetConditionInput is an input type that accepts StatefulSetConditionArgs and StatefulSetConditionOutput values. You can construct a concrete instance of `StatefulSetConditionInput` via:

StatefulSetConditionArgs{...}

type StatefulSetConditionOutput

type StatefulSetConditionOutput struct{ *pulumi.OutputState }

StatefulSetCondition describes the state of a statefulset at a certain point.

func (StatefulSetConditionOutput) ElementType

func (StatefulSetConditionOutput) ElementType() reflect.Type

func (StatefulSetConditionOutput) LastTransitionTime

func (o StatefulSetConditionOutput) LastTransitionTime() pulumi.StringPtrOutput

Last time the condition transitioned from one status to another.

func (StatefulSetConditionOutput) Message

A human readable message indicating details about the transition.

func (StatefulSetConditionOutput) Reason

The reason for the condition's last transition.

func (StatefulSetConditionOutput) Status

Status of the condition, one of True, False, Unknown.

func (StatefulSetConditionOutput) ToStatefulSetConditionOutput

func (o StatefulSetConditionOutput) ToStatefulSetConditionOutput() StatefulSetConditionOutput

func (StatefulSetConditionOutput) ToStatefulSetConditionOutputWithContext

func (o StatefulSetConditionOutput) ToStatefulSetConditionOutputWithContext(ctx context.Context) StatefulSetConditionOutput

func (StatefulSetConditionOutput) Type

Type of statefulset condition.

type StatefulSetConditionPatch added in v3.20.0

type StatefulSetConditionPatch struct {
	// Last time the condition transitioned from one status to another.
	LastTransitionTime *string `pulumi:"lastTransitionTime"`
	// A human readable message indicating details about the transition.
	Message *string `pulumi:"message"`
	// The reason for the condition's last transition.
	Reason *string `pulumi:"reason"`
	// Status of the condition, one of True, False, Unknown.
	Status *string `pulumi:"status"`
	// Type of statefulset condition.
	Type *string `pulumi:"type"`
}

StatefulSetCondition describes the state of a statefulset at a certain point.

type StatefulSetConditionPatchArgs added in v3.20.0

type StatefulSetConditionPatchArgs struct {
	// Last time the condition transitioned from one status to another.
	LastTransitionTime pulumi.StringPtrInput `pulumi:"lastTransitionTime"`
	// A human readable message indicating details about the transition.
	Message pulumi.StringPtrInput `pulumi:"message"`
	// The reason for the condition's last transition.
	Reason pulumi.StringPtrInput `pulumi:"reason"`
	// Status of the condition, one of True, False, Unknown.
	Status pulumi.StringPtrInput `pulumi:"status"`
	// Type of statefulset condition.
	Type pulumi.StringPtrInput `pulumi:"type"`
}

StatefulSetCondition describes the state of a statefulset at a certain point.

func (StatefulSetConditionPatchArgs) ElementType added in v3.20.0

func (StatefulSetConditionPatchArgs) ToStatefulSetConditionPatchOutput added in v3.20.0

func (i StatefulSetConditionPatchArgs) ToStatefulSetConditionPatchOutput() StatefulSetConditionPatchOutput

func (StatefulSetConditionPatchArgs) ToStatefulSetConditionPatchOutputWithContext added in v3.20.0

func (i StatefulSetConditionPatchArgs) ToStatefulSetConditionPatchOutputWithContext(ctx context.Context) StatefulSetConditionPatchOutput

type StatefulSetConditionPatchArray added in v3.20.0

type StatefulSetConditionPatchArray []StatefulSetConditionPatchInput

func (StatefulSetConditionPatchArray) ElementType added in v3.20.0

func (StatefulSetConditionPatchArray) ToStatefulSetConditionPatchArrayOutput added in v3.20.0

func (i StatefulSetConditionPatchArray) ToStatefulSetConditionPatchArrayOutput() StatefulSetConditionPatchArrayOutput

func (StatefulSetConditionPatchArray) ToStatefulSetConditionPatchArrayOutputWithContext added in v3.20.0

func (i StatefulSetConditionPatchArray) ToStatefulSetConditionPatchArrayOutputWithContext(ctx context.Context) StatefulSetConditionPatchArrayOutput

type StatefulSetConditionPatchArrayInput added in v3.20.0

type StatefulSetConditionPatchArrayInput interface {
	pulumi.Input

	ToStatefulSetConditionPatchArrayOutput() StatefulSetConditionPatchArrayOutput
	ToStatefulSetConditionPatchArrayOutputWithContext(context.Context) StatefulSetConditionPatchArrayOutput
}

StatefulSetConditionPatchArrayInput is an input type that accepts StatefulSetConditionPatchArray and StatefulSetConditionPatchArrayOutput values. You can construct a concrete instance of `StatefulSetConditionPatchArrayInput` via:

StatefulSetConditionPatchArray{ StatefulSetConditionPatchArgs{...} }

type StatefulSetConditionPatchArrayOutput added in v3.20.0

type StatefulSetConditionPatchArrayOutput struct{ *pulumi.OutputState }

func (StatefulSetConditionPatchArrayOutput) ElementType added in v3.20.0

func (StatefulSetConditionPatchArrayOutput) Index added in v3.20.0

func (StatefulSetConditionPatchArrayOutput) ToStatefulSetConditionPatchArrayOutput added in v3.20.0

func (o StatefulSetConditionPatchArrayOutput) ToStatefulSetConditionPatchArrayOutput() StatefulSetConditionPatchArrayOutput

func (StatefulSetConditionPatchArrayOutput) ToStatefulSetConditionPatchArrayOutputWithContext added in v3.20.0

func (o StatefulSetConditionPatchArrayOutput) ToStatefulSetConditionPatchArrayOutputWithContext(ctx context.Context) StatefulSetConditionPatchArrayOutput

type StatefulSetConditionPatchInput added in v3.20.0

type StatefulSetConditionPatchInput interface {
	pulumi.Input

	ToStatefulSetConditionPatchOutput() StatefulSetConditionPatchOutput
	ToStatefulSetConditionPatchOutputWithContext(context.Context) StatefulSetConditionPatchOutput
}

StatefulSetConditionPatchInput is an input type that accepts StatefulSetConditionPatchArgs and StatefulSetConditionPatchOutput values. You can construct a concrete instance of `StatefulSetConditionPatchInput` via:

StatefulSetConditionPatchArgs{...}

type StatefulSetConditionPatchOutput added in v3.20.0

type StatefulSetConditionPatchOutput struct{ *pulumi.OutputState }

StatefulSetCondition describes the state of a statefulset at a certain point.

func (StatefulSetConditionPatchOutput) ElementType added in v3.20.0

func (StatefulSetConditionPatchOutput) LastTransitionTime added in v3.20.0

Last time the condition transitioned from one status to another.

func (StatefulSetConditionPatchOutput) Message added in v3.20.0

A human readable message indicating details about the transition.

func (StatefulSetConditionPatchOutput) Reason added in v3.20.0

The reason for the condition's last transition.

func (StatefulSetConditionPatchOutput) Status added in v3.20.0

Status of the condition, one of True, False, Unknown.

func (StatefulSetConditionPatchOutput) ToStatefulSetConditionPatchOutput added in v3.20.0

func (o StatefulSetConditionPatchOutput) ToStatefulSetConditionPatchOutput() StatefulSetConditionPatchOutput

func (StatefulSetConditionPatchOutput) ToStatefulSetConditionPatchOutputWithContext added in v3.20.0

func (o StatefulSetConditionPatchOutput) ToStatefulSetConditionPatchOutputWithContext(ctx context.Context) StatefulSetConditionPatchOutput

func (StatefulSetConditionPatchOutput) Type added in v3.20.0

Type of statefulset condition.

type StatefulSetInput

type StatefulSetInput interface {
	pulumi.Input

	ToStatefulSetOutput() StatefulSetOutput
	ToStatefulSetOutputWithContext(ctx context.Context) StatefulSetOutput
}

type StatefulSetList

type StatefulSetList struct {
	pulumi.CustomResourceState

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion pulumi.StringPtrOutput     `pulumi:"apiVersion"`
	Items      StatefulSetTypeArrayOutput `pulumi:"items"`
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind     pulumi.StringPtrOutput   `pulumi:"kind"`
	Metadata metav1.ListMetaPtrOutput `pulumi:"metadata"`
}

StatefulSetList is a collection of StatefulSets.

func GetStatefulSetList

func GetStatefulSetList(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *StatefulSetListState, opts ...pulumi.ResourceOption) (*StatefulSetList, error)

GetStatefulSetList gets an existing StatefulSetList resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewStatefulSetList

func NewStatefulSetList(ctx *pulumi.Context,
	name string, args *StatefulSetListArgs, opts ...pulumi.ResourceOption) (*StatefulSetList, error)

NewStatefulSetList registers a new resource with the given unique name, arguments, and options.

func (*StatefulSetList) ElementType

func (*StatefulSetList) ElementType() reflect.Type

func (*StatefulSetList) ToStatefulSetListOutput

func (i *StatefulSetList) ToStatefulSetListOutput() StatefulSetListOutput

func (*StatefulSetList) ToStatefulSetListOutputWithContext

func (i *StatefulSetList) ToStatefulSetListOutputWithContext(ctx context.Context) StatefulSetListOutput

type StatefulSetListArgs

type StatefulSetListArgs struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion pulumi.StringPtrInput
	Items      StatefulSetTypeArrayInput
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind     pulumi.StringPtrInput
	Metadata metav1.ListMetaPtrInput
}

The set of arguments for constructing a StatefulSetList resource.

func (StatefulSetListArgs) ElementType

func (StatefulSetListArgs) ElementType() reflect.Type

type StatefulSetListArray

type StatefulSetListArray []StatefulSetListInput

func (StatefulSetListArray) ElementType

func (StatefulSetListArray) ElementType() reflect.Type

func (StatefulSetListArray) ToStatefulSetListArrayOutput

func (i StatefulSetListArray) ToStatefulSetListArrayOutput() StatefulSetListArrayOutput

func (StatefulSetListArray) ToStatefulSetListArrayOutputWithContext

func (i StatefulSetListArray) ToStatefulSetListArrayOutputWithContext(ctx context.Context) StatefulSetListArrayOutput

type StatefulSetListArrayInput

type StatefulSetListArrayInput interface {
	pulumi.Input

	ToStatefulSetListArrayOutput() StatefulSetListArrayOutput
	ToStatefulSetListArrayOutputWithContext(context.Context) StatefulSetListArrayOutput
}

StatefulSetListArrayInput is an input type that accepts StatefulSetListArray and StatefulSetListArrayOutput values. You can construct a concrete instance of `StatefulSetListArrayInput` via:

StatefulSetListArray{ StatefulSetListArgs{...} }

type StatefulSetListArrayOutput

type StatefulSetListArrayOutput struct{ *pulumi.OutputState }

func (StatefulSetListArrayOutput) ElementType

func (StatefulSetListArrayOutput) ElementType() reflect.Type

func (StatefulSetListArrayOutput) Index

func (StatefulSetListArrayOutput) ToStatefulSetListArrayOutput

func (o StatefulSetListArrayOutput) ToStatefulSetListArrayOutput() StatefulSetListArrayOutput

func (StatefulSetListArrayOutput) ToStatefulSetListArrayOutputWithContext

func (o StatefulSetListArrayOutput) ToStatefulSetListArrayOutputWithContext(ctx context.Context) StatefulSetListArrayOutput

type StatefulSetListInput

type StatefulSetListInput interface {
	pulumi.Input

	ToStatefulSetListOutput() StatefulSetListOutput
	ToStatefulSetListOutputWithContext(ctx context.Context) StatefulSetListOutput
}

type StatefulSetListMap

type StatefulSetListMap map[string]StatefulSetListInput

func (StatefulSetListMap) ElementType

func (StatefulSetListMap) ElementType() reflect.Type

func (StatefulSetListMap) ToStatefulSetListMapOutput

func (i StatefulSetListMap) ToStatefulSetListMapOutput() StatefulSetListMapOutput

func (StatefulSetListMap) ToStatefulSetListMapOutputWithContext

func (i StatefulSetListMap) ToStatefulSetListMapOutputWithContext(ctx context.Context) StatefulSetListMapOutput

type StatefulSetListMapInput

type StatefulSetListMapInput interface {
	pulumi.Input

	ToStatefulSetListMapOutput() StatefulSetListMapOutput
	ToStatefulSetListMapOutputWithContext(context.Context) StatefulSetListMapOutput
}

StatefulSetListMapInput is an input type that accepts StatefulSetListMap and StatefulSetListMapOutput values. You can construct a concrete instance of `StatefulSetListMapInput` via:

StatefulSetListMap{ "key": StatefulSetListArgs{...} }

type StatefulSetListMapOutput

type StatefulSetListMapOutput struct{ *pulumi.OutputState }

func (StatefulSetListMapOutput) ElementType

func (StatefulSetListMapOutput) ElementType() reflect.Type

func (StatefulSetListMapOutput) MapIndex

func (StatefulSetListMapOutput) ToStatefulSetListMapOutput

func (o StatefulSetListMapOutput) ToStatefulSetListMapOutput() StatefulSetListMapOutput

func (StatefulSetListMapOutput) ToStatefulSetListMapOutputWithContext

func (o StatefulSetListMapOutput) ToStatefulSetListMapOutputWithContext(ctx context.Context) StatefulSetListMapOutput

type StatefulSetListOutput

type StatefulSetListOutput struct{ *pulumi.OutputState }

func (StatefulSetListOutput) ApiVersion added in v3.19.1

APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources

func (StatefulSetListOutput) ElementType

func (StatefulSetListOutput) ElementType() reflect.Type

func (StatefulSetListOutput) Items added in v3.19.1

func (StatefulSetListOutput) Kind added in v3.19.1

Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

func (StatefulSetListOutput) Metadata added in v3.19.1

func (StatefulSetListOutput) ToStatefulSetListOutput

func (o StatefulSetListOutput) ToStatefulSetListOutput() StatefulSetListOutput

func (StatefulSetListOutput) ToStatefulSetListOutputWithContext

func (o StatefulSetListOutput) ToStatefulSetListOutputWithContext(ctx context.Context) StatefulSetListOutput

type StatefulSetListState

type StatefulSetListState struct {
}

func (StatefulSetListState) ElementType

func (StatefulSetListState) ElementType() reflect.Type

type StatefulSetListType

type StatefulSetListType struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion *string           `pulumi:"apiVersion"`
	Items      []StatefulSetType `pulumi:"items"`
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind     *string          `pulumi:"kind"`
	Metadata *metav1.ListMeta `pulumi:"metadata"`
}

StatefulSetList is a collection of StatefulSets.

type StatefulSetListTypeArgs

type StatefulSetListTypeArgs struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion pulumi.StringPtrInput     `pulumi:"apiVersion"`
	Items      StatefulSetTypeArrayInput `pulumi:"items"`
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind     pulumi.StringPtrInput   `pulumi:"kind"`
	Metadata metav1.ListMetaPtrInput `pulumi:"metadata"`
}

StatefulSetList is a collection of StatefulSets.

func (StatefulSetListTypeArgs) ElementType

func (StatefulSetListTypeArgs) ElementType() reflect.Type

func (StatefulSetListTypeArgs) ToStatefulSetListTypeOutput

func (i StatefulSetListTypeArgs) ToStatefulSetListTypeOutput() StatefulSetListTypeOutput

func (StatefulSetListTypeArgs) ToStatefulSetListTypeOutputWithContext

func (i StatefulSetListTypeArgs) ToStatefulSetListTypeOutputWithContext(ctx context.Context) StatefulSetListTypeOutput

type StatefulSetListTypeInput

type StatefulSetListTypeInput interface {
	pulumi.Input

	ToStatefulSetListTypeOutput() StatefulSetListTypeOutput
	ToStatefulSetListTypeOutputWithContext(context.Context) StatefulSetListTypeOutput
}

StatefulSetListTypeInput is an input type that accepts StatefulSetListTypeArgs and StatefulSetListTypeOutput values. You can construct a concrete instance of `StatefulSetListTypeInput` via:

StatefulSetListTypeArgs{...}

type StatefulSetListTypeOutput

type StatefulSetListTypeOutput struct{ *pulumi.OutputState }

StatefulSetList is a collection of StatefulSets.

func (StatefulSetListTypeOutput) ApiVersion

APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources

func (StatefulSetListTypeOutput) ElementType

func (StatefulSetListTypeOutput) ElementType() reflect.Type

func (StatefulSetListTypeOutput) Items

func (StatefulSetListTypeOutput) Kind

Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

func (StatefulSetListTypeOutput) Metadata

func (StatefulSetListTypeOutput) ToStatefulSetListTypeOutput

func (o StatefulSetListTypeOutput) ToStatefulSetListTypeOutput() StatefulSetListTypeOutput

func (StatefulSetListTypeOutput) ToStatefulSetListTypeOutputWithContext

func (o StatefulSetListTypeOutput) ToStatefulSetListTypeOutputWithContext(ctx context.Context) StatefulSetListTypeOutput

type StatefulSetMap

type StatefulSetMap map[string]StatefulSetInput

func (StatefulSetMap) ElementType

func (StatefulSetMap) ElementType() reflect.Type

func (StatefulSetMap) ToStatefulSetMapOutput

func (i StatefulSetMap) ToStatefulSetMapOutput() StatefulSetMapOutput

func (StatefulSetMap) ToStatefulSetMapOutputWithContext

func (i StatefulSetMap) ToStatefulSetMapOutputWithContext(ctx context.Context) StatefulSetMapOutput

type StatefulSetMapInput

type StatefulSetMapInput interface {
	pulumi.Input

	ToStatefulSetMapOutput() StatefulSetMapOutput
	ToStatefulSetMapOutputWithContext(context.Context) StatefulSetMapOutput
}

StatefulSetMapInput is an input type that accepts StatefulSetMap and StatefulSetMapOutput values. You can construct a concrete instance of `StatefulSetMapInput` via:

StatefulSetMap{ "key": StatefulSetArgs{...} }

type StatefulSetMapOutput

type StatefulSetMapOutput struct{ *pulumi.OutputState }

func (StatefulSetMapOutput) ElementType

func (StatefulSetMapOutput) ElementType() reflect.Type

func (StatefulSetMapOutput) MapIndex

func (StatefulSetMapOutput) ToStatefulSetMapOutput

func (o StatefulSetMapOutput) ToStatefulSetMapOutput() StatefulSetMapOutput

func (StatefulSetMapOutput) ToStatefulSetMapOutputWithContext

func (o StatefulSetMapOutput) ToStatefulSetMapOutputWithContext(ctx context.Context) StatefulSetMapOutput

type StatefulSetOutput

type StatefulSetOutput struct{ *pulumi.OutputState }

func (StatefulSetOutput) ApiVersion added in v3.19.1

func (o StatefulSetOutput) ApiVersion() pulumi.StringPtrOutput

APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources

func (StatefulSetOutput) ElementType

func (StatefulSetOutput) ElementType() reflect.Type

func (StatefulSetOutput) Kind added in v3.19.1

Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

func (StatefulSetOutput) Metadata added in v3.19.1

func (StatefulSetOutput) Spec added in v3.19.1

Spec defines the desired identities of pods in this set.

func (StatefulSetOutput) Status added in v3.19.1

Status is the current status of Pods in this StatefulSet. This data may be out of date by some window of time.

func (StatefulSetOutput) ToStatefulSetOutput

func (o StatefulSetOutput) ToStatefulSetOutput() StatefulSetOutput

func (StatefulSetOutput) ToStatefulSetOutputWithContext

func (o StatefulSetOutput) ToStatefulSetOutputWithContext(ctx context.Context) StatefulSetOutput

type StatefulSetPatch deprecated added in v3.20.0

type StatefulSetPatch struct {
	pulumi.CustomResourceState

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion pulumi.StringPtrOutput `pulumi:"apiVersion"`
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind     pulumi.StringPtrOutput          `pulumi:"kind"`
	Metadata metav1.ObjectMetaPatchPtrOutput `pulumi:"metadata"`
	// Spec defines the desired identities of pods in this set.
	Spec StatefulSetSpecPatchPtrOutput `pulumi:"spec"`
	// Status is the current status of Pods in this StatefulSet. This data may be out of date by some window of time.
	Status StatefulSetStatusPatchPtrOutput `pulumi:"status"`
}

Patch resources are used to modify existing Kubernetes resources by using Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the [Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi. StatefulSet represents a set of pods with consistent identities. Identities are defined as:

  • Network: A single stable DNS and hostname.
  • Storage: As many VolumeClaims as requested. The StatefulSet guarantees that a given network identity will always map to the same storage identity.

This resource waits until its status is ready before registering success for create/update, and populating output properties from the current state of the resource. The following conditions are used to determine whether the resource creation has succeeded or failed:

  1. The value of 'spec.replicas' matches '.status.replicas', '.status.currentReplicas', and '.status.readyReplicas'.
  2. The value of '.status.updateRevision' matches '.status.currentRevision'.

If the StatefulSet has not reached a Ready state after 10 minutes, it will time out and mark the resource update as Failed. You can override the default timeout value by setting the 'customTimeouts' option on the resource.

Deprecated: apps/v1beta1/StatefulSet is deprecated by apps/v1/StatefulSet and not supported by Kubernetes v1.16+ clusters.

func GetStatefulSetPatch added in v3.20.0

func GetStatefulSetPatch(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *StatefulSetPatchState, opts ...pulumi.ResourceOption) (*StatefulSetPatch, error)

GetStatefulSetPatch gets an existing StatefulSetPatch resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewStatefulSetPatch added in v3.20.0

func NewStatefulSetPatch(ctx *pulumi.Context,
	name string, args *StatefulSetPatchArgs, opts ...pulumi.ResourceOption) (*StatefulSetPatch, error)

NewStatefulSetPatch registers a new resource with the given unique name, arguments, and options.

func (*StatefulSetPatch) ElementType added in v3.20.0

func (*StatefulSetPatch) ElementType() reflect.Type

func (*StatefulSetPatch) ToStatefulSetPatchOutput added in v3.20.0

func (i *StatefulSetPatch) ToStatefulSetPatchOutput() StatefulSetPatchOutput

func (*StatefulSetPatch) ToStatefulSetPatchOutputWithContext added in v3.20.0

func (i *StatefulSetPatch) ToStatefulSetPatchOutputWithContext(ctx context.Context) StatefulSetPatchOutput

type StatefulSetPatchArgs added in v3.20.0

type StatefulSetPatchArgs struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion pulumi.StringPtrInput
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind     pulumi.StringPtrInput
	Metadata metav1.ObjectMetaPatchPtrInput
	// Spec defines the desired identities of pods in this set.
	Spec StatefulSetSpecPatchPtrInput
}

The set of arguments for constructing a StatefulSetPatch resource.

func (StatefulSetPatchArgs) ElementType added in v3.20.0

func (StatefulSetPatchArgs) ElementType() reflect.Type

type StatefulSetPatchArray added in v3.20.0

type StatefulSetPatchArray []StatefulSetPatchInput

func (StatefulSetPatchArray) ElementType added in v3.20.0

func (StatefulSetPatchArray) ElementType() reflect.Type

func (StatefulSetPatchArray) ToStatefulSetPatchArrayOutput added in v3.20.0

func (i StatefulSetPatchArray) ToStatefulSetPatchArrayOutput() StatefulSetPatchArrayOutput

func (StatefulSetPatchArray) ToStatefulSetPatchArrayOutputWithContext added in v3.20.0

func (i StatefulSetPatchArray) ToStatefulSetPatchArrayOutputWithContext(ctx context.Context) StatefulSetPatchArrayOutput

type StatefulSetPatchArrayInput added in v3.20.0

type StatefulSetPatchArrayInput interface {
	pulumi.Input

	ToStatefulSetPatchArrayOutput() StatefulSetPatchArrayOutput
	ToStatefulSetPatchArrayOutputWithContext(context.Context) StatefulSetPatchArrayOutput
}

StatefulSetPatchArrayInput is an input type that accepts StatefulSetPatchArray and StatefulSetPatchArrayOutput values. You can construct a concrete instance of `StatefulSetPatchArrayInput` via:

StatefulSetPatchArray{ StatefulSetPatchArgs{...} }

type StatefulSetPatchArrayOutput added in v3.20.0

type StatefulSetPatchArrayOutput struct{ *pulumi.OutputState }

func (StatefulSetPatchArrayOutput) ElementType added in v3.20.0

func (StatefulSetPatchArrayOutput) Index added in v3.20.0

func (StatefulSetPatchArrayOutput) ToStatefulSetPatchArrayOutput added in v3.20.0

func (o StatefulSetPatchArrayOutput) ToStatefulSetPatchArrayOutput() StatefulSetPatchArrayOutput

func (StatefulSetPatchArrayOutput) ToStatefulSetPatchArrayOutputWithContext added in v3.20.0

func (o StatefulSetPatchArrayOutput) ToStatefulSetPatchArrayOutputWithContext(ctx context.Context) StatefulSetPatchArrayOutput

type StatefulSetPatchInput added in v3.20.0

type StatefulSetPatchInput interface {
	pulumi.Input

	ToStatefulSetPatchOutput() StatefulSetPatchOutput
	ToStatefulSetPatchOutputWithContext(ctx context.Context) StatefulSetPatchOutput
}

type StatefulSetPatchMap added in v3.20.0

type StatefulSetPatchMap map[string]StatefulSetPatchInput

func (StatefulSetPatchMap) ElementType added in v3.20.0

func (StatefulSetPatchMap) ElementType() reflect.Type

func (StatefulSetPatchMap) ToStatefulSetPatchMapOutput added in v3.20.0

func (i StatefulSetPatchMap) ToStatefulSetPatchMapOutput() StatefulSetPatchMapOutput

func (StatefulSetPatchMap) ToStatefulSetPatchMapOutputWithContext added in v3.20.0

func (i StatefulSetPatchMap) ToStatefulSetPatchMapOutputWithContext(ctx context.Context) StatefulSetPatchMapOutput

type StatefulSetPatchMapInput added in v3.20.0

type StatefulSetPatchMapInput interface {
	pulumi.Input

	ToStatefulSetPatchMapOutput() StatefulSetPatchMapOutput
	ToStatefulSetPatchMapOutputWithContext(context.Context) StatefulSetPatchMapOutput
}

StatefulSetPatchMapInput is an input type that accepts StatefulSetPatchMap and StatefulSetPatchMapOutput values. You can construct a concrete instance of `StatefulSetPatchMapInput` via:

StatefulSetPatchMap{ "key": StatefulSetPatchArgs{...} }

type StatefulSetPatchMapOutput added in v3.20.0

type StatefulSetPatchMapOutput struct{ *pulumi.OutputState }

func (StatefulSetPatchMapOutput) ElementType added in v3.20.0

func (StatefulSetPatchMapOutput) ElementType() reflect.Type

func (StatefulSetPatchMapOutput) MapIndex added in v3.20.0

func (StatefulSetPatchMapOutput) ToStatefulSetPatchMapOutput added in v3.20.0

func (o StatefulSetPatchMapOutput) ToStatefulSetPatchMapOutput() StatefulSetPatchMapOutput

func (StatefulSetPatchMapOutput) ToStatefulSetPatchMapOutputWithContext added in v3.20.0

func (o StatefulSetPatchMapOutput) ToStatefulSetPatchMapOutputWithContext(ctx context.Context) StatefulSetPatchMapOutput

type StatefulSetPatchOutput added in v3.20.0

type StatefulSetPatchOutput struct{ *pulumi.OutputState }

func (StatefulSetPatchOutput) ApiVersion added in v3.20.0

APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources

func (StatefulSetPatchOutput) ElementType added in v3.20.0

func (StatefulSetPatchOutput) ElementType() reflect.Type

func (StatefulSetPatchOutput) Kind added in v3.20.0

Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

func (StatefulSetPatchOutput) Metadata added in v3.20.0

func (StatefulSetPatchOutput) Spec added in v3.20.0

Spec defines the desired identities of pods in this set.

func (StatefulSetPatchOutput) Status added in v3.20.0

Status is the current status of Pods in this StatefulSet. This data may be out of date by some window of time.

func (StatefulSetPatchOutput) ToStatefulSetPatchOutput added in v3.20.0

func (o StatefulSetPatchOutput) ToStatefulSetPatchOutput() StatefulSetPatchOutput

func (StatefulSetPatchOutput) ToStatefulSetPatchOutputWithContext added in v3.20.0

func (o StatefulSetPatchOutput) ToStatefulSetPatchOutputWithContext(ctx context.Context) StatefulSetPatchOutput

type StatefulSetPatchState added in v3.20.0

type StatefulSetPatchState struct {
}

func (StatefulSetPatchState) ElementType added in v3.20.0

func (StatefulSetPatchState) ElementType() reflect.Type

type StatefulSetPatchType added in v3.20.0

type StatefulSetPatchType struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion *string `pulumi:"apiVersion"`
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind     *string                 `pulumi:"kind"`
	Metadata *metav1.ObjectMetaPatch `pulumi:"metadata"`
	// Spec defines the desired identities of pods in this set.
	Spec *StatefulSetSpecPatch `pulumi:"spec"`
	// Status is the current status of Pods in this StatefulSet. This data may be out of date by some window of time.
	Status *StatefulSetStatusPatch `pulumi:"status"`
}

StatefulSet represents a set of pods with consistent identities. Identities are defined as:

  • Network: A single stable DNS and hostname.
  • Storage: As many VolumeClaims as requested. The StatefulSet guarantees that a given network identity will always map to the same storage identity.

This resource waits until its status is ready before registering success for create/update, and populating output properties from the current state of the resource. The following conditions are used to determine whether the resource creation has succeeded or failed:

  1. The value of 'spec.replicas' matches '.status.replicas', '.status.currentReplicas', and '.status.readyReplicas'.
  2. The value of '.status.updateRevision' matches '.status.currentRevision'.

If the StatefulSet has not reached a Ready state after 10 minutes, it will time out and mark the resource update as Failed. You can override the default timeout value by setting the 'customTimeouts' option on the resource.

type StatefulSetPatchTypeArgs added in v3.20.0

type StatefulSetPatchTypeArgs struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion pulumi.StringPtrInput `pulumi:"apiVersion"`
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind     pulumi.StringPtrInput          `pulumi:"kind"`
	Metadata metav1.ObjectMetaPatchPtrInput `pulumi:"metadata"`
	// Spec defines the desired identities of pods in this set.
	Spec StatefulSetSpecPatchPtrInput `pulumi:"spec"`
	// Status is the current status of Pods in this StatefulSet. This data may be out of date by some window of time.
	Status StatefulSetStatusPatchPtrInput `pulumi:"status"`
}

StatefulSet represents a set of pods with consistent identities. Identities are defined as:

  • Network: A single stable DNS and hostname.
  • Storage: As many VolumeClaims as requested. The StatefulSet guarantees that a given network identity will always map to the same storage identity.

This resource waits until its status is ready before registering success for create/update, and populating output properties from the current state of the resource. The following conditions are used to determine whether the resource creation has succeeded or failed:

  1. The value of 'spec.replicas' matches '.status.replicas', '.status.currentReplicas', and '.status.readyReplicas'.
  2. The value of '.status.updateRevision' matches '.status.currentRevision'.

If the StatefulSet has not reached a Ready state after 10 minutes, it will time out and mark the resource update as Failed. You can override the default timeout value by setting the 'customTimeouts' option on the resource.

func (StatefulSetPatchTypeArgs) ElementType added in v3.20.0

func (StatefulSetPatchTypeArgs) ElementType() reflect.Type

func (StatefulSetPatchTypeArgs) ToStatefulSetPatchTypeOutput added in v3.20.0

func (i StatefulSetPatchTypeArgs) ToStatefulSetPatchTypeOutput() StatefulSetPatchTypeOutput

func (StatefulSetPatchTypeArgs) ToStatefulSetPatchTypeOutputWithContext added in v3.20.0

func (i StatefulSetPatchTypeArgs) ToStatefulSetPatchTypeOutputWithContext(ctx context.Context) StatefulSetPatchTypeOutput

type StatefulSetPatchTypeInput added in v3.20.0

type StatefulSetPatchTypeInput interface {
	pulumi.Input

	ToStatefulSetPatchTypeOutput() StatefulSetPatchTypeOutput
	ToStatefulSetPatchTypeOutputWithContext(context.Context) StatefulSetPatchTypeOutput
}

StatefulSetPatchTypeInput is an input type that accepts StatefulSetPatchTypeArgs and StatefulSetPatchTypeOutput values. You can construct a concrete instance of `StatefulSetPatchTypeInput` via:

StatefulSetPatchTypeArgs{...}

type StatefulSetPatchTypeOutput added in v3.20.0

type StatefulSetPatchTypeOutput struct{ *pulumi.OutputState }

StatefulSet represents a set of pods with consistent identities. Identities are defined as:

  • Network: A single stable DNS and hostname.
  • Storage: As many VolumeClaims as requested. The StatefulSet guarantees that a given network identity will always map to the same storage identity.

This resource waits until its status is ready before registering success for create/update, and populating output properties from the current state of the resource. The following conditions are used to determine whether the resource creation has succeeded or failed:

  1. The value of 'spec.replicas' matches '.status.replicas', '.status.currentReplicas', and '.status.readyReplicas'.
  2. The value of '.status.updateRevision' matches '.status.currentRevision'.

If the StatefulSet has not reached a Ready state after 10 minutes, it will time out and mark the resource update as Failed. You can override the default timeout value by setting the 'customTimeouts' option on the resource.

func (StatefulSetPatchTypeOutput) ApiVersion added in v3.20.0

APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources

func (StatefulSetPatchTypeOutput) ElementType added in v3.20.0

func (StatefulSetPatchTypeOutput) ElementType() reflect.Type

func (StatefulSetPatchTypeOutput) Kind added in v3.20.0

Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

func (StatefulSetPatchTypeOutput) Metadata added in v3.20.0

func (StatefulSetPatchTypeOutput) Spec added in v3.20.0

Spec defines the desired identities of pods in this set.

func (StatefulSetPatchTypeOutput) Status added in v3.20.0

Status is the current status of Pods in this StatefulSet. This data may be out of date by some window of time.

func (StatefulSetPatchTypeOutput) ToStatefulSetPatchTypeOutput added in v3.20.0

func (o StatefulSetPatchTypeOutput) ToStatefulSetPatchTypeOutput() StatefulSetPatchTypeOutput

func (StatefulSetPatchTypeOutput) ToStatefulSetPatchTypeOutputWithContext added in v3.20.0

func (o StatefulSetPatchTypeOutput) ToStatefulSetPatchTypeOutputWithContext(ctx context.Context) StatefulSetPatchTypeOutput

type StatefulSetSpec

type StatefulSetSpec struct {
	// podManagementPolicy controls how pods are created during initial scale up, when replacing pods on nodes, or when scaling down. The default policy is `OrderedReady`, where pods are created in increasing order (pod-0, then pod-1, etc) and the controller will wait until each pod is ready before continuing. When scaling down, the pods are removed in the opposite order. The alternative policy is `Parallel` which will create pods in parallel to match the desired scale without waiting, and on scale down will delete all pods at once.
	PodManagementPolicy *string `pulumi:"podManagementPolicy"`
	// replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1.
	Replicas *int `pulumi:"replicas"`
	// revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10.
	RevisionHistoryLimit *int `pulumi:"revisionHistoryLimit"`
	// selector is a label query over pods that should match the replica count. If empty, defaulted to labels on the pod template. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors
	Selector *metav1.LabelSelector `pulumi:"selector"`
	// serviceName is the name of the service that governs this StatefulSet. This service must exist before the StatefulSet, and is responsible for the network identity of the set. Pods get DNS/hostnames that follow the pattern: pod-specific-string.serviceName.default.svc.cluster.local where "pod-specific-string" is managed by the StatefulSet controller.
	ServiceName string `pulumi:"serviceName"`
	// template is the object that describes the pod that will be created if insufficient replicas are detected. Each pod stamped out by the StatefulSet will fulfill this Template, but have a unique identity from the rest of the StatefulSet.
	Template corev1.PodTemplateSpec `pulumi:"template"`
	// updateStrategy indicates the StatefulSetUpdateStrategy that will be employed to update Pods in the StatefulSet when a revision is made to Template.
	UpdateStrategy *StatefulSetUpdateStrategy `pulumi:"updateStrategy"`
	// volumeClaimTemplates is a list of claims that pods are allowed to reference. The StatefulSet controller is responsible for mapping network identities to claims in a way that maintains the identity of a pod. Every claim in this list must have at least one matching (by name) volumeMount in one container in the template. A claim in this list takes precedence over any volumes in the template, with the same name.
	VolumeClaimTemplates []corev1.PersistentVolumeClaimType `pulumi:"volumeClaimTemplates"`
}

A StatefulSetSpec is the specification of a StatefulSet.

type StatefulSetSpecArgs

type StatefulSetSpecArgs struct {
	// podManagementPolicy controls how pods are created during initial scale up, when replacing pods on nodes, or when scaling down. The default policy is `OrderedReady`, where pods are created in increasing order (pod-0, then pod-1, etc) and the controller will wait until each pod is ready before continuing. When scaling down, the pods are removed in the opposite order. The alternative policy is `Parallel` which will create pods in parallel to match the desired scale without waiting, and on scale down will delete all pods at once.
	PodManagementPolicy pulumi.StringPtrInput `pulumi:"podManagementPolicy"`
	// replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1.
	Replicas pulumi.IntPtrInput `pulumi:"replicas"`
	// revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10.
	RevisionHistoryLimit pulumi.IntPtrInput `pulumi:"revisionHistoryLimit"`
	// selector is a label query over pods that should match the replica count. If empty, defaulted to labels on the pod template. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors
	Selector metav1.LabelSelectorPtrInput `pulumi:"selector"`
	// serviceName is the name of the service that governs this StatefulSet. This service must exist before the StatefulSet, and is responsible for the network identity of the set. Pods get DNS/hostnames that follow the pattern: pod-specific-string.serviceName.default.svc.cluster.local where "pod-specific-string" is managed by the StatefulSet controller.
	ServiceName pulumi.StringInput `pulumi:"serviceName"`
	// template is the object that describes the pod that will be created if insufficient replicas are detected. Each pod stamped out by the StatefulSet will fulfill this Template, but have a unique identity from the rest of the StatefulSet.
	Template corev1.PodTemplateSpecInput `pulumi:"template"`
	// updateStrategy indicates the StatefulSetUpdateStrategy that will be employed to update Pods in the StatefulSet when a revision is made to Template.
	UpdateStrategy StatefulSetUpdateStrategyPtrInput `pulumi:"updateStrategy"`
	// volumeClaimTemplates is a list of claims that pods are allowed to reference. The StatefulSet controller is responsible for mapping network identities to claims in a way that maintains the identity of a pod. Every claim in this list must have at least one matching (by name) volumeMount in one container in the template. A claim in this list takes precedence over any volumes in the template, with the same name.
	VolumeClaimTemplates corev1.PersistentVolumeClaimTypeArrayInput `pulumi:"volumeClaimTemplates"`
}

A StatefulSetSpec is the specification of a StatefulSet.

func (StatefulSetSpecArgs) ElementType

func (StatefulSetSpecArgs) ElementType() reflect.Type

func (StatefulSetSpecArgs) ToStatefulSetSpecOutput

func (i StatefulSetSpecArgs) ToStatefulSetSpecOutput() StatefulSetSpecOutput

func (StatefulSetSpecArgs) ToStatefulSetSpecOutputWithContext

func (i StatefulSetSpecArgs) ToStatefulSetSpecOutputWithContext(ctx context.Context) StatefulSetSpecOutput

func (StatefulSetSpecArgs) ToStatefulSetSpecPtrOutput

func (i StatefulSetSpecArgs) ToStatefulSetSpecPtrOutput() StatefulSetSpecPtrOutput

func (StatefulSetSpecArgs) ToStatefulSetSpecPtrOutputWithContext

func (i StatefulSetSpecArgs) ToStatefulSetSpecPtrOutputWithContext(ctx context.Context) StatefulSetSpecPtrOutput

type StatefulSetSpecInput

type StatefulSetSpecInput interface {
	pulumi.Input

	ToStatefulSetSpecOutput() StatefulSetSpecOutput
	ToStatefulSetSpecOutputWithContext(context.Context) StatefulSetSpecOutput
}

StatefulSetSpecInput is an input type that accepts StatefulSetSpecArgs and StatefulSetSpecOutput values. You can construct a concrete instance of `StatefulSetSpecInput` via:

StatefulSetSpecArgs{...}

type StatefulSetSpecOutput

type StatefulSetSpecOutput struct{ *pulumi.OutputState }

A StatefulSetSpec is the specification of a StatefulSet.

func (StatefulSetSpecOutput) ElementType

func (StatefulSetSpecOutput) ElementType() reflect.Type

func (StatefulSetSpecOutput) PodManagementPolicy

func (o StatefulSetSpecOutput) PodManagementPolicy() pulumi.StringPtrOutput

podManagementPolicy controls how pods are created during initial scale up, when replacing pods on nodes, or when scaling down. The default policy is `OrderedReady`, where pods are created in increasing order (pod-0, then pod-1, etc) and the controller will wait until each pod is ready before continuing. When scaling down, the pods are removed in the opposite order. The alternative policy is `Parallel` which will create pods in parallel to match the desired scale without waiting, and on scale down will delete all pods at once.

func (StatefulSetSpecOutput) Replicas

replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1.

func (StatefulSetSpecOutput) RevisionHistoryLimit

func (o StatefulSetSpecOutput) RevisionHistoryLimit() pulumi.IntPtrOutput

revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10.

func (StatefulSetSpecOutput) Selector

selector is a label query over pods that should match the replica count. If empty, defaulted to labels on the pod template. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors

func (StatefulSetSpecOutput) ServiceName

func (o StatefulSetSpecOutput) ServiceName() pulumi.StringOutput

serviceName is the name of the service that governs this StatefulSet. This service must exist before the StatefulSet, and is responsible for the network identity of the set. Pods get DNS/hostnames that follow the pattern: pod-specific-string.serviceName.default.svc.cluster.local where "pod-specific-string" is managed by the StatefulSet controller.

func (StatefulSetSpecOutput) Template

template is the object that describes the pod that will be created if insufficient replicas are detected. Each pod stamped out by the StatefulSet will fulfill this Template, but have a unique identity from the rest of the StatefulSet.

func (StatefulSetSpecOutput) ToStatefulSetSpecOutput

func (o StatefulSetSpecOutput) ToStatefulSetSpecOutput() StatefulSetSpecOutput

func (StatefulSetSpecOutput) ToStatefulSetSpecOutputWithContext

func (o StatefulSetSpecOutput) ToStatefulSetSpecOutputWithContext(ctx context.Context) StatefulSetSpecOutput

func (StatefulSetSpecOutput) ToStatefulSetSpecPtrOutput

func (o StatefulSetSpecOutput) ToStatefulSetSpecPtrOutput() StatefulSetSpecPtrOutput

func (StatefulSetSpecOutput) ToStatefulSetSpecPtrOutputWithContext

func (o StatefulSetSpecOutput) ToStatefulSetSpecPtrOutputWithContext(ctx context.Context) StatefulSetSpecPtrOutput

func (StatefulSetSpecOutput) UpdateStrategy

updateStrategy indicates the StatefulSetUpdateStrategy that will be employed to update Pods in the StatefulSet when a revision is made to Template.

func (StatefulSetSpecOutput) VolumeClaimTemplates

volumeClaimTemplates is a list of claims that pods are allowed to reference. The StatefulSet controller is responsible for mapping network identities to claims in a way that maintains the identity of a pod. Every claim in this list must have at least one matching (by name) volumeMount in one container in the template. A claim in this list takes precedence over any volumes in the template, with the same name.

type StatefulSetSpecPatch added in v3.20.0

type StatefulSetSpecPatch struct {
	// podManagementPolicy controls how pods are created during initial scale up, when replacing pods on nodes, or when scaling down. The default policy is `OrderedReady`, where pods are created in increasing order (pod-0, then pod-1, etc) and the controller will wait until each pod is ready before continuing. When scaling down, the pods are removed in the opposite order. The alternative policy is `Parallel` which will create pods in parallel to match the desired scale without waiting, and on scale down will delete all pods at once.
	PodManagementPolicy *string `pulumi:"podManagementPolicy"`
	// replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1.
	Replicas *int `pulumi:"replicas"`
	// revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10.
	RevisionHistoryLimit *int `pulumi:"revisionHistoryLimit"`
	// selector is a label query over pods that should match the replica count. If empty, defaulted to labels on the pod template. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors
	Selector *metav1.LabelSelectorPatch `pulumi:"selector"`
	// serviceName is the name of the service that governs this StatefulSet. This service must exist before the StatefulSet, and is responsible for the network identity of the set. Pods get DNS/hostnames that follow the pattern: pod-specific-string.serviceName.default.svc.cluster.local where "pod-specific-string" is managed by the StatefulSet controller.
	ServiceName *string `pulumi:"serviceName"`
	// template is the object that describes the pod that will be created if insufficient replicas are detected. Each pod stamped out by the StatefulSet will fulfill this Template, but have a unique identity from the rest of the StatefulSet.
	Template *corev1.PodTemplateSpecPatch `pulumi:"template"`
	// updateStrategy indicates the StatefulSetUpdateStrategy that will be employed to update Pods in the StatefulSet when a revision is made to Template.
	UpdateStrategy *StatefulSetUpdateStrategyPatch `pulumi:"updateStrategy"`
	// volumeClaimTemplates is a list of claims that pods are allowed to reference. The StatefulSet controller is responsible for mapping network identities to claims in a way that maintains the identity of a pod. Every claim in this list must have at least one matching (by name) volumeMount in one container in the template. A claim in this list takes precedence over any volumes in the template, with the same name.
	VolumeClaimTemplates []corev1.PersistentVolumeClaimPatchType `pulumi:"volumeClaimTemplates"`
}

A StatefulSetSpec is the specification of a StatefulSet.

type StatefulSetSpecPatchArgs added in v3.20.0

type StatefulSetSpecPatchArgs struct {
	// podManagementPolicy controls how pods are created during initial scale up, when replacing pods on nodes, or when scaling down. The default policy is `OrderedReady`, where pods are created in increasing order (pod-0, then pod-1, etc) and the controller will wait until each pod is ready before continuing. When scaling down, the pods are removed in the opposite order. The alternative policy is `Parallel` which will create pods in parallel to match the desired scale without waiting, and on scale down will delete all pods at once.
	PodManagementPolicy pulumi.StringPtrInput `pulumi:"podManagementPolicy"`
	// replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1.
	Replicas pulumi.IntPtrInput `pulumi:"replicas"`
	// revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10.
	RevisionHistoryLimit pulumi.IntPtrInput `pulumi:"revisionHistoryLimit"`
	// selector is a label query over pods that should match the replica count. If empty, defaulted to labels on the pod template. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors
	Selector metav1.LabelSelectorPatchPtrInput `pulumi:"selector"`
	// serviceName is the name of the service that governs this StatefulSet. This service must exist before the StatefulSet, and is responsible for the network identity of the set. Pods get DNS/hostnames that follow the pattern: pod-specific-string.serviceName.default.svc.cluster.local where "pod-specific-string" is managed by the StatefulSet controller.
	ServiceName pulumi.StringPtrInput `pulumi:"serviceName"`
	// template is the object that describes the pod that will be created if insufficient replicas are detected. Each pod stamped out by the StatefulSet will fulfill this Template, but have a unique identity from the rest of the StatefulSet.
	Template corev1.PodTemplateSpecPatchPtrInput `pulumi:"template"`
	// updateStrategy indicates the StatefulSetUpdateStrategy that will be employed to update Pods in the StatefulSet when a revision is made to Template.
	UpdateStrategy StatefulSetUpdateStrategyPatchPtrInput `pulumi:"updateStrategy"`
	// volumeClaimTemplates is a list of claims that pods are allowed to reference. The StatefulSet controller is responsible for mapping network identities to claims in a way that maintains the identity of a pod. Every claim in this list must have at least one matching (by name) volumeMount in one container in the template. A claim in this list takes precedence over any volumes in the template, with the same name.
	VolumeClaimTemplates corev1.PersistentVolumeClaimPatchTypeArrayInput `pulumi:"volumeClaimTemplates"`
}

A StatefulSetSpec is the specification of a StatefulSet.

func (StatefulSetSpecPatchArgs) ElementType added in v3.20.0

func (StatefulSetSpecPatchArgs) ElementType() reflect.Type

func (StatefulSetSpecPatchArgs) ToStatefulSetSpecPatchOutput added in v3.20.0

func (i StatefulSetSpecPatchArgs) ToStatefulSetSpecPatchOutput() StatefulSetSpecPatchOutput

func (StatefulSetSpecPatchArgs) ToStatefulSetSpecPatchOutputWithContext added in v3.20.0

func (i StatefulSetSpecPatchArgs) ToStatefulSetSpecPatchOutputWithContext(ctx context.Context) StatefulSetSpecPatchOutput

func (StatefulSetSpecPatchArgs) ToStatefulSetSpecPatchPtrOutput added in v3.20.0

func (i StatefulSetSpecPatchArgs) ToStatefulSetSpecPatchPtrOutput() StatefulSetSpecPatchPtrOutput

func (StatefulSetSpecPatchArgs) ToStatefulSetSpecPatchPtrOutputWithContext added in v3.20.0

func (i StatefulSetSpecPatchArgs) ToStatefulSetSpecPatchPtrOutputWithContext(ctx context.Context) StatefulSetSpecPatchPtrOutput

type StatefulSetSpecPatchInput added in v3.20.0

type StatefulSetSpecPatchInput interface {
	pulumi.Input

	ToStatefulSetSpecPatchOutput() StatefulSetSpecPatchOutput
	ToStatefulSetSpecPatchOutputWithContext(context.Context) StatefulSetSpecPatchOutput
}

StatefulSetSpecPatchInput is an input type that accepts StatefulSetSpecPatchArgs and StatefulSetSpecPatchOutput values. You can construct a concrete instance of `StatefulSetSpecPatchInput` via:

StatefulSetSpecPatchArgs{...}

type StatefulSetSpecPatchOutput added in v3.20.0

type StatefulSetSpecPatchOutput struct{ *pulumi.OutputState }

A StatefulSetSpec is the specification of a StatefulSet.

func (StatefulSetSpecPatchOutput) ElementType added in v3.20.0

func (StatefulSetSpecPatchOutput) ElementType() reflect.Type

func (StatefulSetSpecPatchOutput) PodManagementPolicy added in v3.20.0

func (o StatefulSetSpecPatchOutput) PodManagementPolicy() pulumi.StringPtrOutput

podManagementPolicy controls how pods are created during initial scale up, when replacing pods on nodes, or when scaling down. The default policy is `OrderedReady`, where pods are created in increasing order (pod-0, then pod-1, etc) and the controller will wait until each pod is ready before continuing. When scaling down, the pods are removed in the opposite order. The alternative policy is `Parallel` which will create pods in parallel to match the desired scale without waiting, and on scale down will delete all pods at once.

func (StatefulSetSpecPatchOutput) Replicas added in v3.20.0

replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1.

func (StatefulSetSpecPatchOutput) RevisionHistoryLimit added in v3.20.0

func (o StatefulSetSpecPatchOutput) RevisionHistoryLimit() pulumi.IntPtrOutput

revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10.

func (StatefulSetSpecPatchOutput) Selector added in v3.20.0

selector is a label query over pods that should match the replica count. If empty, defaulted to labels on the pod template. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors

func (StatefulSetSpecPatchOutput) ServiceName added in v3.20.0

serviceName is the name of the service that governs this StatefulSet. This service must exist before the StatefulSet, and is responsible for the network identity of the set. Pods get DNS/hostnames that follow the pattern: pod-specific-string.serviceName.default.svc.cluster.local where "pod-specific-string" is managed by the StatefulSet controller.

func (StatefulSetSpecPatchOutput) Template added in v3.20.0

template is the object that describes the pod that will be created if insufficient replicas are detected. Each pod stamped out by the StatefulSet will fulfill this Template, but have a unique identity from the rest of the StatefulSet.

func (StatefulSetSpecPatchOutput) ToStatefulSetSpecPatchOutput added in v3.20.0

func (o StatefulSetSpecPatchOutput) ToStatefulSetSpecPatchOutput() StatefulSetSpecPatchOutput

func (StatefulSetSpecPatchOutput) ToStatefulSetSpecPatchOutputWithContext added in v3.20.0

func (o StatefulSetSpecPatchOutput) ToStatefulSetSpecPatchOutputWithContext(ctx context.Context) StatefulSetSpecPatchOutput

func (StatefulSetSpecPatchOutput) ToStatefulSetSpecPatchPtrOutput added in v3.20.0

func (o StatefulSetSpecPatchOutput) ToStatefulSetSpecPatchPtrOutput() StatefulSetSpecPatchPtrOutput

func (StatefulSetSpecPatchOutput) ToStatefulSetSpecPatchPtrOutputWithContext added in v3.20.0

func (o StatefulSetSpecPatchOutput) ToStatefulSetSpecPatchPtrOutputWithContext(ctx context.Context) StatefulSetSpecPatchPtrOutput

func (StatefulSetSpecPatchOutput) UpdateStrategy added in v3.20.0

updateStrategy indicates the StatefulSetUpdateStrategy that will be employed to update Pods in the StatefulSet when a revision is made to Template.

func (StatefulSetSpecPatchOutput) VolumeClaimTemplates added in v3.20.0

volumeClaimTemplates is a list of claims that pods are allowed to reference. The StatefulSet controller is responsible for mapping network identities to claims in a way that maintains the identity of a pod. Every claim in this list must have at least one matching (by name) volumeMount in one container in the template. A claim in this list takes precedence over any volumes in the template, with the same name.

type StatefulSetSpecPatchPtrInput added in v3.20.0

type StatefulSetSpecPatchPtrInput interface {
	pulumi.Input

	ToStatefulSetSpecPatchPtrOutput() StatefulSetSpecPatchPtrOutput
	ToStatefulSetSpecPatchPtrOutputWithContext(context.Context) StatefulSetSpecPatchPtrOutput
}

StatefulSetSpecPatchPtrInput is an input type that accepts StatefulSetSpecPatchArgs, StatefulSetSpecPatchPtr and StatefulSetSpecPatchPtrOutput values. You can construct a concrete instance of `StatefulSetSpecPatchPtrInput` via:

        StatefulSetSpecPatchArgs{...}

or:

        nil

func StatefulSetSpecPatchPtr added in v3.20.0

func StatefulSetSpecPatchPtr(v *StatefulSetSpecPatchArgs) StatefulSetSpecPatchPtrInput

type StatefulSetSpecPatchPtrOutput added in v3.20.0

type StatefulSetSpecPatchPtrOutput struct{ *pulumi.OutputState }

func (StatefulSetSpecPatchPtrOutput) Elem added in v3.20.0

func (StatefulSetSpecPatchPtrOutput) ElementType added in v3.20.0

func (StatefulSetSpecPatchPtrOutput) PodManagementPolicy added in v3.20.0

func (o StatefulSetSpecPatchPtrOutput) PodManagementPolicy() pulumi.StringPtrOutput

podManagementPolicy controls how pods are created during initial scale up, when replacing pods on nodes, or when scaling down. The default policy is `OrderedReady`, where pods are created in increasing order (pod-0, then pod-1, etc) and the controller will wait until each pod is ready before continuing. When scaling down, the pods are removed in the opposite order. The alternative policy is `Parallel` which will create pods in parallel to match the desired scale without waiting, and on scale down will delete all pods at once.

func (StatefulSetSpecPatchPtrOutput) Replicas added in v3.20.0

replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1.

func (StatefulSetSpecPatchPtrOutput) RevisionHistoryLimit added in v3.20.0

func (o StatefulSetSpecPatchPtrOutput) RevisionHistoryLimit() pulumi.IntPtrOutput

revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10.

func (StatefulSetSpecPatchPtrOutput) Selector added in v3.20.0

selector is a label query over pods that should match the replica count. If empty, defaulted to labels on the pod template. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors

func (StatefulSetSpecPatchPtrOutput) ServiceName added in v3.20.0

serviceName is the name of the service that governs this StatefulSet. This service must exist before the StatefulSet, and is responsible for the network identity of the set. Pods get DNS/hostnames that follow the pattern: pod-specific-string.serviceName.default.svc.cluster.local where "pod-specific-string" is managed by the StatefulSet controller.

func (StatefulSetSpecPatchPtrOutput) Template added in v3.20.0

template is the object that describes the pod that will be created if insufficient replicas are detected. Each pod stamped out by the StatefulSet will fulfill this Template, but have a unique identity from the rest of the StatefulSet.

func (StatefulSetSpecPatchPtrOutput) ToStatefulSetSpecPatchPtrOutput added in v3.20.0

func (o StatefulSetSpecPatchPtrOutput) ToStatefulSetSpecPatchPtrOutput() StatefulSetSpecPatchPtrOutput

func (StatefulSetSpecPatchPtrOutput) ToStatefulSetSpecPatchPtrOutputWithContext added in v3.20.0

func (o StatefulSetSpecPatchPtrOutput) ToStatefulSetSpecPatchPtrOutputWithContext(ctx context.Context) StatefulSetSpecPatchPtrOutput

func (StatefulSetSpecPatchPtrOutput) UpdateStrategy added in v3.20.0

updateStrategy indicates the StatefulSetUpdateStrategy that will be employed to update Pods in the StatefulSet when a revision is made to Template.

func (StatefulSetSpecPatchPtrOutput) VolumeClaimTemplates added in v3.20.0

volumeClaimTemplates is a list of claims that pods are allowed to reference. The StatefulSet controller is responsible for mapping network identities to claims in a way that maintains the identity of a pod. Every claim in this list must have at least one matching (by name) volumeMount in one container in the template. A claim in this list takes precedence over any volumes in the template, with the same name.

type StatefulSetSpecPtrInput

type StatefulSetSpecPtrInput interface {
	pulumi.Input

	ToStatefulSetSpecPtrOutput() StatefulSetSpecPtrOutput
	ToStatefulSetSpecPtrOutputWithContext(context.Context) StatefulSetSpecPtrOutput
}

StatefulSetSpecPtrInput is an input type that accepts StatefulSetSpecArgs, StatefulSetSpecPtr and StatefulSetSpecPtrOutput values. You can construct a concrete instance of `StatefulSetSpecPtrInput` via:

        StatefulSetSpecArgs{...}

or:

        nil

type StatefulSetSpecPtrOutput

type StatefulSetSpecPtrOutput struct{ *pulumi.OutputState }

func (StatefulSetSpecPtrOutput) Elem

func (StatefulSetSpecPtrOutput) ElementType

func (StatefulSetSpecPtrOutput) ElementType() reflect.Type

func (StatefulSetSpecPtrOutput) PodManagementPolicy

func (o StatefulSetSpecPtrOutput) PodManagementPolicy() pulumi.StringPtrOutput

podManagementPolicy controls how pods are created during initial scale up, when replacing pods on nodes, or when scaling down. The default policy is `OrderedReady`, where pods are created in increasing order (pod-0, then pod-1, etc) and the controller will wait until each pod is ready before continuing. When scaling down, the pods are removed in the opposite order. The alternative policy is `Parallel` which will create pods in parallel to match the desired scale without waiting, and on scale down will delete all pods at once.

func (StatefulSetSpecPtrOutput) Replicas

replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1.

func (StatefulSetSpecPtrOutput) RevisionHistoryLimit

func (o StatefulSetSpecPtrOutput) RevisionHistoryLimit() pulumi.IntPtrOutput

revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10.

func (StatefulSetSpecPtrOutput) Selector

selector is a label query over pods that should match the replica count. If empty, defaulted to labels on the pod template. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors

func (StatefulSetSpecPtrOutput) ServiceName

serviceName is the name of the service that governs this StatefulSet. This service must exist before the StatefulSet, and is responsible for the network identity of the set. Pods get DNS/hostnames that follow the pattern: pod-specific-string.serviceName.default.svc.cluster.local where "pod-specific-string" is managed by the StatefulSet controller.

func (StatefulSetSpecPtrOutput) Template

template is the object that describes the pod that will be created if insufficient replicas are detected. Each pod stamped out by the StatefulSet will fulfill this Template, but have a unique identity from the rest of the StatefulSet.

func (StatefulSetSpecPtrOutput) ToStatefulSetSpecPtrOutput

func (o StatefulSetSpecPtrOutput) ToStatefulSetSpecPtrOutput() StatefulSetSpecPtrOutput

func (StatefulSetSpecPtrOutput) ToStatefulSetSpecPtrOutputWithContext

func (o StatefulSetSpecPtrOutput) ToStatefulSetSpecPtrOutputWithContext(ctx context.Context) StatefulSetSpecPtrOutput

func (StatefulSetSpecPtrOutput) UpdateStrategy

updateStrategy indicates the StatefulSetUpdateStrategy that will be employed to update Pods in the StatefulSet when a revision is made to Template.

func (StatefulSetSpecPtrOutput) VolumeClaimTemplates

volumeClaimTemplates is a list of claims that pods are allowed to reference. The StatefulSet controller is responsible for mapping network identities to claims in a way that maintains the identity of a pod. Every claim in this list must have at least one matching (by name) volumeMount in one container in the template. A claim in this list takes precedence over any volumes in the template, with the same name.

type StatefulSetState

type StatefulSetState struct {
}

func (StatefulSetState) ElementType

func (StatefulSetState) ElementType() reflect.Type

type StatefulSetStatus

type StatefulSetStatus struct {
	// collisionCount is the count of hash collisions for the StatefulSet. The StatefulSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.
	CollisionCount *int `pulumi:"collisionCount"`
	// Represents the latest available observations of a statefulset's current state.
	Conditions []StatefulSetCondition `pulumi:"conditions"`
	// currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.
	CurrentReplicas *int `pulumi:"currentReplicas"`
	// currentRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [0,currentReplicas).
	CurrentRevision *string `pulumi:"currentRevision"`
	// observedGeneration is the most recent generation observed for this StatefulSet. It corresponds to the StatefulSet's generation, which is updated on mutation by the API Server.
	ObservedGeneration *int `pulumi:"observedGeneration"`
	// readyReplicas is the number of Pods created by the StatefulSet controller that have a Ready Condition.
	ReadyReplicas *int `pulumi:"readyReplicas"`
	// replicas is the number of Pods created by the StatefulSet controller.
	Replicas int `pulumi:"replicas"`
	// updateRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [replicas-updatedReplicas,replicas)
	UpdateRevision *string `pulumi:"updateRevision"`
	// updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.
	UpdatedReplicas *int `pulumi:"updatedReplicas"`
}

StatefulSetStatus represents the current state of a StatefulSet.

type StatefulSetStatusArgs

type StatefulSetStatusArgs struct {
	// collisionCount is the count of hash collisions for the StatefulSet. The StatefulSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.
	CollisionCount pulumi.IntPtrInput `pulumi:"collisionCount"`
	// Represents the latest available observations of a statefulset's current state.
	Conditions StatefulSetConditionArrayInput `pulumi:"conditions"`
	// currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.
	CurrentReplicas pulumi.IntPtrInput `pulumi:"currentReplicas"`
	// currentRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [0,currentReplicas).
	CurrentRevision pulumi.StringPtrInput `pulumi:"currentRevision"`
	// observedGeneration is the most recent generation observed for this StatefulSet. It corresponds to the StatefulSet's generation, which is updated on mutation by the API Server.
	ObservedGeneration pulumi.IntPtrInput `pulumi:"observedGeneration"`
	// readyReplicas is the number of Pods created by the StatefulSet controller that have a Ready Condition.
	ReadyReplicas pulumi.IntPtrInput `pulumi:"readyReplicas"`
	// replicas is the number of Pods created by the StatefulSet controller.
	Replicas pulumi.IntInput `pulumi:"replicas"`
	// updateRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [replicas-updatedReplicas,replicas)
	UpdateRevision pulumi.StringPtrInput `pulumi:"updateRevision"`
	// updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.
	UpdatedReplicas pulumi.IntPtrInput `pulumi:"updatedReplicas"`
}

StatefulSetStatus represents the current state of a StatefulSet.

func (StatefulSetStatusArgs) ElementType

func (StatefulSetStatusArgs) ElementType() reflect.Type

func (StatefulSetStatusArgs) ToStatefulSetStatusOutput

func (i StatefulSetStatusArgs) ToStatefulSetStatusOutput() StatefulSetStatusOutput

func (StatefulSetStatusArgs) ToStatefulSetStatusOutputWithContext

func (i StatefulSetStatusArgs) ToStatefulSetStatusOutputWithContext(ctx context.Context) StatefulSetStatusOutput

func (StatefulSetStatusArgs) ToStatefulSetStatusPtrOutput

func (i StatefulSetStatusArgs) ToStatefulSetStatusPtrOutput() StatefulSetStatusPtrOutput

func (StatefulSetStatusArgs) ToStatefulSetStatusPtrOutputWithContext

func (i StatefulSetStatusArgs) ToStatefulSetStatusPtrOutputWithContext(ctx context.Context) StatefulSetStatusPtrOutput

type StatefulSetStatusInput

type StatefulSetStatusInput interface {
	pulumi.Input

	ToStatefulSetStatusOutput() StatefulSetStatusOutput
	ToStatefulSetStatusOutputWithContext(context.Context) StatefulSetStatusOutput
}

StatefulSetStatusInput is an input type that accepts StatefulSetStatusArgs and StatefulSetStatusOutput values. You can construct a concrete instance of `StatefulSetStatusInput` via:

StatefulSetStatusArgs{...}

type StatefulSetStatusOutput

type StatefulSetStatusOutput struct{ *pulumi.OutputState }

StatefulSetStatus represents the current state of a StatefulSet.

func (StatefulSetStatusOutput) CollisionCount

func (o StatefulSetStatusOutput) CollisionCount() pulumi.IntPtrOutput

collisionCount is the count of hash collisions for the StatefulSet. The StatefulSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.

func (StatefulSetStatusOutput) Conditions

Represents the latest available observations of a statefulset's current state.

func (StatefulSetStatusOutput) CurrentReplicas

func (o StatefulSetStatusOutput) CurrentReplicas() pulumi.IntPtrOutput

currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.

func (StatefulSetStatusOutput) CurrentRevision

func (o StatefulSetStatusOutput) CurrentRevision() pulumi.StringPtrOutput

currentRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [0,currentReplicas).

func (StatefulSetStatusOutput) ElementType

func (StatefulSetStatusOutput) ElementType() reflect.Type

func (StatefulSetStatusOutput) ObservedGeneration

func (o StatefulSetStatusOutput) ObservedGeneration() pulumi.IntPtrOutput

observedGeneration is the most recent generation observed for this StatefulSet. It corresponds to the StatefulSet's generation, which is updated on mutation by the API Server.

func (StatefulSetStatusOutput) ReadyReplicas

func (o StatefulSetStatusOutput) ReadyReplicas() pulumi.IntPtrOutput

readyReplicas is the number of Pods created by the StatefulSet controller that have a Ready Condition.

func (StatefulSetStatusOutput) Replicas

replicas is the number of Pods created by the StatefulSet controller.

func (StatefulSetStatusOutput) ToStatefulSetStatusOutput

func (o StatefulSetStatusOutput) ToStatefulSetStatusOutput() StatefulSetStatusOutput

func (StatefulSetStatusOutput) ToStatefulSetStatusOutputWithContext

func (o StatefulSetStatusOutput) ToStatefulSetStatusOutputWithContext(ctx context.Context) StatefulSetStatusOutput

func (StatefulSetStatusOutput) ToStatefulSetStatusPtrOutput

func (o StatefulSetStatusOutput) ToStatefulSetStatusPtrOutput() StatefulSetStatusPtrOutput

func (StatefulSetStatusOutput) ToStatefulSetStatusPtrOutputWithContext

func (o StatefulSetStatusOutput) ToStatefulSetStatusPtrOutputWithContext(ctx context.Context) StatefulSetStatusPtrOutput

func (StatefulSetStatusOutput) UpdateRevision

func (o StatefulSetStatusOutput) UpdateRevision() pulumi.StringPtrOutput

updateRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [replicas-updatedReplicas,replicas)

func (StatefulSetStatusOutput) UpdatedReplicas

func (o StatefulSetStatusOutput) UpdatedReplicas() pulumi.IntPtrOutput

updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.

type StatefulSetStatusPatch added in v3.20.0

type StatefulSetStatusPatch struct {
	// collisionCount is the count of hash collisions for the StatefulSet. The StatefulSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.
	CollisionCount *int `pulumi:"collisionCount"`
	// Represents the latest available observations of a statefulset's current state.
	Conditions []StatefulSetConditionPatch `pulumi:"conditions"`
	// currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.
	CurrentReplicas *int `pulumi:"currentReplicas"`
	// currentRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [0,currentReplicas).
	CurrentRevision *string `pulumi:"currentRevision"`
	// observedGeneration is the most recent generation observed for this StatefulSet. It corresponds to the StatefulSet's generation, which is updated on mutation by the API Server.
	ObservedGeneration *int `pulumi:"observedGeneration"`
	// readyReplicas is the number of Pods created by the StatefulSet controller that have a Ready Condition.
	ReadyReplicas *int `pulumi:"readyReplicas"`
	// replicas is the number of Pods created by the StatefulSet controller.
	Replicas *int `pulumi:"replicas"`
	// updateRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [replicas-updatedReplicas,replicas)
	UpdateRevision *string `pulumi:"updateRevision"`
	// updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.
	UpdatedReplicas *int `pulumi:"updatedReplicas"`
}

StatefulSetStatus represents the current state of a StatefulSet.

type StatefulSetStatusPatchArgs added in v3.20.0

type StatefulSetStatusPatchArgs struct {
	// collisionCount is the count of hash collisions for the StatefulSet. The StatefulSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.
	CollisionCount pulumi.IntPtrInput `pulumi:"collisionCount"`
	// Represents the latest available observations of a statefulset's current state.
	Conditions StatefulSetConditionPatchArrayInput `pulumi:"conditions"`
	// currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.
	CurrentReplicas pulumi.IntPtrInput `pulumi:"currentReplicas"`
	// currentRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [0,currentReplicas).
	CurrentRevision pulumi.StringPtrInput `pulumi:"currentRevision"`
	// observedGeneration is the most recent generation observed for this StatefulSet. It corresponds to the StatefulSet's generation, which is updated on mutation by the API Server.
	ObservedGeneration pulumi.IntPtrInput `pulumi:"observedGeneration"`
	// readyReplicas is the number of Pods created by the StatefulSet controller that have a Ready Condition.
	ReadyReplicas pulumi.IntPtrInput `pulumi:"readyReplicas"`
	// replicas is the number of Pods created by the StatefulSet controller.
	Replicas pulumi.IntPtrInput `pulumi:"replicas"`
	// updateRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [replicas-updatedReplicas,replicas)
	UpdateRevision pulumi.StringPtrInput `pulumi:"updateRevision"`
	// updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.
	UpdatedReplicas pulumi.IntPtrInput `pulumi:"updatedReplicas"`
}

StatefulSetStatus represents the current state of a StatefulSet.

func (StatefulSetStatusPatchArgs) ElementType added in v3.20.0

func (StatefulSetStatusPatchArgs) ElementType() reflect.Type

func (StatefulSetStatusPatchArgs) ToStatefulSetStatusPatchOutput added in v3.20.0

func (i StatefulSetStatusPatchArgs) ToStatefulSetStatusPatchOutput() StatefulSetStatusPatchOutput

func (StatefulSetStatusPatchArgs) ToStatefulSetStatusPatchOutputWithContext added in v3.20.0

func (i StatefulSetStatusPatchArgs) ToStatefulSetStatusPatchOutputWithContext(ctx context.Context) StatefulSetStatusPatchOutput

func (StatefulSetStatusPatchArgs) ToStatefulSetStatusPatchPtrOutput added in v3.20.0

func (i StatefulSetStatusPatchArgs) ToStatefulSetStatusPatchPtrOutput() StatefulSetStatusPatchPtrOutput

func (StatefulSetStatusPatchArgs) ToStatefulSetStatusPatchPtrOutputWithContext added in v3.20.0

func (i StatefulSetStatusPatchArgs) ToStatefulSetStatusPatchPtrOutputWithContext(ctx context.Context) StatefulSetStatusPatchPtrOutput

type StatefulSetStatusPatchInput added in v3.20.0

type StatefulSetStatusPatchInput interface {
	pulumi.Input

	ToStatefulSetStatusPatchOutput() StatefulSetStatusPatchOutput
	ToStatefulSetStatusPatchOutputWithContext(context.Context) StatefulSetStatusPatchOutput
}

StatefulSetStatusPatchInput is an input type that accepts StatefulSetStatusPatchArgs and StatefulSetStatusPatchOutput values. You can construct a concrete instance of `StatefulSetStatusPatchInput` via:

StatefulSetStatusPatchArgs{...}

type StatefulSetStatusPatchOutput added in v3.20.0

type StatefulSetStatusPatchOutput struct{ *pulumi.OutputState }

StatefulSetStatus represents the current state of a StatefulSet.

func (StatefulSetStatusPatchOutput) CollisionCount added in v3.20.0

collisionCount is the count of hash collisions for the StatefulSet. The StatefulSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.

func (StatefulSetStatusPatchOutput) Conditions added in v3.20.0

Represents the latest available observations of a statefulset's current state.

func (StatefulSetStatusPatchOutput) CurrentReplicas added in v3.20.0

func (o StatefulSetStatusPatchOutput) CurrentReplicas() pulumi.IntPtrOutput

currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.

func (StatefulSetStatusPatchOutput) CurrentRevision added in v3.20.0

currentRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [0,currentReplicas).

func (StatefulSetStatusPatchOutput) ElementType added in v3.20.0

func (StatefulSetStatusPatchOutput) ObservedGeneration added in v3.20.0

func (o StatefulSetStatusPatchOutput) ObservedGeneration() pulumi.IntPtrOutput

observedGeneration is the most recent generation observed for this StatefulSet. It corresponds to the StatefulSet's generation, which is updated on mutation by the API Server.

func (StatefulSetStatusPatchOutput) ReadyReplicas added in v3.20.0

readyReplicas is the number of Pods created by the StatefulSet controller that have a Ready Condition.

func (StatefulSetStatusPatchOutput) Replicas added in v3.20.0

replicas is the number of Pods created by the StatefulSet controller.

func (StatefulSetStatusPatchOutput) ToStatefulSetStatusPatchOutput added in v3.20.0

func (o StatefulSetStatusPatchOutput) ToStatefulSetStatusPatchOutput() StatefulSetStatusPatchOutput

func (StatefulSetStatusPatchOutput) ToStatefulSetStatusPatchOutputWithContext added in v3.20.0

func (o StatefulSetStatusPatchOutput) ToStatefulSetStatusPatchOutputWithContext(ctx context.Context) StatefulSetStatusPatchOutput

func (StatefulSetStatusPatchOutput) ToStatefulSetStatusPatchPtrOutput added in v3.20.0

func (o StatefulSetStatusPatchOutput) ToStatefulSetStatusPatchPtrOutput() StatefulSetStatusPatchPtrOutput

func (StatefulSetStatusPatchOutput) ToStatefulSetStatusPatchPtrOutputWithContext added in v3.20.0

func (o StatefulSetStatusPatchOutput) ToStatefulSetStatusPatchPtrOutputWithContext(ctx context.Context) StatefulSetStatusPatchPtrOutput

func (StatefulSetStatusPatchOutput) UpdateRevision added in v3.20.0

updateRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [replicas-updatedReplicas,replicas)

func (StatefulSetStatusPatchOutput) UpdatedReplicas added in v3.20.0

func (o StatefulSetStatusPatchOutput) UpdatedReplicas() pulumi.IntPtrOutput

updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.

type StatefulSetStatusPatchPtrInput added in v3.20.0

type StatefulSetStatusPatchPtrInput interface {
	pulumi.Input

	ToStatefulSetStatusPatchPtrOutput() StatefulSetStatusPatchPtrOutput
	ToStatefulSetStatusPatchPtrOutputWithContext(context.Context) StatefulSetStatusPatchPtrOutput
}

StatefulSetStatusPatchPtrInput is an input type that accepts StatefulSetStatusPatchArgs, StatefulSetStatusPatchPtr and StatefulSetStatusPatchPtrOutput values. You can construct a concrete instance of `StatefulSetStatusPatchPtrInput` via:

        StatefulSetStatusPatchArgs{...}

or:

        nil

func StatefulSetStatusPatchPtr added in v3.20.0

func StatefulSetStatusPatchPtr(v *StatefulSetStatusPatchArgs) StatefulSetStatusPatchPtrInput

type StatefulSetStatusPatchPtrOutput added in v3.20.0

type StatefulSetStatusPatchPtrOutput struct{ *pulumi.OutputState }

func (StatefulSetStatusPatchPtrOutput) CollisionCount added in v3.20.0

collisionCount is the count of hash collisions for the StatefulSet. The StatefulSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.

func (StatefulSetStatusPatchPtrOutput) Conditions added in v3.20.0

Represents the latest available observations of a statefulset's current state.

func (StatefulSetStatusPatchPtrOutput) CurrentReplicas added in v3.20.0

currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.

func (StatefulSetStatusPatchPtrOutput) CurrentRevision added in v3.20.0

currentRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [0,currentReplicas).

func (StatefulSetStatusPatchPtrOutput) Elem added in v3.20.0

func (StatefulSetStatusPatchPtrOutput) ElementType added in v3.20.0

func (StatefulSetStatusPatchPtrOutput) ObservedGeneration added in v3.20.0

func (o StatefulSetStatusPatchPtrOutput) ObservedGeneration() pulumi.IntPtrOutput

observedGeneration is the most recent generation observed for this StatefulSet. It corresponds to the StatefulSet's generation, which is updated on mutation by the API Server.

func (StatefulSetStatusPatchPtrOutput) ReadyReplicas added in v3.20.0

readyReplicas is the number of Pods created by the StatefulSet controller that have a Ready Condition.

func (StatefulSetStatusPatchPtrOutput) Replicas added in v3.20.0

replicas is the number of Pods created by the StatefulSet controller.

func (StatefulSetStatusPatchPtrOutput) ToStatefulSetStatusPatchPtrOutput added in v3.20.0

func (o StatefulSetStatusPatchPtrOutput) ToStatefulSetStatusPatchPtrOutput() StatefulSetStatusPatchPtrOutput

func (StatefulSetStatusPatchPtrOutput) ToStatefulSetStatusPatchPtrOutputWithContext added in v3.20.0

func (o StatefulSetStatusPatchPtrOutput) ToStatefulSetStatusPatchPtrOutputWithContext(ctx context.Context) StatefulSetStatusPatchPtrOutput

func (StatefulSetStatusPatchPtrOutput) UpdateRevision added in v3.20.0

updateRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [replicas-updatedReplicas,replicas)

func (StatefulSetStatusPatchPtrOutput) UpdatedReplicas added in v3.20.0

updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.

type StatefulSetStatusPtrInput

type StatefulSetStatusPtrInput interface {
	pulumi.Input

	ToStatefulSetStatusPtrOutput() StatefulSetStatusPtrOutput
	ToStatefulSetStatusPtrOutputWithContext(context.Context) StatefulSetStatusPtrOutput
}

StatefulSetStatusPtrInput is an input type that accepts StatefulSetStatusArgs, StatefulSetStatusPtr and StatefulSetStatusPtrOutput values. You can construct a concrete instance of `StatefulSetStatusPtrInput` via:

        StatefulSetStatusArgs{...}

or:

        nil

type StatefulSetStatusPtrOutput

type StatefulSetStatusPtrOutput struct{ *pulumi.OutputState }

func (StatefulSetStatusPtrOutput) CollisionCount

func (o StatefulSetStatusPtrOutput) CollisionCount() pulumi.IntPtrOutput

collisionCount is the count of hash collisions for the StatefulSet. The StatefulSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.

func (StatefulSetStatusPtrOutput) Conditions

Represents the latest available observations of a statefulset's current state.

func (StatefulSetStatusPtrOutput) CurrentReplicas

func (o StatefulSetStatusPtrOutput) CurrentReplicas() pulumi.IntPtrOutput

currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.

func (StatefulSetStatusPtrOutput) CurrentRevision

currentRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [0,currentReplicas).

func (StatefulSetStatusPtrOutput) Elem

func (StatefulSetStatusPtrOutput) ElementType

func (StatefulSetStatusPtrOutput) ElementType() reflect.Type

func (StatefulSetStatusPtrOutput) ObservedGeneration

func (o StatefulSetStatusPtrOutput) ObservedGeneration() pulumi.IntPtrOutput

observedGeneration is the most recent generation observed for this StatefulSet. It corresponds to the StatefulSet's generation, which is updated on mutation by the API Server.

func (StatefulSetStatusPtrOutput) ReadyReplicas

readyReplicas is the number of Pods created by the StatefulSet controller that have a Ready Condition.

func (StatefulSetStatusPtrOutput) Replicas

replicas is the number of Pods created by the StatefulSet controller.

func (StatefulSetStatusPtrOutput) ToStatefulSetStatusPtrOutput

func (o StatefulSetStatusPtrOutput) ToStatefulSetStatusPtrOutput() StatefulSetStatusPtrOutput

func (StatefulSetStatusPtrOutput) ToStatefulSetStatusPtrOutputWithContext

func (o StatefulSetStatusPtrOutput) ToStatefulSetStatusPtrOutputWithContext(ctx context.Context) StatefulSetStatusPtrOutput

func (StatefulSetStatusPtrOutput) UpdateRevision

updateRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [replicas-updatedReplicas,replicas)

func (StatefulSetStatusPtrOutput) UpdatedReplicas

func (o StatefulSetStatusPtrOutput) UpdatedReplicas() pulumi.IntPtrOutput

updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.

type StatefulSetType

type StatefulSetType struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion *string `pulumi:"apiVersion"`
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind     *string            `pulumi:"kind"`
	Metadata *metav1.ObjectMeta `pulumi:"metadata"`
	// Spec defines the desired identities of pods in this set.
	Spec *StatefulSetSpec `pulumi:"spec"`
	// Status is the current status of Pods in this StatefulSet. This data may be out of date by some window of time.
	Status *StatefulSetStatus `pulumi:"status"`
}

StatefulSet represents a set of pods with consistent identities. Identities are defined as:

  • Network: A single stable DNS and hostname.
  • Storage: As many VolumeClaims as requested. The StatefulSet guarantees that a given network identity will always map to the same storage identity.

This resource waits until its status is ready before registering success for create/update, and populating output properties from the current state of the resource. The following conditions are used to determine whether the resource creation has succeeded or failed:

  1. The value of 'spec.replicas' matches '.status.replicas', '.status.currentReplicas', and '.status.readyReplicas'.
  2. The value of '.status.updateRevision' matches '.status.currentRevision'.

If the StatefulSet has not reached a Ready state after 10 minutes, it will time out and mark the resource update as Failed. You can override the default timeout value by setting the 'customTimeouts' option on the resource.

type StatefulSetTypeArgs

type StatefulSetTypeArgs struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	ApiVersion pulumi.StringPtrInput `pulumi:"apiVersion"`
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind     pulumi.StringPtrInput     `pulumi:"kind"`
	Metadata metav1.ObjectMetaPtrInput `pulumi:"metadata"`
	// Spec defines the desired identities of pods in this set.
	Spec StatefulSetSpecPtrInput `pulumi:"spec"`
	// Status is the current status of Pods in this StatefulSet. This data may be out of date by some window of time.
	Status StatefulSetStatusPtrInput `pulumi:"status"`
}

StatefulSet represents a set of pods with consistent identities. Identities are defined as:

  • Network: A single stable DNS and hostname.
  • Storage: As many VolumeClaims as requested. The StatefulSet guarantees that a given network identity will always map to the same storage identity.

This resource waits until its status is ready before registering success for create/update, and populating output properties from the current state of the resource. The following conditions are used to determine whether the resource creation has succeeded or failed:

  1. The value of 'spec.replicas' matches '.status.replicas', '.status.currentReplicas', and '.status.readyReplicas'.
  2. The value of '.status.updateRevision' matches '.status.currentRevision'.

If the StatefulSet has not reached a Ready state after 10 minutes, it will time out and mark the resource update as Failed. You can override the default timeout value by setting the 'customTimeouts' option on the resource.

func (StatefulSetTypeArgs) ElementType

func (StatefulSetTypeArgs) ElementType() reflect.Type

func (StatefulSetTypeArgs) ToStatefulSetTypeOutput

func (i StatefulSetTypeArgs) ToStatefulSetTypeOutput() StatefulSetTypeOutput

func (StatefulSetTypeArgs) ToStatefulSetTypeOutputWithContext

func (i StatefulSetTypeArgs) ToStatefulSetTypeOutputWithContext(ctx context.Context) StatefulSetTypeOutput

type StatefulSetTypeArray

type StatefulSetTypeArray []StatefulSetTypeInput

func (StatefulSetTypeArray) ElementType

func (StatefulSetTypeArray) ElementType() reflect.Type

func (StatefulSetTypeArray) ToStatefulSetTypeArrayOutput

func (i StatefulSetTypeArray) ToStatefulSetTypeArrayOutput() StatefulSetTypeArrayOutput

func (StatefulSetTypeArray) ToStatefulSetTypeArrayOutputWithContext

func (i StatefulSetTypeArray) ToStatefulSetTypeArrayOutputWithContext(ctx context.Context) StatefulSetTypeArrayOutput

type StatefulSetTypeArrayInput

type StatefulSetTypeArrayInput interface {
	pulumi.Input

	ToStatefulSetTypeArrayOutput() StatefulSetTypeArrayOutput
	ToStatefulSetTypeArrayOutputWithContext(context.Context) StatefulSetTypeArrayOutput
}

StatefulSetTypeArrayInput is an input type that accepts StatefulSetTypeArray and StatefulSetTypeArrayOutput values. You can construct a concrete instance of `StatefulSetTypeArrayInput` via:

StatefulSetTypeArray{ StatefulSetTypeArgs{...} }

type StatefulSetTypeArrayOutput

type StatefulSetTypeArrayOutput struct{ *pulumi.OutputState }

func (StatefulSetTypeArrayOutput) ElementType

func (StatefulSetTypeArrayOutput) ElementType() reflect.Type

func (StatefulSetTypeArrayOutput) Index

func (StatefulSetTypeArrayOutput) ToStatefulSetTypeArrayOutput

func (o StatefulSetTypeArrayOutput) ToStatefulSetTypeArrayOutput() StatefulSetTypeArrayOutput

func (StatefulSetTypeArrayOutput) ToStatefulSetTypeArrayOutputWithContext

func (o StatefulSetTypeArrayOutput) ToStatefulSetTypeArrayOutputWithContext(ctx context.Context) StatefulSetTypeArrayOutput

type StatefulSetTypeInput

type StatefulSetTypeInput interface {
	pulumi.Input

	ToStatefulSetTypeOutput() StatefulSetTypeOutput
	ToStatefulSetTypeOutputWithContext(context.Context) StatefulSetTypeOutput
}

StatefulSetTypeInput is an input type that accepts StatefulSetTypeArgs and StatefulSetTypeOutput values. You can construct a concrete instance of `StatefulSetTypeInput` via:

StatefulSetTypeArgs{...}

type StatefulSetTypeOutput

type StatefulSetTypeOutput struct{ *pulumi.OutputState }

StatefulSet represents a set of pods with consistent identities. Identities are defined as:

  • Network: A single stable DNS and hostname.
  • Storage: As many VolumeClaims as requested. The StatefulSet guarantees that a given network identity will always map to the same storage identity.

This resource waits until its status is ready before registering success for create/update, and populating output properties from the current state of the resource. The following conditions are used to determine whether the resource creation has succeeded or failed:

  1. The value of 'spec.replicas' matches '.status.replicas', '.status.currentReplicas', and '.status.readyReplicas'.
  2. The value of '.status.updateRevision' matches '.status.currentRevision'.

If the StatefulSet has not reached a Ready state after 10 minutes, it will time out and mark the resource update as Failed. You can override the default timeout value by setting the 'customTimeouts' option on the resource.

func (StatefulSetTypeOutput) ApiVersion

APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources

func (StatefulSetTypeOutput) ElementType

func (StatefulSetTypeOutput) ElementType() reflect.Type

func (StatefulSetTypeOutput) Kind

Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

func (StatefulSetTypeOutput) Metadata

func (StatefulSetTypeOutput) Spec

Spec defines the desired identities of pods in this set.

func (StatefulSetTypeOutput) Status

Status is the current status of Pods in this StatefulSet. This data may be out of date by some window of time.

func (StatefulSetTypeOutput) ToStatefulSetTypeOutput

func (o StatefulSetTypeOutput) ToStatefulSetTypeOutput() StatefulSetTypeOutput

func (StatefulSetTypeOutput) ToStatefulSetTypeOutputWithContext

func (o StatefulSetTypeOutput) ToStatefulSetTypeOutputWithContext(ctx context.Context) StatefulSetTypeOutput

type StatefulSetUpdateStrategy

type StatefulSetUpdateStrategy struct {
	// RollingUpdate is used to communicate parameters when Type is RollingUpdateStatefulSetStrategyType.
	RollingUpdate *RollingUpdateStatefulSetStrategy `pulumi:"rollingUpdate"`
	// Type indicates the type of the StatefulSetUpdateStrategy.
	Type *string `pulumi:"type"`
}

StatefulSetUpdateStrategy indicates the strategy that the StatefulSet controller will use to perform updates. It includes any additional parameters necessary to perform the update for the indicated strategy.

type StatefulSetUpdateStrategyArgs

type StatefulSetUpdateStrategyArgs struct {
	// RollingUpdate is used to communicate parameters when Type is RollingUpdateStatefulSetStrategyType.
	RollingUpdate RollingUpdateStatefulSetStrategyPtrInput `pulumi:"rollingUpdate"`
	// Type indicates the type of the StatefulSetUpdateStrategy.
	Type pulumi.StringPtrInput `pulumi:"type"`
}

StatefulSetUpdateStrategy indicates the strategy that the StatefulSet controller will use to perform updates. It includes any additional parameters necessary to perform the update for the indicated strategy.

func (StatefulSetUpdateStrategyArgs) ElementType

func (StatefulSetUpdateStrategyArgs) ToStatefulSetUpdateStrategyOutput

func (i StatefulSetUpdateStrategyArgs) ToStatefulSetUpdateStrategyOutput() StatefulSetUpdateStrategyOutput

func (StatefulSetUpdateStrategyArgs) ToStatefulSetUpdateStrategyOutputWithContext

func (i StatefulSetUpdateStrategyArgs) ToStatefulSetUpdateStrategyOutputWithContext(ctx context.Context) StatefulSetUpdateStrategyOutput

func (StatefulSetUpdateStrategyArgs) ToStatefulSetUpdateStrategyPtrOutput

func (i StatefulSetUpdateStrategyArgs) ToStatefulSetUpdateStrategyPtrOutput() StatefulSetUpdateStrategyPtrOutput

func (StatefulSetUpdateStrategyArgs) ToStatefulSetUpdateStrategyPtrOutputWithContext

func (i StatefulSetUpdateStrategyArgs) ToStatefulSetUpdateStrategyPtrOutputWithContext(ctx context.Context) StatefulSetUpdateStrategyPtrOutput

type StatefulSetUpdateStrategyInput

type StatefulSetUpdateStrategyInput interface {
	pulumi.Input

	ToStatefulSetUpdateStrategyOutput() StatefulSetUpdateStrategyOutput
	ToStatefulSetUpdateStrategyOutputWithContext(context.Context) StatefulSetUpdateStrategyOutput
}

StatefulSetUpdateStrategyInput is an input type that accepts StatefulSetUpdateStrategyArgs and StatefulSetUpdateStrategyOutput values. You can construct a concrete instance of `StatefulSetUpdateStrategyInput` via:

StatefulSetUpdateStrategyArgs{...}

type StatefulSetUpdateStrategyOutput

type StatefulSetUpdateStrategyOutput struct{ *pulumi.OutputState }

StatefulSetUpdateStrategy indicates the strategy that the StatefulSet controller will use to perform updates. It includes any additional parameters necessary to perform the update for the indicated strategy.

func (StatefulSetUpdateStrategyOutput) ElementType

func (StatefulSetUpdateStrategyOutput) RollingUpdate

RollingUpdate is used to communicate parameters when Type is RollingUpdateStatefulSetStrategyType.

func (StatefulSetUpdateStrategyOutput) ToStatefulSetUpdateStrategyOutput

func (o StatefulSetUpdateStrategyOutput) ToStatefulSetUpdateStrategyOutput() StatefulSetUpdateStrategyOutput

func (StatefulSetUpdateStrategyOutput) ToStatefulSetUpdateStrategyOutputWithContext

func (o StatefulSetUpdateStrategyOutput) ToStatefulSetUpdateStrategyOutputWithContext(ctx context.Context) StatefulSetUpdateStrategyOutput

func (StatefulSetUpdateStrategyOutput) ToStatefulSetUpdateStrategyPtrOutput

func (o StatefulSetUpdateStrategyOutput) ToStatefulSetUpdateStrategyPtrOutput() StatefulSetUpdateStrategyPtrOutput

func (StatefulSetUpdateStrategyOutput) ToStatefulSetUpdateStrategyPtrOutputWithContext

func (o StatefulSetUpdateStrategyOutput) ToStatefulSetUpdateStrategyPtrOutputWithContext(ctx context.Context) StatefulSetUpdateStrategyPtrOutput

func (StatefulSetUpdateStrategyOutput) Type

Type indicates the type of the StatefulSetUpdateStrategy.

type StatefulSetUpdateStrategyPatch added in v3.20.0

type StatefulSetUpdateStrategyPatch struct {
	// RollingUpdate is used to communicate parameters when Type is RollingUpdateStatefulSetStrategyType.
	RollingUpdate *RollingUpdateStatefulSetStrategyPatch `pulumi:"rollingUpdate"`
	// Type indicates the type of the StatefulSetUpdateStrategy.
	Type *string `pulumi:"type"`
}

StatefulSetUpdateStrategy indicates the strategy that the StatefulSet controller will use to perform updates. It includes any additional parameters necessary to perform the update for the indicated strategy.

type StatefulSetUpdateStrategyPatchArgs added in v3.20.0

type StatefulSetUpdateStrategyPatchArgs struct {
	// RollingUpdate is used to communicate parameters when Type is RollingUpdateStatefulSetStrategyType.
	RollingUpdate RollingUpdateStatefulSetStrategyPatchPtrInput `pulumi:"rollingUpdate"`
	// Type indicates the type of the StatefulSetUpdateStrategy.
	Type pulumi.StringPtrInput `pulumi:"type"`
}

StatefulSetUpdateStrategy indicates the strategy that the StatefulSet controller will use to perform updates. It includes any additional parameters necessary to perform the update for the indicated strategy.

func (StatefulSetUpdateStrategyPatchArgs) ElementType added in v3.20.0

func (StatefulSetUpdateStrategyPatchArgs) ToStatefulSetUpdateStrategyPatchOutput added in v3.20.0

func (i StatefulSetUpdateStrategyPatchArgs) ToStatefulSetUpdateStrategyPatchOutput() StatefulSetUpdateStrategyPatchOutput

func (StatefulSetUpdateStrategyPatchArgs) ToStatefulSetUpdateStrategyPatchOutputWithContext added in v3.20.0

func (i StatefulSetUpdateStrategyPatchArgs) ToStatefulSetUpdateStrategyPatchOutputWithContext(ctx context.Context) StatefulSetUpdateStrategyPatchOutput

func (StatefulSetUpdateStrategyPatchArgs) ToStatefulSetUpdateStrategyPatchPtrOutput added in v3.20.0

func (i StatefulSetUpdateStrategyPatchArgs) ToStatefulSetUpdateStrategyPatchPtrOutput() StatefulSetUpdateStrategyPatchPtrOutput

func (StatefulSetUpdateStrategyPatchArgs) ToStatefulSetUpdateStrategyPatchPtrOutputWithContext added in v3.20.0

func (i StatefulSetUpdateStrategyPatchArgs) ToStatefulSetUpdateStrategyPatchPtrOutputWithContext(ctx context.Context) StatefulSetUpdateStrategyPatchPtrOutput

type StatefulSetUpdateStrategyPatchInput added in v3.20.0

type StatefulSetUpdateStrategyPatchInput interface {
	pulumi.Input

	ToStatefulSetUpdateStrategyPatchOutput() StatefulSetUpdateStrategyPatchOutput
	ToStatefulSetUpdateStrategyPatchOutputWithContext(context.Context) StatefulSetUpdateStrategyPatchOutput
}

StatefulSetUpdateStrategyPatchInput is an input type that accepts StatefulSetUpdateStrategyPatchArgs and StatefulSetUpdateStrategyPatchOutput values. You can construct a concrete instance of `StatefulSetUpdateStrategyPatchInput` via:

StatefulSetUpdateStrategyPatchArgs{...}

type StatefulSetUpdateStrategyPatchOutput added in v3.20.0

type StatefulSetUpdateStrategyPatchOutput struct{ *pulumi.OutputState }

StatefulSetUpdateStrategy indicates the strategy that the StatefulSet controller will use to perform updates. It includes any additional parameters necessary to perform the update for the indicated strategy.

func (StatefulSetUpdateStrategyPatchOutput) ElementType added in v3.20.0

func (StatefulSetUpdateStrategyPatchOutput) RollingUpdate added in v3.20.0

RollingUpdate is used to communicate parameters when Type is RollingUpdateStatefulSetStrategyType.

func (StatefulSetUpdateStrategyPatchOutput) ToStatefulSetUpdateStrategyPatchOutput added in v3.20.0

func (o StatefulSetUpdateStrategyPatchOutput) ToStatefulSetUpdateStrategyPatchOutput() StatefulSetUpdateStrategyPatchOutput

func (StatefulSetUpdateStrategyPatchOutput) ToStatefulSetUpdateStrategyPatchOutputWithContext added in v3.20.0

func (o StatefulSetUpdateStrategyPatchOutput) ToStatefulSetUpdateStrategyPatchOutputWithContext(ctx context.Context) StatefulSetUpdateStrategyPatchOutput

func (StatefulSetUpdateStrategyPatchOutput) ToStatefulSetUpdateStrategyPatchPtrOutput added in v3.20.0

func (o StatefulSetUpdateStrategyPatchOutput) ToStatefulSetUpdateStrategyPatchPtrOutput() StatefulSetUpdateStrategyPatchPtrOutput

func (StatefulSetUpdateStrategyPatchOutput) ToStatefulSetUpdateStrategyPatchPtrOutputWithContext added in v3.20.0

func (o StatefulSetUpdateStrategyPatchOutput) ToStatefulSetUpdateStrategyPatchPtrOutputWithContext(ctx context.Context) StatefulSetUpdateStrategyPatchPtrOutput

func (StatefulSetUpdateStrategyPatchOutput) Type added in v3.20.0

Type indicates the type of the StatefulSetUpdateStrategy.

type StatefulSetUpdateStrategyPatchPtrInput added in v3.20.0

type StatefulSetUpdateStrategyPatchPtrInput interface {
	pulumi.Input

	ToStatefulSetUpdateStrategyPatchPtrOutput() StatefulSetUpdateStrategyPatchPtrOutput
	ToStatefulSetUpdateStrategyPatchPtrOutputWithContext(context.Context) StatefulSetUpdateStrategyPatchPtrOutput
}

StatefulSetUpdateStrategyPatchPtrInput is an input type that accepts StatefulSetUpdateStrategyPatchArgs, StatefulSetUpdateStrategyPatchPtr and StatefulSetUpdateStrategyPatchPtrOutput values. You can construct a concrete instance of `StatefulSetUpdateStrategyPatchPtrInput` via:

        StatefulSetUpdateStrategyPatchArgs{...}

or:

        nil

type StatefulSetUpdateStrategyPatchPtrOutput added in v3.20.0

type StatefulSetUpdateStrategyPatchPtrOutput struct{ *pulumi.OutputState }

func (StatefulSetUpdateStrategyPatchPtrOutput) Elem added in v3.20.0

func (StatefulSetUpdateStrategyPatchPtrOutput) ElementType added in v3.20.0

func (StatefulSetUpdateStrategyPatchPtrOutput) RollingUpdate added in v3.20.0

RollingUpdate is used to communicate parameters when Type is RollingUpdateStatefulSetStrategyType.

func (StatefulSetUpdateStrategyPatchPtrOutput) ToStatefulSetUpdateStrategyPatchPtrOutput added in v3.20.0

func (o StatefulSetUpdateStrategyPatchPtrOutput) ToStatefulSetUpdateStrategyPatchPtrOutput() StatefulSetUpdateStrategyPatchPtrOutput

func (StatefulSetUpdateStrategyPatchPtrOutput) ToStatefulSetUpdateStrategyPatchPtrOutputWithContext added in v3.20.0

func (o StatefulSetUpdateStrategyPatchPtrOutput) ToStatefulSetUpdateStrategyPatchPtrOutputWithContext(ctx context.Context) StatefulSetUpdateStrategyPatchPtrOutput

func (StatefulSetUpdateStrategyPatchPtrOutput) Type added in v3.20.0

Type indicates the type of the StatefulSetUpdateStrategy.

type StatefulSetUpdateStrategyPtrInput

type StatefulSetUpdateStrategyPtrInput interface {
	pulumi.Input

	ToStatefulSetUpdateStrategyPtrOutput() StatefulSetUpdateStrategyPtrOutput
	ToStatefulSetUpdateStrategyPtrOutputWithContext(context.Context) StatefulSetUpdateStrategyPtrOutput
}

StatefulSetUpdateStrategyPtrInput is an input type that accepts StatefulSetUpdateStrategyArgs, StatefulSetUpdateStrategyPtr and StatefulSetUpdateStrategyPtrOutput values. You can construct a concrete instance of `StatefulSetUpdateStrategyPtrInput` via:

        StatefulSetUpdateStrategyArgs{...}

or:

        nil

type StatefulSetUpdateStrategyPtrOutput

type StatefulSetUpdateStrategyPtrOutput struct{ *pulumi.OutputState }

func (StatefulSetUpdateStrategyPtrOutput) Elem

func (StatefulSetUpdateStrategyPtrOutput) ElementType

func (StatefulSetUpdateStrategyPtrOutput) RollingUpdate

RollingUpdate is used to communicate parameters when Type is RollingUpdateStatefulSetStrategyType.

func (StatefulSetUpdateStrategyPtrOutput) ToStatefulSetUpdateStrategyPtrOutput

func (o StatefulSetUpdateStrategyPtrOutput) ToStatefulSetUpdateStrategyPtrOutput() StatefulSetUpdateStrategyPtrOutput

func (StatefulSetUpdateStrategyPtrOutput) ToStatefulSetUpdateStrategyPtrOutputWithContext

func (o StatefulSetUpdateStrategyPtrOutput) ToStatefulSetUpdateStrategyPtrOutputWithContext(ctx context.Context) StatefulSetUpdateStrategyPtrOutput

func (StatefulSetUpdateStrategyPtrOutput) Type

Type indicates the type of the StatefulSetUpdateStrategy.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL