File size: 767 Bytes
079c32c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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