Skip to content

Commit

Permalink
Update android container resources
Browse files Browse the repository at this point in the history
  • Loading branch information
DEcSENT committed Nov 29, 2024
1 parent c7161df commit 1db6c8f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
7 changes: 4 additions & 3 deletions Samples/Android/CodeSnippets/k8s/emcee-worker-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1db6c8f

Please sign in to comment.