Skip to content

Commit

Permalink
feat: push 'use operator or not' to collector (#6394)
Browse files Browse the repository at this point in the history
* feat: push 'use operator or not' to collector

* fix: remove invalid characters

* feat: more addon info
  • Loading branch information
CeerDecy authored Jul 15, 2024
1 parent 13b152f commit a103de4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/erda-server/bootstrap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ cmp:
# steve cache total size (MB), default 64MB
cache_size: ${CMP_STEVE_CACHE_SIZE:64}
[email protected]:
addr: "${MONITOR_GRPC_ADDR:monitor:7080}"xwxxx
addr: "${MONITOR_GRPC_ADDR:monitor:7080}"
block: false
erda.core.monitor.metric-client: { }
[email protected]:
Expand Down
3 changes: 3 additions & 0 deletions internal/tools/orchestrator/services/addon/addon_handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -1149,6 +1149,9 @@ func (a *Addon) basicAddonDeploy(addonIns *dbclient.AddonInstance, addonInsRouti
}
logrus.Infof("sending addon creating request, request body: %+v", *addonCreateReq)

_, ok := addonCreateReq.DiceYml.Meta["USE_OPERATOR"]
a.pushLog(fmt.Sprintf("addon [%s:%s] will be deployed, use operator: %v", addonSpec.Name, addonSpec.Version, ok), params)

// 请求调度器
_, err = a.serviceGroupImpl.Create(*addonCreateReq)
if err != nil {
Expand Down

0 comments on commit a103de4

Please sign in to comment.