@pulumi/eks 1.1.0-alpha.1692712444 → 2.0.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cert-thumprint.js.map +1 -1
- package/cluster.js +19 -21
- package/cluster.js.map +1 -1
- package/cmd/provider/cluster.js +2 -2
- package/cmd/provider/cluster.js.map +1 -1
- package/cmd/provider/cni.js +2 -2
- package/cmd/provider/cni.js.map +1 -1
- package/cmd/provider/index.js +5 -3
- package/cmd/provider/index.js.map +1 -1
- package/cmd/provider/nodegroup.js +3 -3
- package/cmd/provider/nodegroup.js.map +1 -1
- package/cmd/provider/randomSuffix.js +1 -1
- package/cmd/provider/randomSuffix.js.map +1 -1
- package/cmd/provider/schema.json +58 -58
- package/cmd/provider/securitygroup.js +1 -1
- package/cmd/provider/securitygroup.js.map +1 -1
- package/index.js +1 -0
- package/index.js.map +1 -1
- package/nodegroup.d.ts +1 -1
- package/nodegroup.js +3 -3
- package/nodegroup.js.map +1 -1
- package/package.json +3 -3
- package/package.json.dev +3 -3
- package/storageclass.d.ts +1 -1
- package/utils.d.ts +2 -2
package/cmd/provider/schema.json
CHANGED
|
@@ -14,18 +14,18 @@
|
|
|
14
14
|
"liftSingleValueMethodReturns": true,
|
|
15
15
|
"packageReferences": {
|
|
16
16
|
"Pulumi": "3.*",
|
|
17
|
-
"Pulumi.Aws": "
|
|
17
|
+
"Pulumi.Aws": "6.*",
|
|
18
18
|
"Pulumi.Kubernetes": "3.*"
|
|
19
19
|
}
|
|
20
20
|
},
|
|
21
21
|
"go": {
|
|
22
22
|
"generateResourceContainerTypes": true,
|
|
23
|
-
"importBasePath": "github.com/pulumi/pulumi-eks/sdk/go/eks",
|
|
23
|
+
"importBasePath": "github.com/pulumi/pulumi-eks/sdk/v2/go/eks",
|
|
24
24
|
"liftSingleValueMethodReturns": true
|
|
25
25
|
},
|
|
26
26
|
"java": {
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"com.pulumi:aws": "
|
|
28
|
+
"com.pulumi:aws": "6.0.4",
|
|
29
29
|
"com.pulumi:kubernetes": "3.19.1"
|
|
30
30
|
}
|
|
31
31
|
},
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"readme": "Pulumi Amazon Web Services (AWS) EKS Components.",
|
|
35
35
|
"requires": {
|
|
36
36
|
"pulumi": "\u003e=3.0.0,\u003c4.0.0",
|
|
37
|
-
"pulumi-aws": "\u003e=
|
|
37
|
+
"pulumi-aws": "\u003e=6.0.0,\u003c7.0.0",
|
|
38
38
|
"pulumi-kubernetes": "\u003e=3.0.0,\u003c4.0.0"
|
|
39
39
|
},
|
|
40
40
|
"usesIOClasses": true
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
"description": "The tags to apply to the CloudFormation Stack of the Worker NodeGroup.\n\nNote: Given the inheritance of auto-generated CF tags and `cloudFormationTags`, you should either supply the tag in `autoScalingGroupTags` or `cloudFormationTags`, but not both."
|
|
74
74
|
},
|
|
75
75
|
"clusterIngressRule": {
|
|
76
|
-
"$ref": "/aws/
|
|
76
|
+
"$ref": "/aws/v6.0.4/schema.json#/resources/aws:ec2%2FsecurityGroupRule:SecurityGroupRule",
|
|
77
77
|
"plain": true,
|
|
78
78
|
"description": "The ingress rule that gives node group access."
|
|
79
79
|
},
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
"extraNodeSecurityGroups": {
|
|
89
89
|
"type": "array",
|
|
90
90
|
"items": {
|
|
91
|
-
"$ref": "/aws/
|
|
91
|
+
"$ref": "/aws/v6.0.4/schema.json#/resources/aws:ec2%2FsecurityGroup:SecurityGroup",
|
|
92
92
|
"plain": true
|
|
93
93
|
},
|
|
94
94
|
"plain": true,
|
|
@@ -99,7 +99,7 @@
|
|
|
99
99
|
"description": "Use the latest recommended EKS Optimized Linux AMI with GPU support for the worker nodes from the AWS Systems Manager Parameter Store.\n\nDefaults to false.\n\nNote: `gpu` and `amiId` are mutually exclusive.\n\nSee for more details:\n- https://docs.aws.amazon.com/eks/latest/userguide/eks-optimized-ami.html\n- https://docs.aws.amazon.com/eks/latest/userguide/retrieve-ami-id.html"
|
|
100
100
|
},
|
|
101
101
|
"instanceProfile": {
|
|
102
|
-
"$ref": "/aws/
|
|
102
|
+
"$ref": "/aws/v6.0.4/schema.json#/resources/aws:iam%2FinstanceProfile:InstanceProfile",
|
|
103
103
|
"plain": true,
|
|
104
104
|
"description": "The ingress rule that gives node group access."
|
|
105
105
|
},
|
|
@@ -147,7 +147,7 @@
|
|
|
147
147
|
"description": "The size in GiB of a cluster node's root volume. Defaults to 20."
|
|
148
148
|
},
|
|
149
149
|
"nodeSecurityGroup": {
|
|
150
|
-
"$ref": "/aws/
|
|
150
|
+
"$ref": "/aws/v6.0.4/schema.json#/resources/aws:ec2%2FsecurityGroup:SecurityGroup",
|
|
151
151
|
"plain": true,
|
|
152
152
|
"description": "The security group for the worker node group to communicate with the cluster.\n\nThis security group requires specific inbound and outbound rules.\n\nSee for more details:\nhttps://docs.aws.amazon.com/eks/latest/userguide/sec-group-reqs.html\n\nNote: The `nodeSecurityGroup` option and the cluster option`nodeSecurityGroupTags` are mutually exclusive."
|
|
153
153
|
},
|
|
@@ -190,34 +190,34 @@
|
|
|
190
190
|
"description": "Defines the core set of data associated with an EKS cluster, including the network in which it runs.",
|
|
191
191
|
"properties": {
|
|
192
192
|
"awsProvider": {
|
|
193
|
-
"$ref": "/aws/
|
|
193
|
+
"$ref": "/aws/v6.0.4/schema.json#/provider"
|
|
194
194
|
},
|
|
195
195
|
"cluster": {
|
|
196
|
-
"$ref": "/aws/
|
|
196
|
+
"$ref": "/aws/v6.0.4/schema.json#/resources/aws:eks%2Fcluster:Cluster"
|
|
197
197
|
},
|
|
198
198
|
"clusterIamRole": {
|
|
199
|
-
"$ref": "/aws/
|
|
199
|
+
"$ref": "/aws/v6.0.4/schema.json#/resources/aws:iam%2Frole:Role",
|
|
200
200
|
"description": "The IAM Role attached to the EKS Cluster"
|
|
201
201
|
},
|
|
202
202
|
"clusterSecurityGroup": {
|
|
203
|
-
"$ref": "/aws/
|
|
203
|
+
"$ref": "/aws/v6.0.4/schema.json#/resources/aws:ec2%2FsecurityGroup:SecurityGroup"
|
|
204
204
|
},
|
|
205
205
|
"eksNodeAccess": {
|
|
206
206
|
"$ref": "/kubernetes/v3.0.0/schema.json#/resources/kubernetes:core%2Fv1:ConfigMap"
|
|
207
207
|
},
|
|
208
208
|
"encryptionConfig": {
|
|
209
|
-
"$ref": "/aws/
|
|
209
|
+
"$ref": "/aws/v6.0.4/schema.json#/types/aws:eks%2FClusterEncryptionConfig:ClusterEncryptionConfig"
|
|
210
210
|
},
|
|
211
211
|
"endpoint": {
|
|
212
212
|
"type": "string"
|
|
213
213
|
},
|
|
214
214
|
"fargateProfile": {
|
|
215
|
-
"$ref": "/aws/
|
|
215
|
+
"$ref": "/aws/v6.0.4/schema.json#/resources/aws:eks%2FfargateProfile:FargateProfile"
|
|
216
216
|
},
|
|
217
217
|
"instanceRoles": {
|
|
218
218
|
"type": "array",
|
|
219
219
|
"items": {
|
|
220
|
-
"$ref": "/aws/
|
|
220
|
+
"$ref": "/aws/v6.0.4/schema.json#/resources/aws:iam%2Frole:Role"
|
|
221
221
|
}
|
|
222
222
|
},
|
|
223
223
|
"kubeconfig": {
|
|
@@ -233,7 +233,7 @@
|
|
|
233
233
|
}
|
|
234
234
|
},
|
|
235
235
|
"oidcProvider": {
|
|
236
|
-
"$ref": "/aws/
|
|
236
|
+
"$ref": "/aws/v6.0.4/schema.json#/resources/aws:iam%2FopenIdConnectProvider:OpenIdConnectProvider"
|
|
237
237
|
},
|
|
238
238
|
"privateSubnetIds": {
|
|
239
239
|
"type": "array",
|
|
@@ -292,11 +292,11 @@
|
|
|
292
292
|
"description": "Contains the AWS Role and Provider necessary to override the `[system:master]` entity ARN. This is an optional argument used when creating `Cluster`. Read more: https://docs.aws.amazon.com/eks/latest/userguide/add-user-role.html",
|
|
293
293
|
"properties": {
|
|
294
294
|
"provider": {
|
|
295
|
-
"$ref": "/aws/
|
|
295
|
+
"$ref": "/aws/v6.0.4/schema.json#/provider",
|
|
296
296
|
"plain": true
|
|
297
297
|
},
|
|
298
298
|
"role": {
|
|
299
|
-
"$ref": "/aws/
|
|
299
|
+
"$ref": "/aws/v6.0.4/schema.json#/resources/aws:iam%2Frole:Role",
|
|
300
300
|
"plain": true
|
|
301
301
|
}
|
|
302
302
|
},
|
|
@@ -316,7 +316,7 @@
|
|
|
316
316
|
"selectors": {
|
|
317
317
|
"type": "array",
|
|
318
318
|
"items": {
|
|
319
|
-
"$ref": "/aws/
|
|
319
|
+
"$ref": "/aws/v6.0.4/schema.json#/types/aws:eks%2FFargateProfileSelector:FargateProfileSelector"
|
|
320
320
|
},
|
|
321
321
|
"description": "Specify the namespace and label selectors to use for launching pods into Fargate."
|
|
322
322
|
},
|
|
@@ -352,18 +352,18 @@
|
|
|
352
352
|
"description": "The AutoScalingGroup name for the node group."
|
|
353
353
|
},
|
|
354
354
|
"cfnStack": {
|
|
355
|
-
"$ref": "/aws/
|
|
355
|
+
"$ref": "/aws/v6.0.4/schema.json#/resources/aws:cloudformation%2Fstack:Stack",
|
|
356
356
|
"description": "The CloudFormation Stack which defines the Node AutoScalingGroup."
|
|
357
357
|
},
|
|
358
358
|
"extraNodeSecurityGroups": {
|
|
359
359
|
"type": "array",
|
|
360
360
|
"items": {
|
|
361
|
-
"$ref": "/aws/
|
|
361
|
+
"$ref": "/aws/v6.0.4/schema.json#/resources/aws:ec2%2FsecurityGroup:SecurityGroup"
|
|
362
362
|
},
|
|
363
363
|
"description": "The additional security groups for the node group that captures user-specific rules."
|
|
364
364
|
},
|
|
365
365
|
"nodeSecurityGroup": {
|
|
366
|
-
"$ref": "/aws/
|
|
366
|
+
"$ref": "/aws/v6.0.4/schema.json#/resources/aws:ec2%2FsecurityGroup:SecurityGroup",
|
|
367
367
|
"description": "The security group for the node group to communicate with the cluster."
|
|
368
368
|
}
|
|
369
369
|
},
|
|
@@ -603,11 +603,11 @@
|
|
|
603
603
|
"description": "Cluster is a component that wraps the AWS and Kubernetes resources necessary to run an EKS cluster, its worker nodes, its optional StorageClasses, and an optional deployment of the Kubernetes Dashboard.",
|
|
604
604
|
"properties": {
|
|
605
605
|
"awsProvider": {
|
|
606
|
-
"$ref": "/aws/
|
|
606
|
+
"$ref": "/aws/v6.0.4/schema.json#/provider",
|
|
607
607
|
"description": "The AWS resource provider."
|
|
608
608
|
},
|
|
609
609
|
"clusterSecurityGroup": {
|
|
610
|
-
"$ref": "/aws/
|
|
610
|
+
"$ref": "/aws/v6.0.4/schema.json#/resources/aws:ec2%2FsecurityGroup:SecurityGroup",
|
|
611
611
|
"description": "The security group for the EKS cluster."
|
|
612
612
|
},
|
|
613
613
|
"core": {
|
|
@@ -619,17 +619,17 @@
|
|
|
619
619
|
"description": "The default Node Group configuration, or undefined if `skipDefaultNodeGroup` was specified."
|
|
620
620
|
},
|
|
621
621
|
"eksCluster": {
|
|
622
|
-
"$ref": "/aws/
|
|
622
|
+
"$ref": "/aws/v6.0.4/schema.json#/resources/aws:eks%2Fcluster:Cluster",
|
|
623
623
|
"description": "The EKS cluster."
|
|
624
624
|
},
|
|
625
625
|
"eksClusterIngressRule": {
|
|
626
|
-
"$ref": "/aws/
|
|
626
|
+
"$ref": "/aws/v6.0.4/schema.json#/resources/aws:ec2%2FsecurityGroupRule:SecurityGroupRule",
|
|
627
627
|
"description": "The ingress rule that gives node group access to cluster API server."
|
|
628
628
|
},
|
|
629
629
|
"instanceRoles": {
|
|
630
630
|
"type": "array",
|
|
631
631
|
"items": {
|
|
632
|
-
"$ref": "/aws/
|
|
632
|
+
"$ref": "/aws/v6.0.4/schema.json#/resources/aws:iam%2Frole:Role"
|
|
633
633
|
},
|
|
634
634
|
"description": "The service roles used by the EKS cluster."
|
|
635
635
|
},
|
|
@@ -642,7 +642,7 @@
|
|
|
642
642
|
"description": "A kubeconfig that can be used to connect to the EKS cluster as a JSON string."
|
|
643
643
|
},
|
|
644
644
|
"nodeSecurityGroup": {
|
|
645
|
-
"$ref": "/aws/
|
|
645
|
+
"$ref": "/aws/v6.0.4/schema.json#/resources/aws:ec2%2FsecurityGroup:SecurityGroup",
|
|
646
646
|
"description": "The security group for the cluster's nodes."
|
|
647
647
|
}
|
|
648
648
|
},
|
|
@@ -659,7 +659,7 @@
|
|
|
659
659
|
],
|
|
660
660
|
"inputProperties": {
|
|
661
661
|
"clusterSecurityGroup": {
|
|
662
|
-
"$ref": "/aws/
|
|
662
|
+
"$ref": "/aws/v6.0.4/schema.json#/resources/aws:ec2%2FsecurityGroup:SecurityGroup",
|
|
663
663
|
"plain": true,
|
|
664
664
|
"description": "The security group to use for the cluster API endpoint. If not provided, a new security group will be created with full internet egress and ingress from node groups."
|
|
665
665
|
},
|
|
@@ -740,13 +740,13 @@
|
|
|
740
740
|
"description": "The default IAM InstanceProfile to use on the Worker NodeGroups, if one is not already set in the NodeGroup."
|
|
741
741
|
},
|
|
742
742
|
"instanceRole": {
|
|
743
|
-
"$ref": "/aws/
|
|
743
|
+
"$ref": "/aws/v6.0.4/schema.json#/resources/aws:iam%2Frole:Role",
|
|
744
744
|
"description": "This enables the simple case of only registering a *single* IAM instance role with the cluster, that is required to be shared by *all* node groups in their instance profiles.\n\nNote: options `instanceRole` and `instanceRoles` are mutually exclusive."
|
|
745
745
|
},
|
|
746
746
|
"instanceRoles": {
|
|
747
747
|
"type": "array",
|
|
748
748
|
"items": {
|
|
749
|
-
"$ref": "/aws/
|
|
749
|
+
"$ref": "/aws/v6.0.4/schema.json#/resources/aws:iam%2Frole:Role"
|
|
750
750
|
},
|
|
751
751
|
"description": "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`.\n\nNote: options `instanceRole` and `instanceRoles` are mutually exclusive."
|
|
752
752
|
},
|
|
@@ -848,7 +848,7 @@
|
|
|
848
848
|
"description": "Optional mappings from AWS IAM roles to Kubernetes users and groups."
|
|
849
849
|
},
|
|
850
850
|
"serviceRole": {
|
|
851
|
-
"$ref": "/aws/
|
|
851
|
+
"$ref": "/aws/v6.0.4/schema.json#/resources/aws:iam%2Frole:Role",
|
|
852
852
|
"description": "IAM Service Role for EKS to use to manage the cluster."
|
|
853
853
|
},
|
|
854
854
|
"skipDefaultNodeGroup": {
|
|
@@ -923,7 +923,7 @@
|
|
|
923
923
|
"description": "ClusterCreationRoleProvider is a component that wraps creating a role provider that can be passed to the `Cluster`'s `creationRoleProvider`. This can be used to provide a specific role to use for the creation of the EKS cluster different from the role being used to run the Pulumi deployment.",
|
|
924
924
|
"properties": {
|
|
925
925
|
"role": {
|
|
926
|
-
"$ref": "/aws/
|
|
926
|
+
"$ref": "/aws/v6.0.4/schema.json#/resources/aws:iam%2Frole:Role"
|
|
927
927
|
}
|
|
928
928
|
},
|
|
929
929
|
"required": [
|
|
@@ -943,7 +943,7 @@
|
|
|
943
943
|
"description": "ManagedNodeGroup is a component that wraps creating an AWS managed node group.\n\nSee for more details:\nhttps://docs.aws.amazon.com/eks/latest/userguide/managed-node-groups.html",
|
|
944
944
|
"properties": {
|
|
945
945
|
"nodeGroup": {
|
|
946
|
-
"$ref": "/aws/
|
|
946
|
+
"$ref": "/aws/v6.0.4/schema.json#/resources/aws:eks%2FnodeGroup:NodeGroup",
|
|
947
947
|
"description": "The AWS managed node group."
|
|
948
948
|
}
|
|
949
949
|
},
|
|
@@ -997,7 +997,7 @@
|
|
|
997
997
|
"description": "Key-value map of Kubernetes labels. Only labels that are applied with the EKS API are managed by this argument. Other Kubernetes labels applied to the EKS Node Group will not be managed."
|
|
998
998
|
},
|
|
999
999
|
"launchTemplate": {
|
|
1000
|
-
"$ref": "/aws/
|
|
1000
|
+
"$ref": "/aws/v6.0.4/schema.json#/types/aws:eks%2FNodeGroupLaunchTemplate:NodeGroupLaunchTemplate",
|
|
1001
1001
|
"description": "Launch Template settings."
|
|
1002
1002
|
},
|
|
1003
1003
|
"nodeGroupName": {
|
|
@@ -1009,7 +1009,7 @@
|
|
|
1009
1009
|
"description": "Creates a unique name beginning with the specified prefix. Conflicts with `nodeGroupName`."
|
|
1010
1010
|
},
|
|
1011
1011
|
"nodeRole": {
|
|
1012
|
-
"$ref": "/aws/
|
|
1012
|
+
"$ref": "/aws/v6.0.4/schema.json#/resources/aws:iam%2Frole:Role",
|
|
1013
1013
|
"description": "The IAM Role that provides permissions for the EKS Node Group.\n\nNote, `nodeRole` and `nodeRoleArn` are mutually exclusive, and a single option must be used."
|
|
1014
1014
|
},
|
|
1015
1015
|
"nodeRoleArn": {
|
|
@@ -1021,11 +1021,11 @@
|
|
|
1021
1021
|
"description": "AMI version of the EKS Node Group. Defaults to latest version for Kubernetes version."
|
|
1022
1022
|
},
|
|
1023
1023
|
"remoteAccess": {
|
|
1024
|
-
"$ref": "/aws/
|
|
1024
|
+
"$ref": "/aws/v6.0.4/schema.json#/types/aws:eks%2FNodeGroupRemoteAccess:NodeGroupRemoteAccess",
|
|
1025
1025
|
"description": "Remote access settings."
|
|
1026
1026
|
},
|
|
1027
1027
|
"scalingConfig": {
|
|
1028
|
-
"$ref": "/aws/
|
|
1028
|
+
"$ref": "/aws/v6.0.4/schema.json#/types/aws:eks%2FNodeGroupScalingConfig:NodeGroupScalingConfig",
|
|
1029
1029
|
"description": "Scaling settings.\n\nDefault scaling amounts of the node group autoscaling group are:\n - desiredSize: 2\n - minSize: 1\n - maxSize: 2"
|
|
1030
1030
|
},
|
|
1031
1031
|
"subnetIds": {
|
|
@@ -1045,7 +1045,7 @@
|
|
|
1045
1045
|
"taints": {
|
|
1046
1046
|
"type": "array",
|
|
1047
1047
|
"items": {
|
|
1048
|
-
"$ref": "/aws/
|
|
1048
|
+
"$ref": "/aws/v6.0.4/schema.json#/types/aws:eks%2FNodeGroupTaint:NodeGroupTaint"
|
|
1049
1049
|
},
|
|
1050
1050
|
"description": "The Kubernetes taints to be applied to the nodes in the node group. Maximum of 50 taints per node group."
|
|
1051
1051
|
},
|
|
@@ -1066,18 +1066,18 @@
|
|
|
1066
1066
|
"description": "The AutoScalingGroup name for the Node group."
|
|
1067
1067
|
},
|
|
1068
1068
|
"cfnStack": {
|
|
1069
|
-
"$ref": "/aws/
|
|
1069
|
+
"$ref": "/aws/v6.0.4/schema.json#/resources/aws:cloudformation%2Fstack:Stack",
|
|
1070
1070
|
"description": "The CloudFormation Stack which defines the Node AutoScalingGroup."
|
|
1071
1071
|
},
|
|
1072
1072
|
"extraNodeSecurityGroups": {
|
|
1073
1073
|
"type": "array",
|
|
1074
1074
|
"items": {
|
|
1075
|
-
"$ref": "/aws/
|
|
1075
|
+
"$ref": "/aws/v6.0.4/schema.json#/resources/aws:ec2%2FsecurityGroup:SecurityGroup"
|
|
1076
1076
|
},
|
|
1077
1077
|
"description": "The additional security groups for the node group that captures user-specific rules."
|
|
1078
1078
|
},
|
|
1079
1079
|
"nodeSecurityGroup": {
|
|
1080
|
-
"$ref": "/aws/
|
|
1080
|
+
"$ref": "/aws/v6.0.4/schema.json#/resources/aws:ec2%2FsecurityGroup:SecurityGroup",
|
|
1081
1081
|
"description": "The security group for the node group to communicate with the cluster."
|
|
1082
1082
|
}
|
|
1083
1083
|
},
|
|
@@ -1127,7 +1127,7 @@
|
|
|
1127
1127
|
"description": "The target EKS cluster."
|
|
1128
1128
|
},
|
|
1129
1129
|
"clusterIngressRule": {
|
|
1130
|
-
"$ref": "/aws/
|
|
1130
|
+
"$ref": "/aws/v6.0.4/schema.json#/resources/aws:ec2%2FsecurityGroupRule:SecurityGroupRule",
|
|
1131
1131
|
"plain": true,
|
|
1132
1132
|
"description": "The ingress rule that gives node group access."
|
|
1133
1133
|
},
|
|
@@ -1142,7 +1142,7 @@
|
|
|
1142
1142
|
"extraNodeSecurityGroups": {
|
|
1143
1143
|
"type": "array",
|
|
1144
1144
|
"items": {
|
|
1145
|
-
"$ref": "/aws/
|
|
1145
|
+
"$ref": "/aws/v6.0.4/schema.json#/resources/aws:ec2%2FsecurityGroup:SecurityGroup",
|
|
1146
1146
|
"plain": true
|
|
1147
1147
|
},
|
|
1148
1148
|
"plain": true,
|
|
@@ -1153,7 +1153,7 @@
|
|
|
1153
1153
|
"description": "Use the latest recommended EKS Optimized Linux AMI with GPU support for the worker nodes from the AWS Systems Manager Parameter Store.\n\nDefaults to false.\n\nNote: `gpu` and `amiId` are mutually exclusive.\n\nSee for more details:\n- https://docs.aws.amazon.com/eks/latest/userguide/eks-optimized-ami.html\n- https://docs.aws.amazon.com/eks/latest/userguide/retrieve-ami-id.html"
|
|
1154
1154
|
},
|
|
1155
1155
|
"instanceProfile": {
|
|
1156
|
-
"$ref": "/aws/
|
|
1156
|
+
"$ref": "/aws/v6.0.4/schema.json#/resources/aws:iam%2FinstanceProfile:InstanceProfile",
|
|
1157
1157
|
"plain": true,
|
|
1158
1158
|
"description": "The ingress rule that gives node group access."
|
|
1159
1159
|
},
|
|
@@ -1201,7 +1201,7 @@
|
|
|
1201
1201
|
"description": "The size in GiB of a cluster node's root volume. Defaults to 20."
|
|
1202
1202
|
},
|
|
1203
1203
|
"nodeSecurityGroup": {
|
|
1204
|
-
"$ref": "/aws/
|
|
1204
|
+
"$ref": "/aws/v6.0.4/schema.json#/resources/aws:ec2%2FsecurityGroup:SecurityGroup",
|
|
1205
1205
|
"plain": true,
|
|
1206
1206
|
"description": "The security group for the worker node group to communicate with the cluster.\n\nThis security group requires specific inbound and outbound rules.\n\nSee for more details:\nhttps://docs.aws.amazon.com/eks/latest/userguide/sec-group-reqs.html\n\nNote: The `nodeSecurityGroup` option and the cluster option`nodeSecurityGroupTags` are mutually exclusive."
|
|
1207
1207
|
},
|
|
@@ -1247,11 +1247,11 @@
|
|
|
1247
1247
|
"description": "NodeGroupSecurityGroup is a component that wraps creating a security group for node groups with the default ingress \u0026 egress rules required to connect and work with the EKS cluster security group.",
|
|
1248
1248
|
"properties": {
|
|
1249
1249
|
"securityGroup": {
|
|
1250
|
-
"$ref": "/aws/
|
|
1250
|
+
"$ref": "/aws/v6.0.4/schema.json#/resources/aws:ec2%2FsecurityGroup:SecurityGroup",
|
|
1251
1251
|
"description": "The security group for node groups with the default ingress \u0026 egress rules required to connect and work with the EKS cluster security group."
|
|
1252
1252
|
},
|
|
1253
1253
|
"securityGroupRule": {
|
|
1254
|
-
"$ref": "/aws/
|
|
1254
|
+
"$ref": "/aws/v6.0.4/schema.json#/resources/aws:ec2%2FsecurityGroupRule:SecurityGroupRule",
|
|
1255
1255
|
"description": "The EKS cluster ingress rule."
|
|
1256
1256
|
}
|
|
1257
1257
|
},
|
|
@@ -1261,11 +1261,11 @@
|
|
|
1261
1261
|
],
|
|
1262
1262
|
"inputProperties": {
|
|
1263
1263
|
"clusterSecurityGroup": {
|
|
1264
|
-
"$ref": "/aws/
|
|
1264
|
+
"$ref": "/aws/v6.0.4/schema.json#/resources/aws:ec2%2FsecurityGroup:SecurityGroup",
|
|
1265
1265
|
"description": "The security group associated with the EKS cluster."
|
|
1266
1266
|
},
|
|
1267
1267
|
"eksCluster": {
|
|
1268
|
-
"$ref": "/aws/
|
|
1268
|
+
"$ref": "/aws/v6.0.4/schema.json#/resources/aws:eks%2Fcluster:Cluster",
|
|
1269
1269
|
"description": "The EKS cluster associated with the worker node group"
|
|
1270
1270
|
},
|
|
1271
1271
|
"tags": {
|
|
@@ -1291,18 +1291,18 @@
|
|
|
1291
1291
|
"description": "NodeGroup is a component that wraps the AWS EC2 instances that provide compute capacity for an EKS cluster.",
|
|
1292
1292
|
"properties": {
|
|
1293
1293
|
"autoScalingGroup": {
|
|
1294
|
-
"$ref": "/aws/
|
|
1294
|
+
"$ref": "/aws/v6.0.4/schema.json#/resources/aws:autoscaling%2Fgroup:Group",
|
|
1295
1295
|
"description": "The AutoScalingGroup for the Node group."
|
|
1296
1296
|
},
|
|
1297
1297
|
"extraNodeSecurityGroups": {
|
|
1298
1298
|
"type": "array",
|
|
1299
1299
|
"items": {
|
|
1300
|
-
"$ref": "/aws/
|
|
1300
|
+
"$ref": "/aws/v6.0.4/schema.json#/resources/aws:ec2%2FsecurityGroup:SecurityGroup"
|
|
1301
1301
|
},
|
|
1302
1302
|
"description": "The additional security groups for the node group that captures user-specific rules."
|
|
1303
1303
|
},
|
|
1304
1304
|
"nodeSecurityGroup": {
|
|
1305
|
-
"$ref": "/aws/
|
|
1305
|
+
"$ref": "/aws/v6.0.4/schema.json#/resources/aws:ec2%2FsecurityGroup:SecurityGroup",
|
|
1306
1306
|
"description": "The security group for the node group to communicate with the cluster."
|
|
1307
1307
|
}
|
|
1308
1308
|
},
|
|
@@ -1351,7 +1351,7 @@
|
|
|
1351
1351
|
"description": "The target EKS cluster."
|
|
1352
1352
|
},
|
|
1353
1353
|
"clusterIngressRule": {
|
|
1354
|
-
"$ref": "/aws/
|
|
1354
|
+
"$ref": "/aws/v6.0.4/schema.json#/resources/aws:ec2%2FsecurityGroupRule:SecurityGroupRule",
|
|
1355
1355
|
"plain": true,
|
|
1356
1356
|
"description": "The ingress rule that gives node group access."
|
|
1357
1357
|
},
|
|
@@ -1366,7 +1366,7 @@
|
|
|
1366
1366
|
"extraNodeSecurityGroups": {
|
|
1367
1367
|
"type": "array",
|
|
1368
1368
|
"items": {
|
|
1369
|
-
"$ref": "/aws/
|
|
1369
|
+
"$ref": "/aws/v6.0.4/schema.json#/resources/aws:ec2%2FsecurityGroup:SecurityGroup",
|
|
1370
1370
|
"plain": true
|
|
1371
1371
|
},
|
|
1372
1372
|
"plain": true,
|
|
@@ -1377,7 +1377,7 @@
|
|
|
1377
1377
|
"description": "Use the latest recommended EKS Optimized Linux AMI with GPU support for the worker nodes from the AWS Systems Manager Parameter Store.\n\nDefaults to false.\n\nNote: `gpu` and `amiId` are mutually exclusive.\n\nSee for more details:\n- https://docs.aws.amazon.com/eks/latest/userguide/eks-optimized-ami.html\n- https://docs.aws.amazon.com/eks/latest/userguide/retrieve-ami-id.html"
|
|
1378
1378
|
},
|
|
1379
1379
|
"instanceProfile": {
|
|
1380
|
-
"$ref": "/aws/
|
|
1380
|
+
"$ref": "/aws/v6.0.4/schema.json#/resources/aws:iam%2FinstanceProfile:InstanceProfile",
|
|
1381
1381
|
"plain": true,
|
|
1382
1382
|
"description": "The ingress rule that gives node group access."
|
|
1383
1383
|
},
|
|
@@ -1406,7 +1406,7 @@
|
|
|
1406
1406
|
"launchTemplateTagSpecifications": {
|
|
1407
1407
|
"type": "array",
|
|
1408
1408
|
"items": {
|
|
1409
|
-
"$ref": "/aws/
|
|
1409
|
+
"$ref": "/aws/v6.0.4/schema.json#/types/aws:ec2%2FLaunchTemplateTagSpecification:LaunchTemplateTagSpecification"
|
|
1410
1410
|
},
|
|
1411
1411
|
"description": "The tag specifications to apply to the launch template."
|
|
1412
1412
|
},
|
|
@@ -1436,7 +1436,7 @@
|
|
|
1436
1436
|
"description": "The size in GiB of a cluster node's root volume. Defaults to 20."
|
|
1437
1437
|
},
|
|
1438
1438
|
"nodeSecurityGroup": {
|
|
1439
|
-
"$ref": "/aws/
|
|
1439
|
+
"$ref": "/aws/v6.0.4/schema.json#/resources/aws:ec2%2FsecurityGroup:SecurityGroup",
|
|
1440
1440
|
"plain": true,
|
|
1441
1441
|
"description": "The security group for the worker node group to communicate with the cluster.\n\nThis security group requires specific inbound and outbound rules.\n\nSee for more details:\nhttps://docs.aws.amazon.com/eks/latest/userguide/sec-group-reqs.html\n\nNote: The `nodeSecurityGroup` option and the cluster option`nodeSecurityGroupTags` are mutually exclusive."
|
|
1442
1442
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"securitygroup.js","sourceRoot":"","sources":["../../../cmd/provider/securitygroup.ts"],"names":[],"mappings":";AAAA,2CAA2C;AAC3C,EAAE;AACF,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,iDAAiD;AACjD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;;;AAGjC,uDAA6D;AAE7D,MAAM,8BAA8B,GAA6B;IAC7D,SAAS,EAAE,CACP,IAAY,EACZ,IAAY,EACZ,MAAqB,EACrB,OAAwC,EAC1C,EAAE;QACA,IAAI;YACA,MAAM,sBAAsB,GAAG,IAAI,sCAAsB,CAAC,IAAI,EAAO,MAAM,EAAE,OAAO,CAAC,CAAC;YACtF,OAAO,OAAO,CAAC,OAAO,CAAC;gBACnB,GAAG,EAAE,sBAAsB,CAAC,GAAG;gBAC/B,KAAK,EAAE;oBACH,aAAa,EAAE,sBAAsB,CAAC,aAAa;oBACnD,iBAAiB,EAAE,sBAAsB,CAAC,iBAAiB;iBAC9D;aACJ,CAAC,CAAC;SACN;QAAC,OAAO,CAAC,EAAE;YACR,OAAO,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;SAC5B;IACL,CAAC;IACD,OAAO,EAAE,EAAE;
|
|
1
|
+
{"version":3,"file":"securitygroup.js","sourceRoot":"","sources":["../../../cmd/provider/securitygroup.ts"],"names":[],"mappings":";AAAA,2CAA2C;AAC3C,EAAE;AACF,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,iDAAiD;AACjD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;;;AAGjC,uDAA6D;AAE7D,MAAM,8BAA8B,GAA6B;IAC7D,SAAS,EAAE,CACP,IAAY,EACZ,IAAY,EACZ,MAAqB,EACrB,OAAwC,EAC1C,EAAE;QACA,IAAI;YACA,MAAM,sBAAsB,GAAG,IAAI,sCAAsB,CAAC,IAAI,EAAO,MAAM,EAAE,OAAO,CAAC,CAAC;YACtF,OAAO,OAAO,CAAC,OAAO,CAAC;gBACnB,GAAG,EAAE,sBAAsB,CAAC,GAAG;gBAC/B,KAAK,EAAE;oBACH,aAAa,EAAE,sBAAsB,CAAC,aAAa;oBACnD,iBAAiB,EAAE,sBAAsB,CAAC,iBAAiB;iBAC9D;aACJ,CAAC,CAAC;SACN;QAAC,OAAO,CAAC,EAAE;YACR,OAAO,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;SAC5B;IACL,CAAC;IACD,OAAO,EAAE,EAAE,EAAE,UAAU;CAC1B,CAAC;AAEF,gBAAgB;AAChB,SAAgB,qCAAqC;IACjD,OAAO,8BAA8B,CAAC;AAC1C,CAAC;AAFD,sFAEC"}
|
package/index.js
CHANGED
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
// See the License for the specific language governing permissions and
|
|
14
14
|
// limitations under the License.
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.createStorageClass = exports.createNodeGroupSecurityGroup = exports.NodeGroupSecurityGroup = exports.VpcCni = exports.createManagedNodeGroup = exports.NodeGroupV2 = exports.NodeGroup = exports.ManagedNodeGroup = exports.getRoleProvider = exports.ClusterCreationRoleProvider = exports.Cluster = void 0;
|
|
16
17
|
var cluster_1 = require("./cluster");
|
|
17
18
|
Object.defineProperty(exports, "Cluster", { enumerable: true, get: function () { return cluster_1.Cluster; } });
|
|
18
19
|
Object.defineProperty(exports, "ClusterCreationRoleProvider", { enumerable: true, get: function () { return cluster_1.ClusterCreationRoleProvider; } });
|
package/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";AAAA,2CAA2C;AAC3C,EAAE;AACF,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,iDAAiD;AACjD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";AAAA,2CAA2C;AAC3C,EAAE;AACF,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,iDAAiD;AACjD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;;;AAEjC,qCAYmB;AAXf,kGAAA,OAAO,OAAA;AAOP,sHAAA,2BAA2B,OAAA;AAE3B,0GAAA,eAAe,OAAA;AAGnB,yCAQqB;AAPjB,6GAAA,gBAAgB,OAAA;AAEhB,sGAAA,SAAS,OAAA;AACT,wGAAA,WAAW,OAAA;AAGX,mHAAA,sBAAsB,OAAA;AAE1B,6BAA8C;AAArC,6FAAA,MAAM,OAAA;AACf,iDAAuF;AAA9E,uHAAA,sBAAsB,OAAA;AAAE,6HAAA,4BAA4B,OAAA;AAC7D,+CAAiF;AAA3C,kHAAA,kBAAkB,OAAA"}
|
package/nodegroup.d.ts
CHANGED
|
@@ -392,7 +392,7 @@ export declare function computeWorkerSubnets(parent: pulumi.Resource, subnetIds:
|
|
|
392
392
|
* See for more details:
|
|
393
393
|
* https://docs.aws.amazon.com/eks/latest/userguide/managed-node-groups.html
|
|
394
394
|
*/
|
|
395
|
-
export
|
|
395
|
+
export type ManagedNodeGroupOptions = Omit<aws.eks.NodeGroupArgs, "clusterName" | "nodeRoleArn" | "subnetIds" | "scalingConfig"> & {
|
|
396
396
|
/**
|
|
397
397
|
* The target EKS cluster.
|
|
398
398
|
*/
|
package/nodegroup.js
CHANGED
|
@@ -206,7 +206,7 @@ function createNodeGroupInternal(name, args, core, parent, provider) {
|
|
|
206
206
|
}
|
|
207
207
|
}
|
|
208
208
|
else {
|
|
209
|
-
[nodeSecurityGroup, eksClusterIngressRule] = securitygroup_1.createNodeGroupSecurityGroup(name, {
|
|
209
|
+
[nodeSecurityGroup, eksClusterIngressRule] = (0, securitygroup_1.createNodeGroupSecurityGroup)(name, {
|
|
210
210
|
vpcId: core.vpcId,
|
|
211
211
|
clusterSecurityGroup: core.clusterSecurityGroup,
|
|
212
212
|
eksCluster: eksCluster,
|
|
@@ -232,7 +232,7 @@ function createNodeGroupInternal(name, args, core, parent, provider) {
|
|
|
232
232
|
}, { parent, provider });
|
|
233
233
|
keyName = key.keyName;
|
|
234
234
|
}
|
|
235
|
-
const cfnStackName = randomSuffix_1.default(`${name}-cfnStackName`, name, { parent });
|
|
235
|
+
const cfnStackName = (0, randomSuffix_1.default)(`${name}-cfnStackName`, name, { parent });
|
|
236
236
|
const awsRegion = pulumi.output(aws.getRegion({}, { parent, async: true }));
|
|
237
237
|
const userDataArg = args.nodeUserData || pulumi.output("");
|
|
238
238
|
const kubeletExtraArgs = args.kubeletExtraArgs ? args.kubeletExtraArgs.split(" ") : [];
|
|
@@ -489,7 +489,7 @@ function createNodeGroupV2Internal(name, args, core, parent, provider) {
|
|
|
489
489
|
}
|
|
490
490
|
}
|
|
491
491
|
else {
|
|
492
|
-
[nodeSecurityGroup, eksClusterIngressRule] = securitygroup_1.createNodeGroupSecurityGroup(name, {
|
|
492
|
+
[nodeSecurityGroup, eksClusterIngressRule] = (0, securitygroup_1.createNodeGroupSecurityGroup)(name, {
|
|
493
493
|
vpcId: core.vpcId,
|
|
494
494
|
clusterSecurityGroup: core.clusterSecurityGroup,
|
|
495
495
|
eksCluster: eksCluster,
|