Skip to content
Merged
Show file tree
Hide file tree
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
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<p align="center">
<a href="https://github.com/developmentseed/eoapi-k8s/actions?query=workflow%3ACI" target="_blank">
<img src="https://github.com/developmentseed/eoapi-k8s/actions/workflows/helm-tests.yml/badge.svg" alt="Test">
<img src="https://github.com/developmentseed/eoapi-k8s/actions/workflows/helm-tests.yml/badge.svg?branch=main" alt="Test">
</a>
<a href="https://github.com/developmentseed/eoapi-k8s/blob/main/LICENSE" target="_blank">
<img src="https://img.shields.io/github/license/developmentseed/titiler.svg" alt="Downloads">
Expand Down Expand Up @@ -77,7 +77,10 @@ Once you have a k8s cluster set up you can `helm install` eoAPI as follows
POSTGRES_PASSWORD: "password"

# then run `helm install` with those overrides
helm install eoapi eoapi/eoapi --version 0.1.1 -f config.yaml
# NOTE: nginx in the default ingress so if you are using that make sure your nginx controller
# is in the same namespace beforehand or services won't be exposed
# https://github.com/developmentseed/eoapi-k8s/blob/main/docs/aws-eks.md#nginx-ingress
$ helm install -n eoapi --create-namespace eoapi eoapi/eoapi --version 0.1.2 -f config.yaml
```


12 changes: 6 additions & 6 deletions docs/aws-eks.md
Original file line number Diff line number Diff line change
Expand Up @@ -208,16 +208,16 @@ aws-load-balancer-controller 2/2 2 2 36d

## Install Nginx Ingress Controller <a name="nginx-ingress"></a>

Please look through the [Nginx Docs](https://docs.nginx.com/nginx-ingress-controller/) to verify nothing has changed below. There are multiple ways to provision and configure. Below is the simplest we found:
Please look through the [Nginx Docs](https://github.com/kubernetes/ingress-nginx) to verify nothing has changed below. There are multiple ways to provision and configure. Below is the simplest we found:

```python
helm upgrade \
--cleanup-on-fail \
-i nginx \
$ helm repo add ingress-nginx https://kubernetes.github.io/ingress-nginx
$ helm upgrade \
-i ingress-nginx \
ingress-nginx/ingress-nginx \
--set controller.service.type=LoadBalancer \
--set controller.service.type=LoadBalancer
# these next two annotations are the most important otherwise nginx controller will create an "internal" 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-type"="nlb" \
--set controller.service.annotations."service\.beta\.kubernetes\.io/aws-load-balancer-scheme"="internet-facing" \
--namespace <the-same-namespace-where-your-services-will-be-deployed>
```
Expand Down