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
779d7a7d
Commit
779d7a7d
authored
Aug 04, 2022
by
李灿灿
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
商险部署deployment svc 配置還原
parent
6c524fea
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
4 deletions
+3
-4
yifu-insurances-deployment.yaml
k8s-bash-test/yifu-insurances-deployment.yaml
+0
-1
yifu-insurances-service.yaml
k8s-bash-test/yifu-insurances-service.yaml
+2
-2
daprConfig.properties
...yifu-common-dapr/src/main/resources/daprConfig.properties
+1
-1
No files found.
k8s-bash-test/yifu-insurances-deployment.yaml
View file @
779d7a7d
...
...
@@ -22,7 +22,6 @@ spec: # 资源规范字段
dapr.io/enabled
:
"
true"
#设定此参数为 true 注入Dapr sidecar到pod
dapr.io/app-id
:
"
yifu-insurances"
#应用程序唯一 ID。 用于服务发现、状态封装 和 发布/订阅 消费者ID
dapr.io/app-port
:
"
5005"
#这个参数告诉Dapr你的应用程序正在监听哪个端口。
dapr.io/dapr-http-port
:
"
3511"
#dapr指定端口
#dapr.io/log-level: "debug" #为 Dapr sidecar设置日志级别。 允许的值是debug,info,warn,error。 默认是 info
#dapr.io/log-as-json: "false" #将此参数设置为true以JSON格式输出日志。 默认值为 false.
#dapr.io/config: file #告诉 Dapr 要使用哪个配置 CRD
...
...
k8s-bash-test/yifu-insurances-service.yaml
View file @
779d7a7d
...
...
@@ -11,9 +11,9 @@ spec: # 资源规范字段
protocol
:
TCP
# 协议
targetPort
:
5005
# 容器暴露的端口
name
:
http-insurances
# 端口名称
-
port
:
35
11
# service 端口
-
port
:
35
00
# service 端口
protocol
:
TCP
# 协议
targetPort
:
35
11
# 容器暴露的端口
targetPort
:
35
00
# 容器暴露的端口
name
:
http-insurances-dapr
selector
:
# 选择器
app
:
yifu-insurances
# 资源名称
...
...
yifu-common/yifu-common-dapr/src/main/resources/daprConfig.properties
View file @
779d7a7d
...
...
@@ -12,6 +12,6 @@ dapr.check.appId=yifu-check
dapr.archives.appUrl
=
http://yifu-archives.qas-mvp.svc.cluster.local:3500/v1.0/invoke/
dapr.archives.appId
=
yifu-archives
dapr.insurances.appUrl
=
http://yifu-
insurances.qas-mvp.svc.cluster.local:3511
/v1.0/invoke/
dapr.insurances.appUrl
=
http://yifu-
auth.qas-mvp.svc.cluster.local:3500
/v1.0/invoke/
dapr.insurances.appId
=
yifu-insurances
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