diff --git a/Samples/Android/CodeSnippets/docker_compose/docker-compose.yaml b/Samples/Android/CodeSnippets/docker_compose/docker-compose.yaml index d9812192..0d63cca1 100644 --- a/Samples/Android/CodeSnippets/docker_compose/docker-compose.yaml +++ b/Samples/Android/CodeSnippets/docker_compose/docker-compose.yaml @@ -14,6 +14,10 @@ services: - emcee-queue-service deploy: replicas: 3 + resources: + limits: + cpus: "2.2" # Here you can configure resources limits depends on features usage for each worker + memory: "6" # For example, screen recording is very cpu consumption or full hd screen with high api level require more cpu/memory devices: - "/dev/kvm:/dev/kvm" diff --git a/Samples/Android/CodeSnippets/k8s/emcee-worker-deployment.yaml b/Samples/Android/CodeSnippets/k8s/emcee-worker-deployment.yaml index 5d641429..e5b073b3 100644 --- a/Samples/Android/CodeSnippets/k8s/emcee-worker-deployment.yaml +++ b/Samples/Android/CodeSnippets/k8s/emcee-worker-deployment.yaml @@ -20,10 +20,11 @@ spec: imagePullPolicy: IfNotPresent resources: requests: - cpu: "1.15" - limits: + cpu: "2" memory: "4.5Gi" - cpu: "1.3" + limits: + cpu: "2.2" + memory: "6Gi" volumeMounts: - mountPath: /dev/kvm name: kvm