Skip to content

Commit

Permalink
docs: fix componentDef bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
michelle-0808 committed Jan 7, 2025
1 parent 82ceb61 commit 9089d06
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion docs/user_docs/observability/monitor-database.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ spec:
topology: replication
componentSpecs:
- name: postgresql
componentDef: postgresql
serviceVersion: "14.7.2"
disableExporter: false
labels:
Expand Down Expand Up @@ -199,7 +200,7 @@ Edit the value of `disableExporter`.
...
componentSpecs:
- name: mysql
componentDefRef: mysql
componentDef: mysql
disableExporter: true # Set to `false` to enable exporter
...
```
Expand Down
3 changes: 2 additions & 1 deletion i18n/zh-cn/user-docs/observability/monitor-database.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ spec:
topology: replication
componentSpecs:
- name: postgresql
componentDef: postgresql
serviceVersion: "14.7.2"
disableExporter: false
labels:
Expand Down Expand Up @@ -203,7 +204,7 @@ kubectl edit cluster mycluster -n demo
...
componentSpecs:
- name: mysql
componentDefRef: mysql
componentDef: mysql
disableExporter: true # 将参数值设为 `false`,开启 exporter
```

Expand Down

0 comments on commit 9089d06

Please sign in to comment.