Skip to content

Commit 5bfc566

Browse files
authored
Update Internal Load Balancer docs (#10062)
* Update internal load balancer doc Signed-off-by: z1cheng <[email protected]> * Fix incorrect description Signed-off-by: z1cheng <[email protected]> * GenerateREADME.md using helm-docs Signed-off-by: z1cheng <[email protected]> * Regenerate the docs Signed-off-by: z1cheng <[email protected]> --------- Signed-off-by: z1cheng <[email protected]>
1 parent 4c00085 commit 5bfc566

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
lines changed

charts/ingress-nginx/README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,8 +143,10 @@ controller:
143143
internal:
144144
enabled: true
145145
annotations:
146-
# Create internal ELB
147-
service.beta.kubernetes.io/aws-load-balancer-internal: "true"
146+
# Create internal NLB
147+
service.beta.kubernetes.io/aws-load-balancer-scheme: "internet-facing"
148+
# Create internal ELB(Deprecated)
149+
# service.beta.kubernetes.io/aws-load-balancer-internal: "true"
148150
# Any other annotation can be declared here.
149151
```
150152

@@ -187,6 +189,8 @@ controller:
187189
# Any other annotation can be declared here.
188190
```
189191

192+
The load balancer annotations of more cloud service providers can be found: [Internal load balancer](https://kubernetes.io/docs/concepts/services-networking/service/#internal-load-balancer).
193+
190194
An use case for this scenario is having a split-view DNS setup where the public zone CNAME records point to the external balancer URL while the private zone CNAME records point to the internal balancer URL. This way, you only need one ingress kubernetes object.
191195

192196
Optionally you can set `controller.service.loadBalancerIP` if you need a static IP for the resulting `LoadBalancer`.

charts/ingress-nginx/README.md.gotmpl

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,8 +140,10 @@ controller:
140140
internal:
141141
enabled: true
142142
annotations:
143-
# Create internal ELB
144-
service.beta.kubernetes.io/aws-load-balancer-internal: "true"
143+
# Create internal NLB
144+
service.beta.kubernetes.io/aws-load-balancer-scheme: "internet-facing"
145+
# Create internal ELB(Deprecated)
146+
# service.beta.kubernetes.io/aws-load-balancer-internal: "true"
145147
# Any other annotation can be declared here.
146148
```
147149

@@ -184,6 +186,8 @@ controller:
184186
# Any other annotation can be declared here.
185187
```
186188

189+
The load balancer annotations of more cloud service providers can be found: [Internal load balancer](https://kubernetes.io/docs/concepts/services-networking/service/#internal-load-balancer).
190+
187191
An use case for this scenario is having a split-view DNS setup where the public zone CNAME records point to the external balancer URL while the private zone CNAME records point to the internal balancer URL. This way, you only need one ingress kubernetes object.
188192

189193
Optionally you can set `controller.service.loadBalancerIP` if you need a static IP for the resulting `LoadBalancer`.

0 commit comments

Comments
 (0)