Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
Y
yifu-mvp
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fangxinjiang
yifu-mvp
Commits
c55c74da
Commit
c55c74da
authored
Jun 08, 2022
by
fangxinjiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
配置调整
parent
68116221
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
4 deletions
+6
-4
yifu-auth-deployment.yaml
k8s-bash-test/yifu-auth-deployment.yaml
+1
-0
yifu-auth-service.yaml
k8s-bash-test/yifu-auth-service.yaml
+2
-2
yifu-upms-deployment.yaml
k8s-bash-test/yifu-upms-deployment.yaml
+1
-0
yifu-upms-service.yaml
k8s-bash-test/yifu-upms-service.yaml
+2
-2
No files found.
k8s-bash-test/yifu-auth-deployment.yaml
View file @
c55c74da
...
...
@@ -34,6 +34,7 @@ spec: # 资源规范字段
#dapr.io/sidecar-cpu-request: 1 #Dapr sidecar要求的 CPU 数量
#dapr.io/sidecar-memory-request #Dapr sidecar 请求的内存数量
#dapr.io/http-max-request-size: "8MB" #增加http和grpc服务器请求正文参数的最大大小,单位为MB,以处理大文件的上传。 默认值为 4 MB
dapr.io/sidecar-listen-addresses
:
"
0.0.0.0"
# 更多dapr配置请参考 https://www.bookstack.cn/read/dapr-1.5-zh/cc77b74e2cc2f4d4.md
spec
:
# 资源规范字段
...
...
k8s-bash-test/yifu-auth-service.yaml
View file @
c55c74da
...
...
@@ -10,11 +10,11 @@ spec: # 资源规范字段
-
port
:
3000
# service 端口
protocol
:
TCP
# 协议
targetPort
:
3000
# 容器暴露的端口
name
:
http
# 端口名称
name
:
http
-auth
# 端口名称
-
port
:
3500
# service 端口
protocol
:
TCP
# 协议
targetPort
:
3500
# 容器暴露的端口
name
:
yifu-auth
name
:
http-auth-dapr
selector
:
# 选择器
app
:
yifu-auth
# 资源名称
type
:
ClusterIP
# ClusterIP 类型
\ No newline at end of file
k8s-bash-test/yifu-upms-deployment.yaml
View file @
c55c74da
...
...
@@ -34,6 +34,7 @@ spec: # 资源规范字段
#dapr.io/sidecar-cpu-request: 1 #Dapr sidecar要求的 CPU 数量
#dapr.io/sidecar-memory-request #Dapr sidecar 请求的内存数量
#dapr.io/http-max-request-size: "8MB" #增加http和grpc服务器请求正文参数的最大大小,单位为MB,以处理大文件的上传。 默认值为 4 MB
dapr.io/sidecar-listen-addresses
:
"
0.0.0.0"
# 更多dapr配置请参考 https://www.bookstack.cn/read/dapr-1.5-zh/cc77b74e2cc2f4d4.md
spec
:
# 资源规范字段
...
...
k8s-bash-test/yifu-upms-service.yaml
View file @
c55c74da
...
...
@@ -10,11 +10,11 @@ spec: # 资源规范字段
-
port
:
4000
# service 端口
protocol
:
TCP
# 协议
targetPort
:
4000
# 容器暴露的端口
name
:
http
# 端口名称
name
:
http
-upms
# 端口名称
-
port
:
3500
# service 端口
protocol
:
TCP
# 协议
targetPort
:
3500
# 容器暴露的端口
name
:
yifu-upms
name
:
http-upms-dapr
selector
:
# 选择器
app
:
yifu-upms
# 资源名称
type
:
ClusterIP
# ClusterIP 类型
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment