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
0607a752
Commit
0607a752
authored
Jun 07, 2022
by
fangxinjiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
配置调整
parent
ffc136cb
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
yifu-auth-service.yaml
k8s-bash-test/yifu-auth-service.yaml
+3
-0
yifu-upms-service.yaml
k8s-bash-test/yifu-upms-service.yaml
+3
-0
No files found.
k8s-bash-test/yifu-auth-service.yaml
View file @
0607a752
...
@@ -11,6 +11,9 @@ spec: # 资源规范字段
...
@@ -11,6 +11,9 @@ spec: # 资源规范字段
protocol
:
TCP
# 协议
protocol
:
TCP
# 协议
targetPort
:
3000
# 容器暴露的端口
targetPort
:
3000
# 容器暴露的端口
#name: http # 端口名称
#name: http # 端口名称
-
port
:
3500
# service 端口
protocol
:
TCP
# 协议
targetPort
:
3500
# 容器暴露的端口
selector
:
# 选择器
selector
:
# 选择器
app
:
yifu-auth
# 资源名称
app
:
yifu-auth
# 资源名称
type
:
ClusterIP
# ClusterIP 类型
type
:
ClusterIP
# ClusterIP 类型
\ No newline at end of file
k8s-bash-test/yifu-upms-service.yaml
View file @
0607a752
...
@@ -11,6 +11,9 @@ spec: # 资源规范字段
...
@@ -11,6 +11,9 @@ spec: # 资源规范字段
protocol
:
TCP
# 协议
protocol
:
TCP
# 协议
targetPort
:
4000
# 容器暴露的端口
targetPort
:
4000
# 容器暴露的端口
#name: http # 端口名称
#name: http # 端口名称
-
port
:
3500
# service 端口
protocol
:
TCP
# 协议
targetPort
:
3500
# 容器暴露的端口
selector
:
# 选择器
selector
:
# 选择器
app
:
yifu-upms
# 资源名称
app
:
yifu-upms
# 资源名称
type
:
ClusterIP
# ClusterIP 类型
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