Skip to content

Commit

Permalink
chore(eks): clarified the usage of the vpcSubnets property (#17420)
Browse files Browse the repository at this point in the history
Closes #17023.

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
  • Loading branch information
otaviomacedo authored Nov 11, 2021
1 parent 0bfc15c commit 724aa17
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions packages/@aws-cdk/aws-eks/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@ The following is a qualitative diagram of the various possible components involv

```text
+-----------------------------------------------+ +-----------------+
| EKS Cluster | kubectl | |
| ----------- |<-------------+| Kubectl Handler |
| EKS Cluster | kubectl | |
|-----------------------------------------------|<-------------+| Kubectl Handler |
| | | |
| | +-----------------+
| +--------------------+ +-----------------+ |
Expand Down Expand Up @@ -516,6 +516,9 @@ new eks.Cluster(this, 'HelloEKS', {
If you do not specify a VPC, one will be created on your behalf, which you can then access via `cluster.vpc`. The cluster VPC will be associated to any EKS managed capacity (i.e Managed Node Groups and Fargate Profiles).

Please note that the `vpcSubnets` property defines the subnets where EKS will place the _control plane_ ENIs. To choose
the subnets where EKS will place the worker nodes, please refer to the **Provisioning clusters** section above.

If you allocate self managed capacity, you can specify which subnets should the auto-scaling group use:

```ts
Expand Down

0 comments on commit 724aa17

Please sign in to comment.