DI Orchestrator is designed to manage DI (Decision Intelligence) jobs using Kubernetes Custom Resource and Operator.
kubectl create -f ./config/certmanager/cert-manager.yaml
DI Orchestrator consists of three components: di-operator
, di-webhook
and di-server
. Install them with the following command.
kubectl create -f ./config/di-manager.yaml
di-operator
, di-webhook
and di-server
will be installed in di-system
namespace.
$ kubectl get pod -n di-system
NAME READY STATUS RESTARTS AGE
di-operator-57cc65d5c9-5vnvn 1/1 Running 0 59s
di-server-7b86ff8df4-jfgmp 1/1 Running 0 59s
di-webhook-45jgi23fhc-9yght 1/1 Running 0 59s
Since all DIJobs share the same configuration of aggregator, we define aggregator template in AggregatorConfig. Install AggregatorConfig with the following command:
kubectl create -f config/samples/agconfig.yaml -n di-system
# submit DIJob
$ kubectl create -f config/samples/dijob-cartpole.yaml
# get pod and you will see coordinator is created by di-operator
# a few seconds later, you will see collectors and learners created by di-server
$ kubectl get pod
# get logs of coordinator
$ kubectl logs cartpole-dqn-coordinator
Refers to user-guide. For Chinese version, please refer to 中文手册
Refers to developer-guide.
Contact us throw opendilab.contact@gmail.com
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。