Fix/add resource requirements.
This commit is contained in:
parent
f56fe228aa
commit
e84b9e3e82
2 changed files with 6 additions and 1 deletions
|
|
@ -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:
|
||||||
|
|
|
||||||
|
|
@ -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.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue