add nginx ingress controller

This commit is contained in:
2025-02-08 03:51:56 +01:00
parent 82aba53b78
commit e7a7055d07
2 changed files with 22 additions and 0 deletions

4
infra/nginx/Makefile Normal file
View File

@@ -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

18
infra/nginx/values.yaml Normal file
View File

@@ -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