From 1db6c8f82f160975bc88a90b3f3d44ddd3cc0e2b Mon Sep 17 00:00:00 2001 From: Denis Verentsov Date: Fri, 29 Nov 2024 18:34:44 +0500 Subject: [PATCH] Update android container resources --- .../CodeSnippets/docker_compose/docker-compose.yaml | 4 ++++ .../Android/CodeSnippets/k8s/emcee-worker-deployment.yaml | 7 ++++--- 2 files changed, 8 insertions(+), 3 deletions(-) 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