v1beta1

package
v2.9.1 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

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 added in v2.7.2

func (*ControllerRevision) ElementType() reflect.Type

func (*ControllerRevision) ToControllerRevisionOutput added in v2.7.2

func (i *ControllerRevision) ToControllerRevisionOutput() ControllerRevisionOutput

func (*ControllerRevision) ToControllerRevisionOutputWithContext added in v2.7.2

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

func (*ControllerRevision) ToControllerRevisionPtrOutput added in v2.7.7

func (i *ControllerRevision) ToControllerRevisionPtrOutput() ControllerRevisionPtrOutput

func (*ControllerRevision) ToControllerRevisionPtrOutputWithContext added in v2.7.7

func (i *ControllerRevision) ToControllerRevisionPtrOutputWithContext(ctx context.Context) ControllerRevisionPtrOutput

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 added in v2.7.7

type ControllerRevisionArray []ControllerRevisionInput

func (ControllerRevisionArray) ElementType added in v2.7.7

func (ControllerRevisionArray) ElementType() reflect.Type

func (ControllerRevisionArray) ToControllerRevisionArrayOutput added in v2.7.7

func (i ControllerRevisionArray) ToControllerRevisionArrayOutput() ControllerRevisionArrayOutput

func (ControllerRevisionArray) ToControllerRevisionArrayOutputWithContext added in v2.7.7

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

type ControllerRevisionArrayInput added in v2.7.7

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 added in v2.7.7

type ControllerRevisionArrayOutput struct{ *pulumi.OutputState }

func (ControllerRevisionArrayOutput) ElementType added in v2.7.7

func (ControllerRevisionArrayOutput) Index added in v2.7.7

func (ControllerRevisionArrayOutput) ToControllerRevisionArrayOutput added in v2.7.7

func (o ControllerRevisionArrayOutput) ToControllerRevisionArrayOutput() ControllerRevisionArrayOutput

func (ControllerRevisionArrayOutput) ToControllerRevisionArrayOutputWithContext added in v2.7.7

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

type ControllerRevisionInput added in v2.7.2

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 added in v2.7.2

func (*ControllerRevisionList) ElementType() reflect.Type

func (*ControllerRevisionList) ToControllerRevisionListOutput added in v2.7.2

func (i *ControllerRevisionList) ToControllerRevisionListOutput() ControllerRevisionListOutput

func (*ControllerRevisionList) ToControllerRevisionListOutputWithContext added in v2.7.2

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

func (*ControllerRevisionList) ToControllerRevisionListPtrOutput added in v2.7.7

func (i *ControllerRevisionList) ToControllerRevisionListPtrOutput() ControllerRevisionListPtrOutput

func (*ControllerRevisionList) ToControllerRevisionListPtrOutputWithContext added in v2.7.7

func (i *ControllerRevisionList) ToControllerRevisionListPtrOutputWithContext(ctx context.Context) ControllerRevisionListPtrOutput

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 added in v2.7.7

type ControllerRevisionListArray []ControllerRevisionListInput

func (ControllerRevisionListArray) ElementType added in v2.7.7

func (ControllerRevisionListArray) ToControllerRevisionListArrayOutput added in v2.7.7

func (i ControllerRevisionListArray) ToControllerRevisionListArrayOutput() ControllerRevisionListArrayOutput

func (ControllerRevisionListArray) ToControllerRevisionListArrayOutputWithContext added in v2.7.7

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

type ControllerRevisionListArrayInput added in v2.7.7

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 added in v2.7.7

type ControllerRevisionListArrayOutput struct{ *pulumi.OutputState }

func (ControllerRevisionListArrayOutput) ElementType added in v2.7.7

func (ControllerRevisionListArrayOutput) Index added in v2.7.7

func (ControllerRevisionListArrayOutput) ToControllerRevisionListArrayOutput added in v2.7.7

func (o ControllerRevisionListArrayOutput) ToControllerRevisionListArrayOutput() ControllerRevisionListArrayOutput

func (ControllerRevisionListArrayOutput) ToControllerRevisionListArrayOutputWithContext added in v2.7.7

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

type ControllerRevisionListInput added in v2.7.2

type ControllerRevisionListInput interface {
	pulumi.Input

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

type ControllerRevisionListMap added in v2.7.7

type ControllerRevisionListMap map[string]ControllerRevisionListInput

func (ControllerRevisionListMap) ElementType added in v2.7.7

func (ControllerRevisionListMap) ElementType() reflect.Type

func (ControllerRevisionListMap) ToControllerRevisionListMapOutput added in v2.7.7

func (i ControllerRevisionListMap) ToControllerRevisionListMapOutput() ControllerRevisionListMapOutput

func (ControllerRevisionListMap) ToControllerRevisionListMapOutputWithContext added in v2.7.7

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

type ControllerRevisionListMapInput added in v2.7.7

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 added in v2.7.7

type ControllerRevisionListMapOutput struct{ *pulumi.OutputState }

func (ControllerRevisionListMapOutput) ElementType added in v2.7.7

func (ControllerRevisionListMapOutput) MapIndex added in v2.7.7

func (ControllerRevisionListMapOutput) ToControllerRevisionListMapOutput added in v2.7.7

func (o ControllerRevisionListMapOutput) ToControllerRevisionListMapOutput() ControllerRevisionListMapOutput

func (ControllerRevisionListMapOutput) ToControllerRevisionListMapOutputWithContext added in v2.7.7

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

type ControllerRevisionListOutput added in v2.7.2

type ControllerRevisionListOutput struct {
	*pulumi.OutputState
}

func (ControllerRevisionListOutput) ElementType added in v2.7.2

func (ControllerRevisionListOutput) ToControllerRevisionListOutput added in v2.7.2

func (o ControllerRevisionListOutput) ToControllerRevisionListOutput() ControllerRevisionListOutput

func (ControllerRevisionListOutput) ToControllerRevisionListOutputWithContext added in v2.7.2

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

func (ControllerRevisionListOutput) ToControllerRevisionListPtrOutput added in v2.7.7

func (o ControllerRevisionListOutput) ToControllerRevisionListPtrOutput() ControllerRevisionListPtrOutput

func (ControllerRevisionListOutput) ToControllerRevisionListPtrOutputWithContext added in v2.7.7

func (o ControllerRevisionListOutput) ToControllerRevisionListPtrOutputWithContext(ctx context.Context) ControllerRevisionListPtrOutput

type ControllerRevisionListPtrInput added in v2.7.7

type ControllerRevisionListPtrInput interface {
	pulumi.Input

	ToControllerRevisionListPtrOutput() ControllerRevisionListPtrOutput
	ToControllerRevisionListPtrOutputWithContext(ctx context.Context) ControllerRevisionListPtrOutput
}

type ControllerRevisionListPtrOutput added in v2.7.7

type ControllerRevisionListPtrOutput struct {
	*pulumi.OutputState
}

func (ControllerRevisionListPtrOutput) ElementType added in v2.7.7

func (ControllerRevisionListPtrOutput) ToControllerRevisionListPtrOutput added in v2.7.7

func (o ControllerRevisionListPtrOutput) ToControllerRevisionListPtrOutput() ControllerRevisionListPtrOutput

func (ControllerRevisionListPtrOutput) ToControllerRevisionListPtrOutputWithContext added in v2.7.7

func (o ControllerRevisionListPtrOutput) ToControllerRevisionListPtrOutputWithContext(ctx context.Context) ControllerRevisionListPtrOutput

type ControllerRevisionListState

type ControllerRevisionListState 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
}

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 added in v2.7.7

type ControllerRevisionMap map[string]ControllerRevisionInput

func (ControllerRevisionMap) ElementType added in v2.7.7

func (ControllerRevisionMap) ElementType() reflect.Type

func (ControllerRevisionMap) ToControllerRevisionMapOutput added in v2.7.7

func (i ControllerRevisionMap) ToControllerRevisionMapOutput() ControllerRevisionMapOutput

func (ControllerRevisionMap) ToControllerRevisionMapOutputWithContext added in v2.7.7

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

type ControllerRevisionMapInput added in v2.7.7

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 added in v2.7.7

type ControllerRevisionMapOutput struct{ *pulumi.OutputState }

func (ControllerRevisionMapOutput) ElementType added in v2.7.7

func (ControllerRevisionMapOutput) MapIndex added in v2.7.7

func (ControllerRevisionMapOutput) ToControllerRevisionMapOutput added in v2.7.7

func (o ControllerRevisionMapOutput) ToControllerRevisionMapOutput() ControllerRevisionMapOutput

func (ControllerRevisionMapOutput) ToControllerRevisionMapOutputWithContext added in v2.7.7

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

type ControllerRevisionOutput added in v2.7.2

type ControllerRevisionOutput struct {
	*pulumi.OutputState
}

func (ControllerRevisionOutput) ElementType added in v2.7.2

func (ControllerRevisionOutput) ElementType() reflect.Type

func (ControllerRevisionOutput) ToControllerRevisionOutput added in v2.7.2

func (o ControllerRevisionOutput) ToControllerRevisionOutput() ControllerRevisionOutput

func (ControllerRevisionOutput) ToControllerRevisionOutputWithContext added in v2.7.2

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

func (ControllerRevisionOutput) ToControllerRevisionPtrOutput added in v2.7.7

func (o ControllerRevisionOutput) ToControllerRevisionPtrOutput() ControllerRevisionPtrOutput

func (ControllerRevisionOutput) ToControllerRevisionPtrOutputWithContext added in v2.7.7

func (o ControllerRevisionOutput) ToControllerRevisionPtrOutputWithContext(ctx context.Context) ControllerRevisionPtrOutput

type ControllerRevisionPtrInput added in v2.7.7

type ControllerRevisionPtrInput interface {
	pulumi.Input

	ToControllerRevisionPtrOutput() ControllerRevisionPtrOutput
	ToControllerRevisionPtrOutputWithContext(ctx context.Context) ControllerRevisionPtrOutput
}

type ControllerRevisionPtrOutput added in v2.7.7

type ControllerRevisionPtrOutput struct {
	*pulumi.OutputState
}

func (ControllerRevisionPtrOutput) ElementType added in v2.7.7

func (ControllerRevisionPtrOutput) ToControllerRevisionPtrOutput added in v2.7.7

func (o ControllerRevisionPtrOutput) ToControllerRevisionPtrOutput() ControllerRevisionPtrOutput

func (ControllerRevisionPtrOutput) ToControllerRevisionPtrOutputWithContext added in v2.7.7

func (o ControllerRevisionPtrOutput) ToControllerRevisionPtrOutputWithContext(ctx context.Context) ControllerRevisionPtrOutput

type ControllerRevisionState

type ControllerRevisionState 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.IntPtrInput
}

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 added in v2.7.2

func (*Deployment) ElementType() reflect.Type

func (*Deployment) ToDeploymentOutput added in v2.7.2

func (i *Deployment) ToDeploymentOutput() DeploymentOutput

func (*Deployment) ToDeploymentOutputWithContext added in v2.7.2

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

func (*Deployment) ToDeploymentPtrOutput added in v2.7.7

func (i *Deployment) ToDeploymentPtrOutput() DeploymentPtrOutput

func (*Deployment) ToDeploymentPtrOutputWithContext added in v2.7.7

func (i *Deployment) ToDeploymentPtrOutputWithContext(ctx context.Context) DeploymentPtrOutput

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 added in v2.7.7

type DeploymentArray []DeploymentInput

func (DeploymentArray) ElementType added in v2.7.7

func (DeploymentArray) ElementType() reflect.Type

func (DeploymentArray) ToDeploymentArrayOutput added in v2.7.7

func (i DeploymentArray) ToDeploymentArrayOutput() DeploymentArrayOutput

func (DeploymentArray) ToDeploymentArrayOutputWithContext added in v2.7.7

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

type DeploymentArrayInput added in v2.7.7

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 added in v2.7.7

type DeploymentArrayOutput struct{ *pulumi.OutputState }

func (DeploymentArrayOutput) ElementType added in v2.7.7

func (DeploymentArrayOutput) ElementType() reflect.Type

func (DeploymentArrayOutput) Index added in v2.7.7

func (DeploymentArrayOutput) ToDeploymentArrayOutput added in v2.7.7

func (o DeploymentArrayOutput) ToDeploymentArrayOutput() DeploymentArrayOutput

func (DeploymentArrayOutput) ToDeploymentArrayOutputWithContext added in v2.7.7

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 DeploymentInput added in v2.7.2

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 added in v2.7.2

func (*DeploymentList) ElementType() reflect.Type

func (*DeploymentList) ToDeploymentListOutput added in v2.7.2

func (i *DeploymentList) ToDeploymentListOutput() DeploymentListOutput

func (*DeploymentList) ToDeploymentListOutputWithContext added in v2.7.2

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

func (*DeploymentList) ToDeploymentListPtrOutput added in v2.7.7

func (i *DeploymentList) ToDeploymentListPtrOutput() DeploymentListPtrOutput

func (*DeploymentList) ToDeploymentListPtrOutputWithContext added in v2.7.7

func (i *DeploymentList) ToDeploymentListPtrOutputWithContext(ctx context.Context) DeploymentListPtrOutput

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 added in v2.7.7

type DeploymentListArray []DeploymentListInput

func (DeploymentListArray) ElementType added in v2.7.7

func (DeploymentListArray) ElementType() reflect.Type

func (DeploymentListArray) ToDeploymentListArrayOutput added in v2.7.7

func (i DeploymentListArray) ToDeploymentListArrayOutput() DeploymentListArrayOutput

func (DeploymentListArray) ToDeploymentListArrayOutputWithContext added in v2.7.7

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

type DeploymentListArrayInput added in v2.7.7

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 added in v2.7.7

type DeploymentListArrayOutput struct{ *pulumi.OutputState }

func (DeploymentListArrayOutput) ElementType added in v2.7.7

func (DeploymentListArrayOutput) ElementType() reflect.Type

func (DeploymentListArrayOutput) Index added in v2.7.7

func (DeploymentListArrayOutput) ToDeploymentListArrayOutput added in v2.7.7

func (o DeploymentListArrayOutput) ToDeploymentListArrayOutput() DeploymentListArrayOutput

func (DeploymentListArrayOutput) ToDeploymentListArrayOutputWithContext added in v2.7.7

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

type DeploymentListInput added in v2.7.2

type DeploymentListInput interface {
	pulumi.Input

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

type DeploymentListMap added in v2.7.7

type DeploymentListMap map[string]DeploymentListInput

func (DeploymentListMap) ElementType added in v2.7.7

func (DeploymentListMap) ElementType() reflect.Type

func (DeploymentListMap) ToDeploymentListMapOutput added in v2.7.7

func (i DeploymentListMap) ToDeploymentListMapOutput() DeploymentListMapOutput

func (DeploymentListMap) ToDeploymentListMapOutputWithContext added in v2.7.7

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

type DeploymentListMapInput added in v2.7.7

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 added in v2.7.7

type DeploymentListMapOutput struct{ *pulumi.OutputState }

func (DeploymentListMapOutput) ElementType added in v2.7.7

func (DeploymentListMapOutput) ElementType() reflect.Type

func (DeploymentListMapOutput) MapIndex added in v2.7.7

func (DeploymentListMapOutput) ToDeploymentListMapOutput added in v2.7.7

func (o DeploymentListMapOutput) ToDeploymentListMapOutput() DeploymentListMapOutput

func (DeploymentListMapOutput) ToDeploymentListMapOutputWithContext added in v2.7.7

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

type DeploymentListOutput added in v2.7.2

type DeploymentListOutput struct {
	*pulumi.OutputState
}

func (DeploymentListOutput) ElementType added in v2.7.2

func (DeploymentListOutput) ElementType() reflect.Type

func (DeploymentListOutput) ToDeploymentListOutput added in v2.7.2

func (o DeploymentListOutput) ToDeploymentListOutput() DeploymentListOutput

func (DeploymentListOutput) ToDeploymentListOutputWithContext added in v2.7.2

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

func (DeploymentListOutput) ToDeploymentListPtrOutput added in v2.7.7

func (o DeploymentListOutput) ToDeploymentListPtrOutput() DeploymentListPtrOutput

func (DeploymentListOutput) ToDeploymentListPtrOutputWithContext added in v2.7.7

func (o DeploymentListOutput) ToDeploymentListPtrOutputWithContext(ctx context.Context) DeploymentListPtrOutput

type DeploymentListPtrInput added in v2.7.7

type DeploymentListPtrInput interface {
	pulumi.Input

	ToDeploymentListPtrOutput() DeploymentListPtrOutput
	ToDeploymentListPtrOutputWithContext(ctx context.Context) DeploymentListPtrOutput
}

type DeploymentListPtrOutput added in v2.7.7

type DeploymentListPtrOutput struct {
	*pulumi.OutputState
}

func (DeploymentListPtrOutput) ElementType added in v2.7.7

func (DeploymentListPtrOutput) ElementType() reflect.Type

func (DeploymentListPtrOutput) ToDeploymentListPtrOutput added in v2.7.7

func (o DeploymentListPtrOutput) ToDeploymentListPtrOutput() DeploymentListPtrOutput

func (DeploymentListPtrOutput) ToDeploymentListPtrOutputWithContext added in v2.7.7

func (o DeploymentListPtrOutput) ToDeploymentListPtrOutputWithContext(ctx context.Context) DeploymentListPtrOutput

type DeploymentListState

type DeploymentListState 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
}

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 added in v2.7.7

type DeploymentMap map[string]DeploymentInput

func (DeploymentMap) ElementType added in v2.7.7

func (DeploymentMap) ElementType() reflect.Type

func (DeploymentMap) ToDeploymentMapOutput added in v2.7.7

func (i DeploymentMap) ToDeploymentMapOutput() DeploymentMapOutput

func (DeploymentMap) ToDeploymentMapOutputWithContext added in v2.7.7

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

type DeploymentMapInput added in v2.7.7

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 added in v2.7.7

type DeploymentMapOutput struct{ *pulumi.OutputState }

func (DeploymentMapOutput) ElementType added in v2.7.7

func (DeploymentMapOutput) ElementType() reflect.Type

func (DeploymentMapOutput) MapIndex added in v2.7.7

func (DeploymentMapOutput) ToDeploymentMapOutput added in v2.7.7

func (o DeploymentMapOutput) ToDeploymentMapOutput() DeploymentMapOutput

func (DeploymentMapOutput) ToDeploymentMapOutputWithContext added in v2.7.7

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

type DeploymentOutput added in v2.7.2

type DeploymentOutput struct {
	*pulumi.OutputState
}

func (DeploymentOutput) ElementType added in v2.7.2

func (DeploymentOutput) ElementType() reflect.Type

func (DeploymentOutput) ToDeploymentOutput added in v2.7.2

func (o DeploymentOutput) ToDeploymentOutput() DeploymentOutput

func (DeploymentOutput) ToDeploymentOutputWithContext added in v2.7.2

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

func (DeploymentOutput) ToDeploymentPtrOutput added in v2.7.7

func (o DeploymentOutput) ToDeploymentPtrOutput() DeploymentPtrOutput

func (DeploymentOutput) ToDeploymentPtrOutputWithContext added in v2.7.7

func (o DeploymentOutput) ToDeploymentPtrOutputWithContext(ctx context.Context) DeploymentPtrOutput

type DeploymentPtrInput added in v2.7.7

type DeploymentPtrInput interface {
	pulumi.Input

	ToDeploymentPtrOutput() DeploymentPtrOutput
	ToDeploymentPtrOutputWithContext(ctx context.Context) DeploymentPtrOutput
}

type DeploymentPtrOutput added in v2.7.7

type DeploymentPtrOutput struct {
	*pulumi.OutputState
}

func (DeploymentPtrOutput) ElementType added in v2.7.7

func (DeploymentPtrOutput) ElementType() reflect.Type

func (DeploymentPtrOutput) ToDeploymentPtrOutput added in v2.7.7

func (o DeploymentPtrOutput) ToDeploymentPtrOutput() DeploymentPtrOutput

func (DeploymentPtrOutput) ToDeploymentPtrOutputWithContext added in v2.7.7

func (o DeploymentPtrOutput) ToDeploymentPtrOutputWithContext(ctx context.Context) DeploymentPtrOutput

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 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 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 {
	// 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
	// Most recently observed status of the Deployment.
	Status DeploymentStatusPtrInput
}

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 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 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 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 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 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 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 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 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 added in v2.7.2

func (*StatefulSet) ElementType() reflect.Type

func (*StatefulSet) ToStatefulSetOutput added in v2.7.2

func (i *StatefulSet) ToStatefulSetOutput() StatefulSetOutput

func (*StatefulSet) ToStatefulSetOutputWithContext added in v2.7.2

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

func (*StatefulSet) ToStatefulSetPtrOutput added in v2.7.7

func (i *StatefulSet) ToStatefulSetPtrOutput() StatefulSetPtrOutput

func (*StatefulSet) ToStatefulSetPtrOutputWithContext added in v2.7.7

func (i *StatefulSet) ToStatefulSetPtrOutputWithContext(ctx context.Context) StatefulSetPtrOutput

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 added in v2.7.7

type StatefulSetArray []StatefulSetInput

func (StatefulSetArray) ElementType added in v2.7.7

func (StatefulSetArray) ElementType() reflect.Type

func (StatefulSetArray) ToStatefulSetArrayOutput added in v2.7.7

func (i StatefulSetArray) ToStatefulSetArrayOutput() StatefulSetArrayOutput

func (StatefulSetArray) ToStatefulSetArrayOutputWithContext added in v2.7.7

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

type StatefulSetArrayInput added in v2.7.7

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 added in v2.7.7

type StatefulSetArrayOutput struct{ *pulumi.OutputState }

func (StatefulSetArrayOutput) ElementType added in v2.7.7

func (StatefulSetArrayOutput) ElementType() reflect.Type

func (StatefulSetArrayOutput) Index added in v2.7.7

func (StatefulSetArrayOutput) ToStatefulSetArrayOutput added in v2.7.7

func (o StatefulSetArrayOutput) ToStatefulSetArrayOutput() StatefulSetArrayOutput

func (StatefulSetArrayOutput) ToStatefulSetArrayOutputWithContext added in v2.7.7

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 StatefulSetInput added in v2.7.2

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 added in v2.7.2

func (*StatefulSetList) ElementType() reflect.Type

func (*StatefulSetList) ToStatefulSetListOutput added in v2.7.2

func (i *StatefulSetList) ToStatefulSetListOutput() StatefulSetListOutput

func (*StatefulSetList) ToStatefulSetListOutputWithContext added in v2.7.2

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

func (*StatefulSetList) ToStatefulSetListPtrOutput added in v2.7.7

func (i *StatefulSetList) ToStatefulSetListPtrOutput() StatefulSetListPtrOutput

func (*StatefulSetList) ToStatefulSetListPtrOutputWithContext added in v2.7.7

func (i *StatefulSetList) ToStatefulSetListPtrOutputWithContext(ctx context.Context) StatefulSetListPtrOutput

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 added in v2.7.7

type StatefulSetListArray []StatefulSetListInput

func (StatefulSetListArray) ElementType added in v2.7.7

func (StatefulSetListArray) ElementType() reflect.Type

func (StatefulSetListArray) ToStatefulSetListArrayOutput added in v2.7.7

func (i StatefulSetListArray) ToStatefulSetListArrayOutput() StatefulSetListArrayOutput

func (StatefulSetListArray) ToStatefulSetListArrayOutputWithContext added in v2.7.7

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

type StatefulSetListArrayInput added in v2.7.7

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 added in v2.7.7

type StatefulSetListArrayOutput struct{ *pulumi.OutputState }

func (StatefulSetListArrayOutput) ElementType added in v2.7.7

func (StatefulSetListArrayOutput) ElementType() reflect.Type

func (StatefulSetListArrayOutput) Index added in v2.7.7

func (StatefulSetListArrayOutput) ToStatefulSetListArrayOutput added in v2.7.7

func (o StatefulSetListArrayOutput) ToStatefulSetListArrayOutput() StatefulSetListArrayOutput

func (StatefulSetListArrayOutput) ToStatefulSetListArrayOutputWithContext added in v2.7.7

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

type StatefulSetListInput added in v2.7.2

type StatefulSetListInput interface {
	pulumi.Input

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

type StatefulSetListMap added in v2.7.7

type StatefulSetListMap map[string]StatefulSetListInput

func (StatefulSetListMap) ElementType added in v2.7.7

func (StatefulSetListMap) ElementType() reflect.Type

func (StatefulSetListMap) ToStatefulSetListMapOutput added in v2.7.7

func (i StatefulSetListMap) ToStatefulSetListMapOutput() StatefulSetListMapOutput

func (StatefulSetListMap) ToStatefulSetListMapOutputWithContext added in v2.7.7

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

type StatefulSetListMapInput added in v2.7.7

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 added in v2.7.7

type StatefulSetListMapOutput struct{ *pulumi.OutputState }

func (StatefulSetListMapOutput) ElementType added in v2.7.7

func (StatefulSetListMapOutput) ElementType() reflect.Type

func (StatefulSetListMapOutput) MapIndex added in v2.7.7

func (StatefulSetListMapOutput) ToStatefulSetListMapOutput added in v2.7.7

func (o StatefulSetListMapOutput) ToStatefulSetListMapOutput() StatefulSetListMapOutput

func (StatefulSetListMapOutput) ToStatefulSetListMapOutputWithContext added in v2.7.7

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

type StatefulSetListOutput added in v2.7.2

type StatefulSetListOutput struct {
	*pulumi.OutputState
}

func (StatefulSetListOutput) ElementType added in v2.7.2

func (StatefulSetListOutput) ElementType() reflect.Type

func (StatefulSetListOutput) ToStatefulSetListOutput added in v2.7.2

func (o StatefulSetListOutput) ToStatefulSetListOutput() StatefulSetListOutput

func (StatefulSetListOutput) ToStatefulSetListOutputWithContext added in v2.7.2

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

func (StatefulSetListOutput) ToStatefulSetListPtrOutput added in v2.7.7

func (o StatefulSetListOutput) ToStatefulSetListPtrOutput() StatefulSetListPtrOutput

func (StatefulSetListOutput) ToStatefulSetListPtrOutputWithContext added in v2.7.7

func (o StatefulSetListOutput) ToStatefulSetListPtrOutputWithContext(ctx context.Context) StatefulSetListPtrOutput

type StatefulSetListPtrInput added in v2.7.7

type StatefulSetListPtrInput interface {
	pulumi.Input

	ToStatefulSetListPtrOutput() StatefulSetListPtrOutput
	ToStatefulSetListPtrOutputWithContext(ctx context.Context) StatefulSetListPtrOutput
}

type StatefulSetListPtrOutput added in v2.7.7

type StatefulSetListPtrOutput struct {
	*pulumi.OutputState
}

func (StatefulSetListPtrOutput) ElementType added in v2.7.7

func (StatefulSetListPtrOutput) ElementType() reflect.Type

func (StatefulSetListPtrOutput) ToStatefulSetListPtrOutput added in v2.7.7

func (o StatefulSetListPtrOutput) ToStatefulSetListPtrOutput() StatefulSetListPtrOutput

func (StatefulSetListPtrOutput) ToStatefulSetListPtrOutputWithContext added in v2.7.7

func (o StatefulSetListPtrOutput) ToStatefulSetListPtrOutputWithContext(ctx context.Context) StatefulSetListPtrOutput

type StatefulSetListState

type StatefulSetListState 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
}

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 added in v2.7.7

type StatefulSetMap map[string]StatefulSetInput

func (StatefulSetMap) ElementType added in v2.7.7

func (StatefulSetMap) ElementType() reflect.Type

func (StatefulSetMap) ToStatefulSetMapOutput added in v2.7.7

func (i StatefulSetMap) ToStatefulSetMapOutput() StatefulSetMapOutput

func (StatefulSetMap) ToStatefulSetMapOutputWithContext added in v2.7.7

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

type StatefulSetMapInput added in v2.7.7

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 added in v2.7.7

type StatefulSetMapOutput struct{ *pulumi.OutputState }

func (StatefulSetMapOutput) ElementType added in v2.7.7

func (StatefulSetMapOutput) ElementType() reflect.Type

func (StatefulSetMapOutput) MapIndex added in v2.7.7

func (StatefulSetMapOutput) ToStatefulSetMapOutput added in v2.7.7

func (o StatefulSetMapOutput) ToStatefulSetMapOutput() StatefulSetMapOutput

func (StatefulSetMapOutput) ToStatefulSetMapOutputWithContext added in v2.7.7

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

type StatefulSetOutput added in v2.7.2

type StatefulSetOutput struct {
	*pulumi.OutputState
}

func (StatefulSetOutput) ElementType added in v2.7.2

func (StatefulSetOutput) ElementType() reflect.Type

func (StatefulSetOutput) ToStatefulSetOutput added in v2.7.2

func (o StatefulSetOutput) ToStatefulSetOutput() StatefulSetOutput

func (StatefulSetOutput) ToStatefulSetOutputWithContext added in v2.7.2

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

func (StatefulSetOutput) ToStatefulSetPtrOutput added in v2.7.7

func (o StatefulSetOutput) ToStatefulSetPtrOutput() StatefulSetPtrOutput

func (StatefulSetOutput) ToStatefulSetPtrOutputWithContext added in v2.7.7

func (o StatefulSetOutput) ToStatefulSetPtrOutputWithContext(ctx context.Context) StatefulSetPtrOutput

type StatefulSetPtrInput added in v2.7.7

type StatefulSetPtrInput interface {
	pulumi.Input

	ToStatefulSetPtrOutput() StatefulSetPtrOutput
	ToStatefulSetPtrOutputWithContext(ctx context.Context) StatefulSetPtrOutput
}

type StatefulSetPtrOutput added in v2.7.7

type StatefulSetPtrOutput struct {
	*pulumi.OutputState
}

func (StatefulSetPtrOutput) ElementType added in v2.7.7

func (StatefulSetPtrOutput) ElementType() reflect.Type

func (StatefulSetPtrOutput) ToStatefulSetPtrOutput added in v2.7.7

func (o StatefulSetPtrOutput) ToStatefulSetPtrOutput() StatefulSetPtrOutput

func (StatefulSetPtrOutput) ToStatefulSetPtrOutputWithContext added in v2.7.7

func (o StatefulSetPtrOutput) ToStatefulSetPtrOutputWithContext(ctx context.Context) StatefulSetPtrOutput

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 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 {
	// 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
	// Status is the current status of Pods in this StatefulSet. This data may be out of date by some window of time.
	Status StatefulSetStatusPtrInput
}

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