diff --git a/README.md b/README.md index f317e2ce..d9636773 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@

- Test + Test Downloads @@ -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 ``` diff --git a/docs/aws-eks.md b/docs/aws-eks.md index 2fba654b..75fd930e 100644 --- a/docs/aws-eks.md +++ b/docs/aws-eks.md @@ -208,16 +208,16 @@ aws-load-balancer-controller 2/2 2 2 36d ## Install Nginx Ingress Controller -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 ```