|
apiVersion: diengine.opendilab.org/v1alpha1 |
|
kind: AggregatorConfig |
|
metadata: |
|
name: aggregator-config |
|
namespace: di-system |
|
spec: |
|
aggregator: |
|
template: |
|
spec: |
|
containers: |
|
- name: di-container |
|
image: diorchestrator/ding:v0.1.1 |
|
imagePullPolicy: IfNotPresent |
|
env: |
|
- name: PYTHONUNBUFFERED |
|
value: "1" |
|
command: ["/bin/bash", "-c",] |
|
args: |
|
- | |
|
# if code has been changed in the mount path, we have to reinstall cli |
|
# pip install --no-cache-dir -e .; |
|
# pip install --no-cache-dir -e .[common_env] |
|
|
|
ding -m dist --module learner_aggregator |
|
ports: |
|
- name: di-port |
|
containerPort: 22270 |
|
|