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
b738daa6
Commit
b738daa6
authored
May 24, 2022
by
fangxinjiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
init
parent
66ee8fae
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
yifu-register-deployment.yaml
k8s-bash-test/yifu-register-deployment.yaml
+2
-2
No files found.
k8s-bash-test/yifu-register-deployment.yaml
View file @
b738daa6
...
...
@@ -20,8 +20,8 @@ spec: # 资源规范字段
app
:
yifu-register
annotations
:
dapr.io/enabled
:
"
true"
#设定此参数为 true 注入Dapr sidecar到pod
dapr.io/app-id
:
"
yifu-
auth
"
#应用程序唯一 ID。 用于服务发现、状态封装 和 发布/订阅 消费者ID
dapr.io/app-port
:
"
3000
"
#这个参数告诉Dapr你的应用程序正在监听哪个端口。
dapr.io/app-id
:
"
yifu-
register
"
#应用程序唯一 ID。 用于服务发现、状态封装 和 发布/订阅 消费者ID
dapr.io/app-port
:
"
8848
"
#这个参数告诉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
...
...
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