Commit 3b36cb76 authored by fangxinjiang's avatar fangxinjiang

权限 docker.sh

parent 78786f54
......@@ -59,7 +59,7 @@ spec: # 资源规范字段
value: Asia/Shanghai
resources: #资源配置限制
limits: # 最大使用
memory: "4096Mi"
memory: "2096Mi"
#cpu: 300m # CPU,1核心 = 1000m
requests: # 容器运行时,最低资源需求,也就是说最少需要多少资源容器才能正常运行
#cpu: 100m
......
......@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment