@pulumi/eks 2.4.0-alpha.1713481591 → 2.4.0-alpha.1713554210
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/cmd/provider/schema.json +29 -15
- package/package.json +1 -1
- package/package.json.dev +1 -1
package/cmd/provider/schema.json
CHANGED
|
@@ -209,28 +209,34 @@
|
|
|
209
209
|
"$ref": "/aws/v6.5.0/schema.json#/types/aws:eks%2FClusterEncryptionConfig:ClusterEncryptionConfig"
|
|
210
210
|
},
|
|
211
211
|
"endpoint": {
|
|
212
|
-
"type": "string"
|
|
212
|
+
"type": "string",
|
|
213
|
+
"description": "The EKS cluster's Kubernetes API server endpoint."
|
|
213
214
|
},
|
|
214
215
|
"fargateProfile": {
|
|
215
|
-
"$ref": "/aws/v6.5.0/schema.json#/resources/aws:eks%2FfargateProfile:FargateProfile"
|
|
216
|
+
"$ref": "/aws/v6.5.0/schema.json#/resources/aws:eks%2FfargateProfile:FargateProfile",
|
|
217
|
+
"description": "The Fargate profile used to manage which pods run on Fargate."
|
|
216
218
|
},
|
|
217
219
|
"instanceRoles": {
|
|
218
220
|
"type": "array",
|
|
219
221
|
"items": {
|
|
220
222
|
"$ref": "/aws/v6.5.0/schema.json#/resources/aws:iam%2Frole:Role"
|
|
221
|
-
}
|
|
223
|
+
},
|
|
224
|
+
"description": "The IAM instance roles for the cluster's nodes."
|
|
222
225
|
},
|
|
223
226
|
"kubeconfig": {
|
|
224
|
-
"$ref": "pulumi.json#/Any"
|
|
227
|
+
"$ref": "pulumi.json#/Any",
|
|
228
|
+
"description": "The kubeconfig file for the cluster."
|
|
225
229
|
},
|
|
226
230
|
"nodeGroupOptions": {
|
|
227
|
-
"$ref": "#/types/eks:index:ClusterNodeGroupOptions"
|
|
231
|
+
"$ref": "#/types/eks:index:ClusterNodeGroupOptions",
|
|
232
|
+
"description": "The cluster's node group options."
|
|
228
233
|
},
|
|
229
234
|
"nodeSecurityGroupTags": {
|
|
230
235
|
"type": "object",
|
|
231
236
|
"additionalProperties": {
|
|
232
237
|
"type": "string"
|
|
233
|
-
}
|
|
238
|
+
},
|
|
239
|
+
"description": "Tags attached to the security groups associated with the cluster's worker nodes."
|
|
234
240
|
},
|
|
235
241
|
"oidcProvider": {
|
|
236
242
|
"$ref": "/aws/v6.5.0/schema.json#/resources/aws:iam%2FopenIdConnectProvider:OpenIdConnectProvider"
|
|
@@ -239,7 +245,8 @@
|
|
|
239
245
|
"type": "array",
|
|
240
246
|
"items": {
|
|
241
247
|
"type": "string"
|
|
242
|
-
}
|
|
248
|
+
},
|
|
249
|
+
"description": "List of subnet IDs for the private subnets."
|
|
243
250
|
},
|
|
244
251
|
"provider": {
|
|
245
252
|
"$ref": "/kubernetes/v4.4.0/schema.json#/provider"
|
|
@@ -248,31 +255,37 @@
|
|
|
248
255
|
"type": "array",
|
|
249
256
|
"items": {
|
|
250
257
|
"type": "string"
|
|
251
|
-
}
|
|
258
|
+
},
|
|
259
|
+
"description": "List of subnet IDs for the public subnets."
|
|
252
260
|
},
|
|
253
261
|
"storageClasses": {
|
|
254
262
|
"type": "object",
|
|
255
263
|
"additionalProperties": {
|
|
256
264
|
"$ref": "/kubernetes/v4.4.0/schema.json#/resources/kubernetes:storage.k8s.io%2Fv1:StorageClass"
|
|
257
|
-
}
|
|
265
|
+
},
|
|
266
|
+
"description": "The storage class used for persistent storage by the cluster."
|
|
258
267
|
},
|
|
259
268
|
"subnetIds": {
|
|
260
269
|
"type": "array",
|
|
261
270
|
"items": {
|
|
262
271
|
"type": "string"
|
|
263
|
-
}
|
|
272
|
+
},
|
|
273
|
+
"description": "List of subnet IDs for the EKS cluster."
|
|
264
274
|
},
|
|
265
275
|
"tags": {
|
|
266
276
|
"type": "object",
|
|
267
277
|
"additionalProperties": {
|
|
268
278
|
"type": "string"
|
|
269
|
-
}
|
|
279
|
+
},
|
|
280
|
+
"description": "A map of tags assigned to the EKS cluster."
|
|
270
281
|
},
|
|
271
282
|
"vpcCni": {
|
|
272
|
-
"$ref": "#/resources/eks:index:VpcCni"
|
|
283
|
+
"$ref": "#/resources/eks:index:VpcCni",
|
|
284
|
+
"description": "The VPC CNI for the cluster."
|
|
273
285
|
},
|
|
274
286
|
"vpcId": {
|
|
275
|
-
"type": "string"
|
|
287
|
+
"type": "string",
|
|
288
|
+
"description": "ID of the cluster's VPC."
|
|
276
289
|
}
|
|
277
290
|
},
|
|
278
291
|
"type": "object",
|
|
@@ -604,7 +617,7 @@
|
|
|
604
617
|
"provider": {},
|
|
605
618
|
"resources": {
|
|
606
619
|
"eks:index:Cluster": {
|
|
607
|
-
"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.",
|
|
620
|
+
"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.\n\n## Example Usage\n\n### Provisioning a New EKS Cluster\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as eks from \"@pulumi/eks\";\n\n// Create an EKS cluster with the default configuration.\nconst cluster = new eks.Cluster(\"cluster\", {});\n\n// Export the cluster's kubeconfig.\nexport const kubeconfig = cluster.kubeconfig;\n ```\n\n```python\n import pulumi\n import pulumi_eks as eks\n \n # Create an EKS cluster with the default configuration.\n cluster = eks.Cluster(\"cluster\")\n\n # Export the cluster's kubeconfig.\n pulumi.export(\"kubeconfig\", cluster.kubeconfig)\n ```\n\n```go\n package main\n \n import (\n \t\"github.com/pulumi/pulumi-eks/sdk/go/eks\"\n \t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n )\n\nfunc main() {\n \tpulumi.Run(func(ctx *pulumi.Context) error {\n \t\t// Create an EKS cluster with the default configuration.\n\t\tcluster, err := eks.NewCluster(ctx, \"cluster\", nil)\n \t\tif err != nil {\n \t\t\treturn err\n \t\t}\n \t\t// Export the cluster's kubeconfig.\n \t\tctx.Export(\"kubeconfig\", cluster.Kubeconfig)\n\t\treturn nil\n \t})\n }\n ```\n\n```csharp\n using System.Collections.Generic;\n using Pulumi;\n using Eks = Pulumi.Eks;\n \n return await Deployment.RunAsync(() =\u003e\n {\n \t// Create an EKS cluster with the default configuration.\n\tvar cluster = new Eks.Cluster(\"cluster\");\n \n \treturn new Dictionary\u003cstring, object?\u003e\n \t{\n \t\t// Export the cluster's kubeconfig.\n \t\t[\"kubeconfig\"] = cluster.Kubeconfig,\n \t};\n });\n\n```\n\n```java\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.eks.Cluster;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n\tpublic static void main(String[] args) {\n\t\tPulumi.run(App::stack);\n\t}\n\n\t public static void stack(Context ctx) {\n \t\t// Create an EKS cluster with the default configuration.\n \t\tvar cluster = new Cluster(\"cluster\");\n \n \t\t// Export the cluster's kubeconfig.\n\t\tctx.export(\"kubeconfig\", cluster.kubeconfig());\n\t}\n }\n```\n\n```yaml\nresources:\n# Create an EKS cluster with the default configuration.\ncluster:\ntype: eks:Cluster\noutputs:\n# Export the cluster's kubeconfig.\nkubeconfig: ${cluster.kubeconfig}\n\n```\n\u003c!--End PulumiCodeChooser --\u003e",
|
|
608
621
|
"properties": {
|
|
609
622
|
"awsProvider": {
|
|
610
623
|
"$ref": "/aws/v6.5.0/schema.json#/provider",
|
|
@@ -1607,7 +1620,8 @@
|
|
|
1607
1620
|
"outputs": {
|
|
1608
1621
|
"properties": {
|
|
1609
1622
|
"result": {
|
|
1610
|
-
"type": "string"
|
|
1623
|
+
"type": "string",
|
|
1624
|
+
"description": "The kubeconfig for the cluster."
|
|
1611
1625
|
}
|
|
1612
1626
|
},
|
|
1613
1627
|
"required": [
|
package/package.json
CHANGED
package/package.json.dev
CHANGED