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