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
3b36cb76
Commit
3b36cb76
authored
Sep 27, 2023
by
fangxinjiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
权限 docker.sh
parent
78786f54
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
yifu-permission-deployment.yaml
k8s-bash/yifu-permission-deployment.yaml
+1
-1
yifu-permission-service.yaml
k8s-bash/yifu-permission-service.yaml
+4
-4
No files found.
k8s-bash/yifu-permission-deployment.yaml
View file @
3b36cb76
...
...
@@ -59,7 +59,7 @@ spec: # 资源规范字段
value
:
Asia/Shanghai
resources
:
#资源配置限制
limits
:
# 最大使用
memory
:
"
4
096Mi"
memory
:
"
2
096Mi"
#cpu: 300m # CPU,1核心 = 1000m
requests
:
# 容器运行时,最低资源需求,也就是说最少需要多少资源容器才能正常运行
#cpu: 100m
...
...
k8s-bash/yifu-permission-service.yaml
View file @
3b36cb76
...
...
@@ -11,10 +11,10 @@ spec: # 资源规范字段
protocol
:
TCP
# 协议
targetPort
:
5027
# 容器暴露的端口
name
:
http-permission
# 端口名称
-
port
:
3500
# service 端口
protocol
:
TCP
# 协议
targetPort
:
3500
# 容器暴露的端口
name
:
http-permission-dapr
#
- port: 3500 # service 端口
#
protocol: TCP # 协议
#
targetPort: 3500 # 容器暴露的端口
#
name: http-permission-dapr
selector
:
# 选择器
app
:
yifu-permission
# 资源名称
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