mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-07-07 04:12:10 +02:00
Added resource limits to resources.
This commit is contained in:
parent
86cbe7f929
commit
f36e8e5acc
16 changed files with 499 additions and 3 deletions
|
|
@ -11,9 +11,24 @@ local images = import "../images.jsonnet";
|
|||
ports: [
|
||||
"9042:9042"
|
||||
],
|
||||
environment: {
|
||||
JVM_OPTS: "-Xms256M -Xmx256M",
|
||||
},
|
||||
volumes: [
|
||||
"cassandra:/var/lib/cassandra"
|
||||
],
|
||||
deploy: {
|
||||
resources: {
|
||||
limits: {
|
||||
cpus: '1.0',
|
||||
memory: '512M'
|
||||
},
|
||||
reservations: {
|
||||
cpus: '0.5',
|
||||
memory: '512M'
|
||||
}
|
||||
}
|
||||
},
|
||||
},
|
||||
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue