Spaces:
Sleeping
Sleeping
File size: 673 Bytes
0b14e8c |
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 29 30 31 32 33 34 |
# client.yaml configuration
apiVersion: apps/v1
kind: Deployment
metadata:
name: fl-client
namespace: federated-learning
spec:
replicas: 3
selector:
matchLabels:
app: fl-client
template:
metadata:
labels:
app: fl-client
spec:
containers:
- name: fl-client
image: fl-client:latest
env:
- name: CONFIG_PATH
value: /app/config/client_config.yaml
- name: SERVER_HOST
value: fl-server-service
volumeMounts:
- name: config-volume
mountPath: /app/config
volumes:
- name: config-volume
configMap:
name: client-config
|