Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,13 @@

Follow these instructions to install the link:https://kubernetes.github.io/ingress-nginx/[Ingress-Nginx Controller] on {eks-short}.

.Prerequisites

* Ensure your VPC subnets have the appropriate tags for load balancer discovery:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
* Ensure your VPC subnets have the appropriate tags for load balancer discovery:
* Verify that your VPC subnets have the appropriate tags for load balancer discovery:

** For public subnets (with internet gateway routes): `kubernetes.io/role/elb=1`
** For private subnets (without internet gateway routes): `kubernetes.io/role/internal-elb=1`
** For all subnets: `kubernetes.io/cluster/<CLUSTER_NAME>=shared` or `kubernetes.io/cluster/<CLUSTER_NAME>=owned`

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you explain pls, why those prerequisites are needed?

.Procedure

. Install the `Ingress-Nginx Controller` using `Helm`:
Expand All @@ -22,7 +29,8 @@ helm install ingress-nginx ingress-nginx/ingress-nginx \
--namespace ingress-nginx \
--set controller.service.annotations."service\.beta\.kubernetes\.io/aws-load-balancer-backend-protocol"=tcp \
--set controller.service.annotations."service\.beta\.kubernetes\.io/aws-load-balancer-cross-zone-load-balancing-enabled"="true" \
--set controller.service.annotations."service\.beta\.kubernetes\.io/aws-load-balancer-type"=nlb
--set controller.service.annotations."service\.beta\.kubernetes\.io/aws-load-balancer-type"=nlb \
--set controller.service.annotations."service\.beta\.kubernetes\.io/aws-load-balancer-scheme"="internet-facing"
----

. Verify that you can access the load balancer externally.
Expand All @@ -47,4 +55,4 @@ You should receive the output similar to:

.Additional resources

* link:https://kubernetes.github.io/ingress-nginx/deploy/[Ingress-Nginx Controller Installation Guide]
* link:https://kubernetes.github.io/ingress-nginx/deploy/[Ingress-Nginx Controller Installation Guide]