From ac7bdfe6573102604919071a34c2329e6d79111a Mon Sep 17 00:00:00 2001 From: Florian Stadler Date: Wed, 25 Sep 2024 20:14:07 +0200 Subject: [PATCH] Update default instance type to t3.medium (#1386) The current default, t2.medium, is an instance type from 2014 that is becoming less common in AWS data centers. This means users will encounter more errors when deploying clusters with the provider when using the default instance type. This mostly affects beginner users, as more experienced users typically do not rely on the default instance types and instead configure appropriate types for their workloads. This change replaces the default t2.medium instances with t3.medium. These newer instances offer better performance and are marginally cheaper ($0.0416 vs. $0.0464 per hour). --- nodejs/eks/cluster.ts | 2 +- nodejs/eks/nodegroup.ts | 6 +++--- provider/cmd/pulumi-gen-eks/main.go | 4 ++-- provider/cmd/pulumi-resource-eks/schema.json | 8 ++++---- sdk/dotnet/Cluster.cs | 2 +- sdk/dotnet/Inputs/ClusterNodeGroupOptionsArgs.cs | 2 +- sdk/dotnet/NodeGroup.cs | 2 +- sdk/dotnet/NodeGroupV2.cs | 2 +- sdk/dotnet/Outputs/ClusterNodeGroupOptions.cs | 2 +- sdk/go/eks/cluster.go | 4 ++-- sdk/go/eks/nodeGroup.go | 4 ++-- sdk/go/eks/nodeGroupV2.go | 4 ++-- sdk/go/eks/pulumiTypes.go | 8 ++++---- sdk/java/src/main/java/com/pulumi/eks/ClusterArgs.java | 8 ++++---- sdk/java/src/main/java/com/pulumi/eks/NodeGroupArgs.java | 8 ++++---- .../src/main/java/com/pulumi/eks/NodeGroupV2Args.java | 8 ++++---- .../pulumi/eks/inputs/ClusterNodeGroupOptionsArgs.java | 8 ++++---- .../com/pulumi/eks/outputs/ClusterNodeGroupOptions.java | 4 ++-- sdk/nodejs/cluster.ts | 2 +- sdk/nodejs/nodeGroup.ts | 2 +- sdk/nodejs/nodeGroupV2.ts | 2 +- sdk/nodejs/types/input.ts | 2 +- sdk/nodejs/types/output.ts | 2 +- sdk/python/pulumi_eks/_inputs.py | 4 ++-- sdk/python/pulumi_eks/cluster.py | 6 +++--- sdk/python/pulumi_eks/node_group.py | 6 +++--- sdk/python/pulumi_eks/node_group_v2.py | 6 +++--- sdk/python/pulumi_eks/outputs.py | 4 ++-- 28 files changed, 61 insertions(+), 61 deletions(-) diff --git a/nodejs/eks/cluster.ts b/nodejs/eks/cluster.ts index 021d8e97a..d2cc09088 100644 --- a/nodejs/eks/cluster.ts +++ b/nodejs/eks/cluster.ts @@ -1358,7 +1358,7 @@ export interface ClusterOptions { useDefaultVpcCni?: boolean; /** - * The instance type to use for the cluster's nodes. Defaults to "t2.medium". + * The instance type to use for the cluster's nodes. Defaults to "t3.medium". */ instanceType?: pulumi.Input; diff --git a/nodejs/eks/nodegroup.ts b/nodejs/eks/nodegroup.ts index 619aa57d8..ec424336f 100644 --- a/nodejs/eks/nodegroup.ts +++ b/nodejs/eks/nodegroup.ts @@ -79,7 +79,7 @@ export interface NodeGroupBaseOptions { nodeSubnetIds?: pulumi.Input[]>; /** - * The instance type to use for the cluster's nodes. Defaults to "t2.medium". + * The instance type to use for the cluster's nodes. Defaults to "t3.medium". */ instanceType?: pulumi.Input; @@ -952,7 +952,7 @@ function createNodeGroupInternal( { associatePublicIpAddress: nodeAssociatePublicIpAddress, imageId: amiId, - instanceType: args.instanceType || "t2.medium", + instanceType: args.instanceType || "t3.medium", iamInstanceProfile: instanceProfile, keyName: keyName, securityGroups: pulumi @@ -1424,7 +1424,7 @@ function createNodeGroupV2Internal( `${name}-launchTemplate`, { imageId: amiId, - instanceType: args.instanceType || "t2.medium", + instanceType: args.instanceType || "t3.medium", iamInstanceProfile: { arn: instanceProfileArn }, keyName: keyName, instanceMarketOptions: marketOptions, diff --git a/provider/cmd/pulumi-gen-eks/main.go b/provider/cmd/pulumi-gen-eks/main.go index e432f0f22..0d835f9f2 100644 --- a/provider/cmd/pulumi-gen-eks/main.go +++ b/provider/cmd/pulumi-gen-eks/main.go @@ -353,7 +353,7 @@ func generateSchema() schema.PackageSpec { }, "instanceType": { TypeSpec: schema.TypeSpec{Type: "string"}, // TODO: aws.ec2.InstanceType is a string enum. - Description: "The instance type to use for the cluster's nodes. Defaults to \"t2.medium\".", + Description: "The instance type to use for the cluster's nodes. Defaults to \"t3.medium\".", }, "instanceRole": { TypeSpec: schema.TypeSpec{Ref: awsRef("#/resources/aws:iam%2Frole:Role")}, @@ -2035,7 +2035,7 @@ func nodeGroupProperties(cluster, v2 bool) map[string]schema.PropertySpec { }, "instanceType": { TypeSpec: schema.TypeSpec{Type: "string"}, // TODO: aws.ec2.InstanceType is a string enum. - Description: "The instance type to use for the cluster's nodes. Defaults to \"t2.medium\".", + Description: "The instance type to use for the cluster's nodes. Defaults to \"t3.medium\".", }, "spotPrice": { TypeSpec: schema.TypeSpec{Type: "string"}, diff --git a/provider/cmd/pulumi-resource-eks/schema.json b/provider/cmd/pulumi-resource-eks/schema.json index 9dea69fa4..94c3b0c7a 100644 --- a/provider/cmd/pulumi-resource-eks/schema.json +++ b/provider/cmd/pulumi-resource-eks/schema.json @@ -302,7 +302,7 @@ }, "instanceType": { "type": "string", - "description": "The instance type to use for the cluster's nodes. Defaults to \"t2.medium\"." + "description": "The instance type to use for the cluster's nodes. Defaults to \"t3.medium\"." }, "keyName": { "type": "string", @@ -1253,7 +1253,7 @@ }, "instanceType": { "type": "string", - "description": "The instance type to use for the cluster's nodes. Defaults to \"t2.medium\"." + "description": "The instance type to use for the cluster's nodes. Defaults to \"t3.medium\"." }, "ipFamily": { "type": "string", @@ -1732,7 +1732,7 @@ }, "instanceType": { "type": "string", - "description": "The instance type to use for the cluster's nodes. Defaults to \"t2.medium\"." + "description": "The instance type to use for the cluster's nodes. Defaults to \"t3.medium\"." }, "keyName": { "type": "string", @@ -2000,7 +2000,7 @@ }, "instanceType": { "type": "string", - "description": "The instance type to use for the cluster's nodes. Defaults to \"t2.medium\"." + "description": "The instance type to use for the cluster's nodes. Defaults to \"t3.medium\"." }, "keyName": { "type": "string", diff --git a/sdk/dotnet/Cluster.cs b/sdk/dotnet/Cluster.cs index 45bac0e6d..a36dcae61 100644 --- a/sdk/dotnet/Cluster.cs +++ b/sdk/dotnet/Cluster.cs @@ -336,7 +336,7 @@ public InputList InstanceRoles } /// - /// The instance type to use for the cluster's nodes. Defaults to "t2.medium". + /// The instance type to use for the cluster's nodes. Defaults to "t3.medium". /// [Input("instanceType")] public Input? InstanceType { get; set; } diff --git a/sdk/dotnet/Inputs/ClusterNodeGroupOptionsArgs.cs b/sdk/dotnet/Inputs/ClusterNodeGroupOptionsArgs.cs index 8a9ec0839..c91293d61 100644 --- a/sdk/dotnet/Inputs/ClusterNodeGroupOptionsArgs.cs +++ b/sdk/dotnet/Inputs/ClusterNodeGroupOptionsArgs.cs @@ -168,7 +168,7 @@ public InputList ExtraNodeSecurityGroups public Pulumi.Aws.Iam.InstanceProfile? InstanceProfile { get; set; } /// - /// The instance type to use for the cluster's nodes. Defaults to "t2.medium". + /// The instance type to use for the cluster's nodes. Defaults to "t3.medium". /// [Input("instanceType")] public Input? InstanceType { get; set; } diff --git a/sdk/dotnet/NodeGroup.cs b/sdk/dotnet/NodeGroup.cs index 595f33cab..40422defb 100644 --- a/sdk/dotnet/NodeGroup.cs +++ b/sdk/dotnet/NodeGroup.cs @@ -219,7 +219,7 @@ public InputList ExtraNodeSecurityGroups public Pulumi.Aws.Iam.InstanceProfile? InstanceProfile { get; set; } /// - /// The instance type to use for the cluster's nodes. Defaults to "t2.medium". + /// The instance type to use for the cluster's nodes. Defaults to "t3.medium". /// [Input("instanceType")] public Input? InstanceType { get; set; } diff --git a/sdk/dotnet/NodeGroupV2.cs b/sdk/dotnet/NodeGroupV2.cs index 811ce2315..1a5a2443e 100644 --- a/sdk/dotnet/NodeGroupV2.cs +++ b/sdk/dotnet/NodeGroupV2.cs @@ -220,7 +220,7 @@ public InputList ExtraNodeSecurityGroups public Pulumi.Aws.Iam.InstanceProfile? InstanceProfile { get; set; } /// - /// The instance type to use for the cluster's nodes. Defaults to "t2.medium". + /// The instance type to use for the cluster's nodes. Defaults to "t3.medium". /// [Input("instanceType")] public Input? InstanceType { get; set; } diff --git a/sdk/dotnet/Outputs/ClusterNodeGroupOptions.cs b/sdk/dotnet/Outputs/ClusterNodeGroupOptions.cs index c8931e9ca..749a8b2d8 100644 --- a/sdk/dotnet/Outputs/ClusterNodeGroupOptions.cs +++ b/sdk/dotnet/Outputs/ClusterNodeGroupOptions.cs @@ -117,7 +117,7 @@ public sealed class ClusterNodeGroupOptions /// public readonly Pulumi.Aws.Iam.InstanceProfile? InstanceProfile; /// - /// The instance type to use for the cluster's nodes. Defaults to "t2.medium". + /// The instance type to use for the cluster's nodes. Defaults to "t3.medium". /// public readonly string? InstanceType; /// diff --git a/sdk/go/eks/cluster.go b/sdk/go/eks/cluster.go index 7c7899fcb..875ea078f 100644 --- a/sdk/go/eks/cluster.go +++ b/sdk/go/eks/cluster.go @@ -175,7 +175,7 @@ type clusterArgs struct { // // Note: options `instanceRole` and `instanceRoles` are mutually exclusive. InstanceRoles []*iam.Role `pulumi:"instanceRoles"` - // The instance type to use for the cluster's nodes. Defaults to "t2.medium". + // The instance type to use for the cluster's nodes. Defaults to "t3.medium". InstanceType *string `pulumi:"instanceType"` // The IP family used to assign Kubernetes pod and service addresses. Valid values are `ipv4` (default) and `ipv6`. // You can only specify an IP family when you create a cluster, changing this value will force a new cluster to be created. @@ -407,7 +407,7 @@ type ClusterArgs struct { // // Note: options `instanceRole` and `instanceRoles` are mutually exclusive. InstanceRoles iam.RoleArrayInput - // The instance type to use for the cluster's nodes. Defaults to "t2.medium". + // The instance type to use for the cluster's nodes. Defaults to "t3.medium". InstanceType pulumi.StringPtrInput // The IP family used to assign Kubernetes pod and service addresses. Valid values are `ipv4` (default) and `ipv6`. // You can only specify an IP family when you create a cluster, changing this value will force a new cluster to be created. diff --git a/sdk/go/eks/nodeGroup.go b/sdk/go/eks/nodeGroup.go index 16b583753..ce95bcc1d 100644 --- a/sdk/go/eks/nodeGroup.go +++ b/sdk/go/eks/nodeGroup.go @@ -121,7 +121,7 @@ type nodeGroupArgs struct { Gpu *bool `pulumi:"gpu"` // The ingress rule that gives node group access. InstanceProfile *iam.InstanceProfile `pulumi:"instanceProfile"` - // The instance type to use for the cluster's nodes. Defaults to "t2.medium". + // The instance type to use for the cluster's nodes. Defaults to "t3.medium". InstanceType *string `pulumi:"instanceType"` // Name of the key pair to use for SSH access to worker nodes. KeyName *string `pulumi:"keyName"` @@ -267,7 +267,7 @@ type NodeGroupArgs struct { Gpu pulumi.BoolPtrInput // The ingress rule that gives node group access. InstanceProfile *iam.InstanceProfile - // The instance type to use for the cluster's nodes. Defaults to "t2.medium". + // The instance type to use for the cluster's nodes. Defaults to "t3.medium". InstanceType pulumi.StringPtrInput // Name of the key pair to use for SSH access to worker nodes. KeyName pulumi.StringPtrInput diff --git a/sdk/go/eks/nodeGroupV2.go b/sdk/go/eks/nodeGroupV2.go index 11f558f18..8fe5a7d8e 100644 --- a/sdk/go/eks/nodeGroupV2.go +++ b/sdk/go/eks/nodeGroupV2.go @@ -121,7 +121,7 @@ type nodeGroupV2Args struct { IgnoreScalingChanges *bool `pulumi:"ignoreScalingChanges"` // The ingress rule that gives node group access. InstanceProfile *iam.InstanceProfile `pulumi:"instanceProfile"` - // The instance type to use for the cluster's nodes. Defaults to "t2.medium". + // The instance type to use for the cluster's nodes. Defaults to "t3.medium". InstanceType *string `pulumi:"instanceType"` // Name of the key pair to use for SSH access to worker nodes. KeyName *string `pulumi:"keyName"` @@ -275,7 +275,7 @@ type NodeGroupV2Args struct { IgnoreScalingChanges *bool // The ingress rule that gives node group access. InstanceProfile *iam.InstanceProfile - // The instance type to use for the cluster's nodes. Defaults to "t2.medium". + // The instance type to use for the cluster's nodes. Defaults to "t3.medium". InstanceType pulumi.StringPtrInput // Name of the key pair to use for SSH access to worker nodes. KeyName pulumi.StringPtrInput diff --git a/sdk/go/eks/pulumiTypes.go b/sdk/go/eks/pulumiTypes.go index 24829a959..f7ecf85ed 100644 --- a/sdk/go/eks/pulumiTypes.go +++ b/sdk/go/eks/pulumiTypes.go @@ -370,7 +370,7 @@ type ClusterNodeGroupOptions struct { IgnoreScalingChanges *bool `pulumi:"ignoreScalingChanges"` // The ingress rule that gives node group access. InstanceProfile *iam.InstanceProfile `pulumi:"instanceProfile"` - // The instance type to use for the cluster's nodes. Defaults to "t2.medium". + // The instance type to use for the cluster's nodes. Defaults to "t3.medium". InstanceType *string `pulumi:"instanceType"` // Name of the key pair to use for SSH access to worker nodes. KeyName *string `pulumi:"keyName"` @@ -533,7 +533,7 @@ type ClusterNodeGroupOptionsArgs struct { IgnoreScalingChanges *bool `pulumi:"ignoreScalingChanges"` // The ingress rule that gives node group access. InstanceProfile *iam.InstanceProfile `pulumi:"instanceProfile"` - // The instance type to use for the cluster's nodes. Defaults to "t2.medium". + // The instance type to use for the cluster's nodes. Defaults to "t3.medium". InstanceType pulumi.StringPtrInput `pulumi:"instanceType"` // Name of the key pair to use for SSH access to worker nodes. KeyName pulumi.StringPtrInput `pulumi:"keyName"` @@ -803,7 +803,7 @@ func (o ClusterNodeGroupOptionsOutput) InstanceProfile() iam.InstanceProfileOutp return o.ApplyT(func(v ClusterNodeGroupOptions) *iam.InstanceProfile { return v.InstanceProfile }).(iam.InstanceProfileOutput) } -// The instance type to use for the cluster's nodes. Defaults to "t2.medium". +// The instance type to use for the cluster's nodes. Defaults to "t3.medium". func (o ClusterNodeGroupOptionsOutput) InstanceType() pulumi.StringPtrOutput { return o.ApplyT(func(v ClusterNodeGroupOptions) *string { return v.InstanceType }).(pulumi.StringPtrOutput) } @@ -1164,7 +1164,7 @@ func (o ClusterNodeGroupOptionsPtrOutput) InstanceProfile() iam.InstanceProfileO }).(iam.InstanceProfileOutput) } -// The instance type to use for the cluster's nodes. Defaults to "t2.medium". +// The instance type to use for the cluster's nodes. Defaults to "t3.medium". func (o ClusterNodeGroupOptionsPtrOutput) InstanceType() pulumi.StringPtrOutput { return o.ApplyT(func(v *ClusterNodeGroupOptions) *string { if v == nil { diff --git a/sdk/java/src/main/java/com/pulumi/eks/ClusterArgs.java b/sdk/java/src/main/java/com/pulumi/eks/ClusterArgs.java index 75c85ebc2..c988f8101 100644 --- a/sdk/java/src/main/java/com/pulumi/eks/ClusterArgs.java +++ b/sdk/java/src/main/java/com/pulumi/eks/ClusterArgs.java @@ -409,14 +409,14 @@ public Optional>> instanceRoles() { } /** - * The instance type to use for the cluster's nodes. Defaults to "t2.medium". + * The instance type to use for the cluster's nodes. Defaults to "t3.medium". * */ @Import(name="instanceType") private @Nullable Output instanceType; /** - * @return The instance type to use for the cluster's nodes. Defaults to "t2.medium". + * @return The instance type to use for the cluster's nodes. Defaults to "t3.medium". * */ public Optional> instanceType() { @@ -1636,7 +1636,7 @@ public Builder instanceRoles(Role... instanceRoles) { } /** - * @param instanceType The instance type to use for the cluster's nodes. Defaults to "t2.medium". + * @param instanceType The instance type to use for the cluster's nodes. Defaults to "t3.medium". * * @return builder * @@ -1647,7 +1647,7 @@ public Builder instanceType(@Nullable Output instanceType) { } /** - * @param instanceType The instance type to use for the cluster's nodes. Defaults to "t2.medium". + * @param instanceType The instance type to use for the cluster's nodes. Defaults to "t3.medium". * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/eks/NodeGroupArgs.java b/sdk/java/src/main/java/com/pulumi/eks/NodeGroupArgs.java index aa6c761b4..b56329499 100644 --- a/sdk/java/src/main/java/com/pulumi/eks/NodeGroupArgs.java +++ b/sdk/java/src/main/java/com/pulumi/eks/NodeGroupArgs.java @@ -324,14 +324,14 @@ public Optional instanceProfile() { } /** - * The instance type to use for the cluster's nodes. Defaults to "t2.medium". + * The instance type to use for the cluster's nodes. Defaults to "t3.medium". * */ @Import(name="instanceType") private @Nullable Output instanceType; /** - * @return The instance type to use for the cluster's nodes. Defaults to "t2.medium". + * @return The instance type to use for the cluster's nodes. Defaults to "t3.medium". * */ public Optional> instanceType() { @@ -1171,7 +1171,7 @@ public Builder instanceProfile(@Nullable InstanceProfile instanceProfile) { } /** - * @param instanceType The instance type to use for the cluster's nodes. Defaults to "t2.medium". + * @param instanceType The instance type to use for the cluster's nodes. Defaults to "t3.medium". * * @return builder * @@ -1182,7 +1182,7 @@ public Builder instanceType(@Nullable Output instanceType) { } /** - * @param instanceType The instance type to use for the cluster's nodes. Defaults to "t2.medium". + * @param instanceType The instance type to use for the cluster's nodes. Defaults to "t3.medium". * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/eks/NodeGroupV2Args.java b/sdk/java/src/main/java/com/pulumi/eks/NodeGroupV2Args.java index 12e43bc9e..9b2af336a 100644 --- a/sdk/java/src/main/java/com/pulumi/eks/NodeGroupV2Args.java +++ b/sdk/java/src/main/java/com/pulumi/eks/NodeGroupV2Args.java @@ -344,14 +344,14 @@ public Optional instanceProfile() { } /** - * The instance type to use for the cluster's nodes. Defaults to "t2.medium". + * The instance type to use for the cluster's nodes. Defaults to "t3.medium". * */ @Import(name="instanceType") private @Nullable Output instanceType; /** - * @return The instance type to use for the cluster's nodes. Defaults to "t2.medium". + * @return The instance type to use for the cluster's nodes. Defaults to "t3.medium". * */ public Optional> instanceType() { @@ -1237,7 +1237,7 @@ public Builder instanceProfile(@Nullable InstanceProfile instanceProfile) { } /** - * @param instanceType The instance type to use for the cluster's nodes. Defaults to "t2.medium". + * @param instanceType The instance type to use for the cluster's nodes. Defaults to "t3.medium". * * @return builder * @@ -1248,7 +1248,7 @@ public Builder instanceType(@Nullable Output instanceType) { } /** - * @param instanceType The instance type to use for the cluster's nodes. Defaults to "t2.medium". + * @param instanceType The instance type to use for the cluster's nodes. Defaults to "t3.medium". * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/eks/inputs/ClusterNodeGroupOptionsArgs.java b/sdk/java/src/main/java/com/pulumi/eks/inputs/ClusterNodeGroupOptionsArgs.java index 55e71272e..8e9bb0cde 100644 --- a/sdk/java/src/main/java/com/pulumi/eks/inputs/ClusterNodeGroupOptionsArgs.java +++ b/sdk/java/src/main/java/com/pulumi/eks/inputs/ClusterNodeGroupOptionsArgs.java @@ -330,14 +330,14 @@ public Optional instanceProfile() { } /** - * The instance type to use for the cluster's nodes. Defaults to "t2.medium". + * The instance type to use for the cluster's nodes. Defaults to "t3.medium". * */ @Import(name="instanceType") private @Nullable Output instanceType; /** - * @return The instance type to use for the cluster's nodes. Defaults to "t2.medium". + * @return The instance type to use for the cluster's nodes. Defaults to "t3.medium". * */ public Optional> instanceType() { @@ -1181,7 +1181,7 @@ public Builder instanceProfile(@Nullable InstanceProfile instanceProfile) { } /** - * @param instanceType The instance type to use for the cluster's nodes. Defaults to "t2.medium". + * @param instanceType The instance type to use for the cluster's nodes. Defaults to "t3.medium". * * @return builder * @@ -1192,7 +1192,7 @@ public Builder instanceType(@Nullable Output instanceType) { } /** - * @param instanceType The instance type to use for the cluster's nodes. Defaults to "t2.medium". + * @param instanceType The instance type to use for the cluster's nodes. Defaults to "t3.medium". * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/eks/outputs/ClusterNodeGroupOptions.java b/sdk/java/src/main/java/com/pulumi/eks/outputs/ClusterNodeGroupOptions.java index dd0c34df1..849565093 100644 --- a/sdk/java/src/main/java/com/pulumi/eks/outputs/ClusterNodeGroupOptions.java +++ b/sdk/java/src/main/java/com/pulumi/eks/outputs/ClusterNodeGroupOptions.java @@ -138,7 +138,7 @@ public final class ClusterNodeGroupOptions { */ private @Nullable InstanceProfile instanceProfile; /** - * @return The instance type to use for the cluster's nodes. Defaults to "t2.medium". + * @return The instance type to use for the cluster's nodes. Defaults to "t3.medium". * */ private @Nullable String instanceType; @@ -433,7 +433,7 @@ public Optional instanceProfile() { return Optional.ofNullable(this.instanceProfile); } /** - * @return The instance type to use for the cluster's nodes. Defaults to "t2.medium". + * @return The instance type to use for the cluster's nodes. Defaults to "t3.medium". * */ public Optional instanceType() { diff --git a/sdk/nodejs/cluster.ts b/sdk/nodejs/cluster.ts index a15b40019..29cdcf740 100644 --- a/sdk/nodejs/cluster.ts +++ b/sdk/nodejs/cluster.ts @@ -317,7 +317,7 @@ export interface ClusterArgs { */ instanceRoles?: pulumi.Input[]>; /** - * The instance type to use for the cluster's nodes. Defaults to "t2.medium". + * The instance type to use for the cluster's nodes. Defaults to "t3.medium". */ instanceType?: pulumi.Input; /** diff --git a/sdk/nodejs/nodeGroup.ts b/sdk/nodejs/nodeGroup.ts index 9c23bf4c3..ac9a3f634 100644 --- a/sdk/nodejs/nodeGroup.ts +++ b/sdk/nodejs/nodeGroup.ts @@ -218,7 +218,7 @@ export interface NodeGroupArgs { */ instanceProfile?: pulumiAws.iam.InstanceProfile; /** - * The instance type to use for the cluster's nodes. Defaults to "t2.medium". + * The instance type to use for the cluster's nodes. Defaults to "t3.medium". */ instanceType?: pulumi.Input; /** diff --git a/sdk/nodejs/nodeGroupV2.ts b/sdk/nodejs/nodeGroupV2.ts index 9c5843c59..b49560eaf 100644 --- a/sdk/nodejs/nodeGroupV2.ts +++ b/sdk/nodejs/nodeGroupV2.ts @@ -217,7 +217,7 @@ export interface NodeGroupV2Args { */ instanceProfile?: pulumiAws.iam.InstanceProfile; /** - * The instance type to use for the cluster's nodes. Defaults to "t2.medium". + * The instance type to use for the cluster's nodes. Defaults to "t3.medium". */ instanceType?: pulumi.Input; /** diff --git a/sdk/nodejs/types/input.ts b/sdk/nodejs/types/input.ts index 5e8c479e1..733db2417 100644 --- a/sdk/nodejs/types/input.ts +++ b/sdk/nodejs/types/input.ts @@ -168,7 +168,7 @@ export interface ClusterNodeGroupOptionsArgs { */ instanceProfile?: pulumiAws.iam.InstanceProfile; /** - * The instance type to use for the cluster's nodes. Defaults to "t2.medium". + * The instance type to use for the cluster's nodes. Defaults to "t3.medium". */ instanceType?: pulumi.Input; /** diff --git a/sdk/nodejs/types/output.ts b/sdk/nodejs/types/output.ts index a8fbd81cf..c74df0f80 100644 --- a/sdk/nodejs/types/output.ts +++ b/sdk/nodejs/types/output.ts @@ -168,7 +168,7 @@ export interface ClusterNodeGroupOptions { */ instanceProfile?: pulumiAws.iam.InstanceProfile; /** - * The instance type to use for the cluster's nodes. Defaults to "t2.medium". + * The instance type to use for the cluster's nodes. Defaults to "t3.medium". */ instanceType?: string; /** diff --git a/sdk/python/pulumi_eks/_inputs.py b/sdk/python/pulumi_eks/_inputs.py index 1db5dcf25..ab266c60c 100644 --- a/sdk/python/pulumi_eks/_inputs.py +++ b/sdk/python/pulumi_eks/_inputs.py @@ -282,7 +282,7 @@ def __init__(__self__, *, See [EKS best practices](https://aws.github.io/aws-eks-best-practices/cluster-autoscaling/) for more details. :param 'pulumi_aws.iam.InstanceProfile' instance_profile: The ingress rule that gives node group access. - :param pulumi.Input[str] instance_type: The instance type to use for the cluster's nodes. Defaults to "t2.medium". + :param pulumi.Input[str] instance_type: The instance type to use for the cluster's nodes. Defaults to "t3.medium". :param pulumi.Input[str] key_name: Name of the key pair to use for SSH access to worker nodes. :param str kubelet_extra_args: Extra args to pass to the Kubelet. Corresponds to the options passed in the `--kubeletExtraArgs` flag to `/etc/eks/bootstrap.sh`. For example, '--port=10251 --address=0.0.0.0'. Note that the `labels` and `taints` properties will be applied to this list (using `--node-labels` and `--register-with-taints` respectively) after to the explicit `kubeletExtraArgs`. :param Mapping[str, str] labels: Custom k8s node labels to be attached to each worker node. Adds the given key/value pairs to the `--node-labels` kubelet argument. @@ -629,7 +629,7 @@ def instance_profile(self, value: Optional['pulumi_aws.iam.InstanceProfile']): @pulumi.getter(name="instanceType") def instance_type(self) -> Optional[pulumi.Input[str]]: """ - The instance type to use for the cluster's nodes. Defaults to "t2.medium". + The instance type to use for the cluster's nodes. Defaults to "t3.medium". """ return pulumi.get(self, "instance_type") diff --git a/sdk/python/pulumi_eks/cluster.py b/sdk/python/pulumi_eks/cluster.py index 16b7ee945..878c19160 100644 --- a/sdk/python/pulumi_eks/cluster.py +++ b/sdk/python/pulumi_eks/cluster.py @@ -131,7 +131,7 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input['pulumi_aws.iam.Role']]] instance_roles: This enables the advanced case of registering *many* IAM instance roles with the cluster for per node group IAM, instead of the simpler, shared case of `instanceRole`. Note: options `instanceRole` and `instanceRoles` are mutually exclusive. - :param pulumi.Input[str] instance_type: The instance type to use for the cluster's nodes. Defaults to "t2.medium". + :param pulumi.Input[str] instance_type: The instance type to use for the cluster's nodes. Defaults to "t3.medium". :param pulumi.Input[str] ip_family: The IP family used to assign Kubernetes pod and service addresses. Valid values are `ipv4` (default) and `ipv6`. You can only specify an IP family when you create a cluster, changing this value will force a new cluster to be created. :param 'KubeProxyAddonOptionsArgs' kube_proxy_addon_options: Options for managing the `kube-proxy` addon. @@ -637,7 +637,7 @@ def instance_roles(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['pul @pulumi.getter(name="instanceType") def instance_type(self) -> Optional[pulumi.Input[str]]: """ - The instance type to use for the cluster's nodes. Defaults to "t2.medium". + The instance type to use for the cluster's nodes. Defaults to "t3.medium". """ return pulumi.get(self, "instance_type") @@ -1243,7 +1243,7 @@ def __init__(__self__, :param pulumi.Input[Sequence[pulumi.Input['pulumi_aws.iam.Role']]] instance_roles: This enables the advanced case of registering *many* IAM instance roles with the cluster for per node group IAM, instead of the simpler, shared case of `instanceRole`. Note: options `instanceRole` and `instanceRoles` are mutually exclusive. - :param pulumi.Input[str] instance_type: The instance type to use for the cluster's nodes. Defaults to "t2.medium". + :param pulumi.Input[str] instance_type: The instance type to use for the cluster's nodes. Defaults to "t3.medium". :param pulumi.Input[str] ip_family: The IP family used to assign Kubernetes pod and service addresses. Valid values are `ipv4` (default) and `ipv6`. You can only specify an IP family when you create a cluster, changing this value will force a new cluster to be created. :param Union['KubeProxyAddonOptionsArgs', 'KubeProxyAddonOptionsArgsDict'] kube_proxy_addon_options: Options for managing the `kube-proxy` addon. diff --git a/sdk/python/pulumi_eks/node_group.py b/sdk/python/pulumi_eks/node_group.py index 131dce4d8..9feefcb0a 100644 --- a/sdk/python/pulumi_eks/node_group.py +++ b/sdk/python/pulumi_eks/node_group.py @@ -115,7 +115,7 @@ def __init__(__self__, *, - https://docs.aws.amazon.com/eks/latest/userguide/eks-optimized-ami.html - https://docs.aws.amazon.com/eks/latest/userguide/retrieve-ami-id.html :param 'pulumi_aws.iam.InstanceProfile' instance_profile: The ingress rule that gives node group access. - :param pulumi.Input[str] instance_type: The instance type to use for the cluster's nodes. Defaults to "t2.medium". + :param pulumi.Input[str] instance_type: The instance type to use for the cluster's nodes. Defaults to "t3.medium". :param pulumi.Input[str] key_name: Name of the key pair to use for SSH access to worker nodes. :param str kubelet_extra_args: Extra args to pass to the Kubelet. Corresponds to the options passed in the `--kubeletExtraArgs` flag to `/etc/eks/bootstrap.sh`. For example, '--port=10251 --address=0.0.0.0'. Note that the `labels` and `taints` properties will be applied to this list (using `--node-labels` and `--register-with-taints` respectively) after to the explicit `kubeletExtraArgs`. :param Mapping[str, str] labels: Custom k8s node labels to be attached to each worker node. Adds the given key/value pairs to the `--node-labels` kubelet argument. @@ -453,7 +453,7 @@ def instance_profile(self, value: Optional['pulumi_aws.iam.InstanceProfile']): @pulumi.getter(name="instanceType") def instance_type(self) -> Optional[pulumi.Input[str]]: """ - The instance type to use for the cluster's nodes. Defaults to "t2.medium". + The instance type to use for the cluster's nodes. Defaults to "t3.medium". """ return pulumi.get(self, "instance_type") @@ -861,7 +861,7 @@ def __init__(__self__, - https://docs.aws.amazon.com/eks/latest/userguide/eks-optimized-ami.html - https://docs.aws.amazon.com/eks/latest/userguide/retrieve-ami-id.html :param 'pulumi_aws.iam.InstanceProfile' instance_profile: The ingress rule that gives node group access. - :param pulumi.Input[str] instance_type: The instance type to use for the cluster's nodes. Defaults to "t2.medium". + :param pulumi.Input[str] instance_type: The instance type to use for the cluster's nodes. Defaults to "t3.medium". :param pulumi.Input[str] key_name: Name of the key pair to use for SSH access to worker nodes. :param str kubelet_extra_args: Extra args to pass to the Kubelet. Corresponds to the options passed in the `--kubeletExtraArgs` flag to `/etc/eks/bootstrap.sh`. For example, '--port=10251 --address=0.0.0.0'. Note that the `labels` and `taints` properties will be applied to this list (using `--node-labels` and `--register-with-taints` respectively) after to the explicit `kubeletExtraArgs`. :param Mapping[str, str] labels: Custom k8s node labels to be attached to each worker node. Adds the given key/value pairs to the `--node-labels` kubelet argument. diff --git a/sdk/python/pulumi_eks/node_group_v2.py b/sdk/python/pulumi_eks/node_group_v2.py index 3a7d19594..ade337404 100644 --- a/sdk/python/pulumi_eks/node_group_v2.py +++ b/sdk/python/pulumi_eks/node_group_v2.py @@ -121,7 +121,7 @@ def __init__(__self__, *, See [EKS best practices](https://aws.github.io/aws-eks-best-practices/cluster-autoscaling/) for more details. :param 'pulumi_aws.iam.InstanceProfile' instance_profile: The ingress rule that gives node group access. - :param pulumi.Input[str] instance_type: The instance type to use for the cluster's nodes. Defaults to "t2.medium". + :param pulumi.Input[str] instance_type: The instance type to use for the cluster's nodes. Defaults to "t3.medium". :param pulumi.Input[str] key_name: Name of the key pair to use for SSH access to worker nodes. :param str kubelet_extra_args: Extra args to pass to the Kubelet. Corresponds to the options passed in the `--kubeletExtraArgs` flag to `/etc/eks/bootstrap.sh`. For example, '--port=10251 --address=0.0.0.0'. Note that the `labels` and `taints` properties will be applied to this list (using `--node-labels` and `--register-with-taints` respectively) after to the explicit `kubeletExtraArgs`. :param Mapping[str, str] labels: Custom k8s node labels to be attached to each worker node. Adds the given key/value pairs to the `--node-labels` kubelet argument. @@ -481,7 +481,7 @@ def instance_profile(self, value: Optional['pulumi_aws.iam.InstanceProfile']): @pulumi.getter(name="instanceType") def instance_type(self) -> Optional[pulumi.Input[str]]: """ - The instance type to use for the cluster's nodes. Defaults to "t2.medium". + The instance type to use for the cluster's nodes. Defaults to "t3.medium". """ return pulumi.get(self, "instance_type") @@ -914,7 +914,7 @@ def __init__(__self__, See [EKS best practices](https://aws.github.io/aws-eks-best-practices/cluster-autoscaling/) for more details. :param 'pulumi_aws.iam.InstanceProfile' instance_profile: The ingress rule that gives node group access. - :param pulumi.Input[str] instance_type: The instance type to use for the cluster's nodes. Defaults to "t2.medium". + :param pulumi.Input[str] instance_type: The instance type to use for the cluster's nodes. Defaults to "t3.medium". :param pulumi.Input[str] key_name: Name of the key pair to use for SSH access to worker nodes. :param str kubelet_extra_args: Extra args to pass to the Kubelet. Corresponds to the options passed in the `--kubeletExtraArgs` flag to `/etc/eks/bootstrap.sh`. For example, '--port=10251 --address=0.0.0.0'. Note that the `labels` and `taints` properties will be applied to this list (using `--node-labels` and `--register-with-taints` respectively) after to the explicit `kubeletExtraArgs`. :param Mapping[str, str] labels: Custom k8s node labels to be attached to each worker node. Adds the given key/value pairs to the `--node-labels` kubelet argument. diff --git a/sdk/python/pulumi_eks/outputs.py b/sdk/python/pulumi_eks/outputs.py index a814f1eb8..12b12b9da 100644 --- a/sdk/python/pulumi_eks/outputs.py +++ b/sdk/python/pulumi_eks/outputs.py @@ -383,7 +383,7 @@ def __init__(__self__, *, See [EKS best practices](https://aws.github.io/aws-eks-best-practices/cluster-autoscaling/) for more details. :param 'pulumi_aws.iam.InstanceProfile' instance_profile: The ingress rule that gives node group access. - :param str instance_type: The instance type to use for the cluster's nodes. Defaults to "t2.medium". + :param str instance_type: The instance type to use for the cluster's nodes. Defaults to "t3.medium". :param str key_name: Name of the key pair to use for SSH access to worker nodes. :param str kubelet_extra_args: Extra args to pass to the Kubelet. Corresponds to the options passed in the `--kubeletExtraArgs` flag to `/etc/eks/bootstrap.sh`. For example, '--port=10251 --address=0.0.0.0'. Note that the `labels` and `taints` properties will be applied to this list (using `--node-labels` and `--register-with-taints` respectively) after to the explicit `kubeletExtraArgs`. :param Mapping[str, str] labels: Custom k8s node labels to be attached to each worker node. Adds the given key/value pairs to the `--node-labels` kubelet argument. @@ -674,7 +674,7 @@ def instance_profile(self) -> Optional['pulumi_aws.iam.InstanceProfile']: @pulumi.getter(name="instanceType") def instance_type(self) -> Optional[str]: """ - The instance type to use for the cluster's nodes. Defaults to "t2.medium". + The instance type to use for the cluster's nodes. Defaults to "t3.medium". """ return pulumi.get(self, "instance_type")