Fix/add resource requirements.

This commit is contained in:
Michael Lipp 2023-08-15 17:02:59 +02:00
parent f56fe228aa
commit e84b9e3e82
2 changed files with 6 additions and 1 deletions

View file

@ -33,6 +33,10 @@ spec:
- ALL - ALL
readOnlyRootFilesystem: true readOnlyRootFilesystem: true
allowPrivilegeEscalation: false allowPrivilegeEscalation: false
resources:
requests:
cpu: 100m
memory: 32Mi
volumes: volumes:
- name: config - name: config
configMap: configMap:

View file

@ -24,7 +24,8 @@ dependencies {
application { application {
applicationName = 'vm-runner.qemu' 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' '-Djava.util.logging.manager=org.jdrupes.vmoperator.util.LongLoggingManager'
] ]
// Define the main class for the application. // Define the main class for the application.