diff --git a/infra/nginx/Makefile b/infra/nginx/Makefile new file mode 100644 index 0000000..ffe8c5f --- /dev/null +++ b/infra/nginx/Makefile @@ -0,0 +1,4 @@ +install: + helm repo add nginx https://helm.nginx.com/stable + helm repo update nginx + helm upgrade --install -n nginx-ingress-controller --create-namespace nginx-ingress nginx/nginx-ingress --version 2.0.1 -f values.yaml diff --git a/infra/nginx/values.yaml b/infra/nginx/values.yaml new file mode 100644 index 0000000..b0c3b5a --- /dev/null +++ b/infra/nginx/values.yaml @@ -0,0 +1,18 @@ +controller: + resources: + requests: + cpu: 100m + memory: 128Mi + limits: + cpu: 100m + memory: 128Mi + + ingressClass: + create: true + setAsDefaultIngress: true + + service: + create: true + type: LoadBalancer + externalTrafficPolicy: Local + ipFamilyPolicy: RequireDualStack