Commit 93e3c576 by wangtingwei

autodl seetaas ingress规则增加解决414修复annation

1 parent c33cbd53
......@@ -3,6 +3,11 @@ kind: Ingress
metadata:
name: autodl-ingress
namespace: autodl
######################添加annotation修改nginx配置信息,解决上传文件413 too large限制################
annotations:
kubernetes.io/ingress.class: nginx
nginx.ingress.kubernetes.io/proxy-body-size: "102400m"
#####################################################################################################
spec:
tls:
- hosts:
......@@ -22,7 +27,7 @@ spec:
paths:
- backend:
serviceName: autodl--frontend
servicePort: 30090
servicePort: 80 #port
- host: api-test.autodl.com
http:
paths:
......@@ -40,7 +45,7 @@ spec:
paths:
- backend:
serviceName: autodl--admin-frontend
servicePort: 80
servicePort: 80 #port
- host: admin-backend-test.autodl.com
http:
paths:
......
......@@ -7,7 +7,7 @@ metadata:
app.kubernetes.io/name: ingress-nginx
app.kubernetes.io/part-of: ingress-nginx
spec:
replicas: 1
replicas: 3
selector:
matchLabels:
app.kubernetes.io/name: ingress-nginx
......
......@@ -3,6 +3,11 @@ kind: Ingress
metadata:
name: seetaas-ingress
namespace: seetaas
######################添加annotation修改nginx配置信息,解决上传文件413 too large限制################
annotations:
kubernetes.io/ingress.class: nginx
nginx.ingress.kubernetes.io/proxy-body-size: "102400m"
###########################################################################
spec:
tls:
- hosts:
......@@ -64,3 +69,4 @@ spec:
- backend:
serviceName: seetaas--frontend
servicePort: 81
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!