This is an automated email from the ASF dual-hosted git repository.

juzhiyuan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix-ingress-controller.git


The following commit(s) were added to refs/heads/master by this push:
     new 695a5e1f docs: add instructions to use Network LoadBalancer (#1557)
695a5e1f is described below

commit 695a5e1fb9b58ae83e8bf8221a0a2e3c14213b0c
Author: Navendu Pottekkat <[email protected]>
AuthorDate: Tue Dec 27 08:54:11 2022 +0530

    docs: add instructions to use Network LoadBalancer (#1557)
    
    Signed-off-by: Navendu Pottekkat <[email protected]>
---
 docs/en/latest/deployments/aws.md | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/docs/en/latest/deployments/aws.md 
b/docs/en/latest/deployments/aws.md
index 0c277798..b99f365e 100644
--- a/docs/en/latest/deployments/aws.md
+++ b/docs/en/latest/deployments/aws.md
@@ -53,6 +53,22 @@ helm install apisix apisix/apisix \
 kubectl get service --namespace ingress-apisix
 ```
 
+:::tip
+
+By default AWS provisions a [Classic 
LoadBalancer](https://docs.aws.amazon.com/elasticloadbalancing/latest/classic/introduction.html).
 If you want to use a [Network 
LoadBalancer](https://docs.aws.amazon.com/elasticloadbalancing/latest/network/introduction.html)
 you can set the annotation, 
`service.beta.kubernetes.io/aws-load-balancer-type: nlb`. The install command 
would now be:
+
+```shell
+helm install apisix apisix/apisix \
+  --set gateway.type=LoadBalancer \
+  --set ingress-controller.enabled=true \
+  --namespace ingress-apisix \
+  --set ingress-controller.config.apisix.serviceNamespace=ingress-apisix \
+  --set gateway.tls.enabled=true \
+  --set 
gateway.annotations."service\.beta\.kubernetes\.io/aws-load-balancer-type"=nlb
+```
+
+:::
+
 :::note
 
 By default, APISIX ingress controller will watch the apiVersion of 
`networking.k8s.io/v1`.

Reply via email to