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
Вы можете оставить комментарий после Вход в систему
Неприемлемый контент может быть отображен здесь и не будет показан на странице. Вы можете проверить и изменить его с помощью соответствующей функции редактирования.
Если вы подтверждаете, что содержание не содержит непристойной лексики/перенаправления на рекламу/насилия/вульгарной порнографии/нарушений/пиратства/ложного/незначительного или незаконного контента, связанного с национальными законами и предписаниями, вы можете нажать «Отправить» для подачи апелляции, и мы обработаем ее как можно скорее.
Комментарии ( 0 )