Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
tingweiwang
/
ingress
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 93e3c576
authored
Dec 22, 2019
by
wangtingwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
autodl seetaas ingress规则增加解决414修复annation
1 parent
c33cbd53
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
3 deletions
autodl-ingress.yaml
deployment.yaml
seetaas-ingress.yaml
autodl-ingress.yaml
View file @
93e3c57
...
...
@@ -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
:
...
...
deployment.yaml
View file @
93e3c57
...
...
@@ -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
...
...
seetaas-ingress.yaml
View file @
93e3c57
...
...
@@ -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
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment