add nginx ingress controller
This commit is contained in:
4
infra/nginx/Makefile
Normal file
4
infra/nginx/Makefile
Normal 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
18
infra/nginx/values.yaml
Normal 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
|
||||||
Reference in New Issue
Block a user