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