diff --git a/deploy/vmop-deployment.yaml b/deploy/vmop-deployment.yaml index 7c9cc27..f870ead 100644 --- a/deploy/vmop-deployment.yaml +++ b/deploy/vmop-deployment.yaml @@ -33,6 +33,10 @@ spec: - ALL readOnlyRootFilesystem: true allowPrivilegeEscalation: false + resources: + requests: + cpu: 100m + memory: 32Mi volumes: - name: config configMap: diff --git a/org.jdrupes.vmoperator.runner.qemu/build.gradle b/org.jdrupes.vmoperator.runner.qemu/build.gradle index 5dcf53f..ff9a257 100644 --- a/org.jdrupes.vmoperator.runner.qemu/build.gradle +++ b/org.jdrupes.vmoperator.runner.qemu/build.gradle @@ -24,7 +24,8 @@ dependencies { application { applicationName = 'vm-runner.qemu' - applicationDefaultJvmArgs = ['-Xms50m', + // Keep sync'd with deploy/vmop-deployment.yaml + applicationDefaultJvmArgs = ['-Xmx32m', '-Djava.util.logging.manager=org.jdrupes.vmoperator.util.LongLoggingManager' ] // Define the main class for the application.