Skip to content

Commit

Permalink
Fix helm install on cloud provider admonition block (#11412)
Browse files Browse the repository at this point in the history
* Fix helm install on cloud provider admonition block

* Add missing admonition type.
* Format link to AWS LB controller.
* Add nested YAML code block for annotations example
* Add a couple of line breaks for breathing and structure

* Fix admonition block title

* Another try

* Should be nice now

---------

Co-authored-by: Jérémie Tarot <[email protected]>
  • Loading branch information
k8s-infra-cherrypick-robot and silopolis authored Jun 2, 2024
1 parent 5038431 commit f295904
Showing 1 changed file with 6 additions and 13 deletions.
19 changes: 6 additions & 13 deletions docs/deploy/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,14 +65,11 @@ It will install the controller in the `ingress-nginx` namespace, creating that n
helm show values ingress-nginx --repo https://kubernetes.github.io/ingress-nginx
```

!!! helm install on AWS/GCP/Azure/Other providers
There have been too many attempts at using helm to install the controller on the cloud infra like AWS/GCP/Azure/Other.
The ingress-nginx-controller helm-chart is a generic install out of the box.
The default set of helm values are not configured for installing on any infra provider.
The annotations that are applicable to the cloud provider must be customized by the users.
Link to AWS LB Constroller https://kubernetes-sigs.github.io/aws-load-balancer-controller/v2.2/guide/service/annotations/
Examples of some annotations needed for the service resource of --type LoadBalancer on AWS are below

!!! attention "Helm install on AWS/GCP/Azure/Other providers"
The *ingress-nginx-controller helm-chart is a generic install out of the box*. The default set of helm values is **not** configured for installation on any infra provider. The annotations that are applicable to the cloud provider must be customized by the users.<br/>
See [AWS LB Constroller](https://kubernetes-sigs.github.io/aws-load-balancer-controller/v2.2/guide/service/annotations/).<br/>
Examples of some annotations needed for the service resource of `--type LoadBalancer` on AWS are below:
```yaml
annotations:
service.beta.kubernetes.io/aws-load-balancer-scheme: "internet-facing"
service.beta.kubernetes.io/aws-load-balancer-backend-protocol: tcp
Expand All @@ -85,11 +82,7 @@ helm show values ingress-nginx --repo https://kubernetes.github.io/ingress-nginx
service.beta.kubernetes.io/aws-load-balancer-access-log-s3-bucket-name: "somebucket"
service.beta.kubernetes.io/aws-load-balancer-access-log-s3-bucket-prefix: "ingress-nginx"
service.beta.kubernetes.io/aws-load-balancer-access-log-emit-interval: "5"





```

**If you don't have Helm** or if you prefer to use a YAML manifest, you can run the following command instead:

Expand Down

0 comments on commit f295904

Please sign in to comment.