helm: Add loadBalancerClass to internal service
This commit is contained in:
parent
27820a91a3
commit
e9a80ef26e
1 changed files with 17 additions and 2 deletions
|
@ -134,6 +134,22 @@ If one of them is missing the internal load balancer will not be deployed. Examp
|
||||||
|
|
||||||
Example for AWS:
|
Example for AWS:
|
||||||
|
|
||||||
|
* using [AWS Load Balancer Controller](https://kubernetes-sigs.github.io/aws-load-balancer-controller/), which is recommanded by AWS, but you will have to install and configure this additional controller:
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
controller:
|
||||||
|
service:
|
||||||
|
# Create internal NLB
|
||||||
|
loadBalancerClass: "service.k8s.aws/nlb"
|
||||||
|
internal:
|
||||||
|
enabled: true
|
||||||
|
annotations:
|
||||||
|
service.beta.kubernetes.io/aws-load-balancer-scheme: "internal"
|
||||||
|
# Any other annotation can be declared here.
|
||||||
|
```
|
||||||
|
|
||||||
|
* using the default inside kubernetes controller-manager (not up to date and will be mark as deprecated in futur release of kubernetes):
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
controller:
|
controller:
|
||||||
service:
|
service:
|
||||||
|
@ -141,9 +157,8 @@ controller:
|
||||||
enabled: true
|
enabled: true
|
||||||
annotations:
|
annotations:
|
||||||
# Create internal NLB
|
# Create internal NLB
|
||||||
|
service.beta.kubernetes.io/aws-load-balancer-type: "nlb"
|
||||||
service.beta.kubernetes.io/aws-load-balancer-scheme: "internal"
|
service.beta.kubernetes.io/aws-load-balancer-scheme: "internal"
|
||||||
# Create internal ELB(Deprecated)
|
|
||||||
# service.beta.kubernetes.io/aws-load-balancer-internal: "true"
|
|
||||||
# Any other annotation can be declared here.
|
# Any other annotation can be declared here.
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue