server.yml 470 B

1234567891011121314151617181920
  1. apiVersion: v1
  2. kind: Pod
  3. metadata:
  4. name: easyfl-server
  5. namespace: easyfl
  6. labels:
  7. app: easyfl-server
  8. spec:
  9. containers:
  10. - name: easyfl-server
  11. image: easyfl-server
  12. imagePullPolicy: IfNotPresent
  13. env:
  14. - name: PYTHONUNBUFFERED
  15. value: "1"
  16. args: ["--is-remote", "True", "--local-port", "23501", "--tracker-addr", "easyfl-tracker-svc.easyfl:12666"]
  17. ports:
  18. - containerPort: 23501
  19. nodeSelector:
  20. kubernetes.io/hostname: "node2"