apiVersion: apps/v1
kind: Deployment
metadata:
  name: edge-client
  labels:
    app: edge-client
spec:
  replicas: 6
  selector:
    matchLabels:
      app: edge-client
  template:
    metadata:
      labels:
        app: edge-client
    spec:
      containers:
      - name: edge-client
        image: mfatihaktas/edge-load-balance
        ports:
        - containerPort: 5000
        command: ["python3", "-u"]
        args: ["/home/app/client.py", "--d=2", "--inter_probe_num_reqs=20", "--mean_inter_gen_time=0.2", "--mid_addr_m={\"m0\": [\"edge-master-service-0\", \"null\"], \"m1\": [\"edge-master-service-1\", \"null\"], \"m2\": [\"edge-master-service-2\", \"null\"]}", "--dashboard_server_addr=[\"dashboard-service\", \"null\"]"]
