mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-04-27 01:16:22 +02:00
Set resource limits (#22)
* Added resource limits to resources. * Boost version number, rebuild YAMLs
This commit is contained in:
parent
86cbe7f929
commit
a01a72ba00
27 changed files with 2445 additions and 220 deletions
|
|
@ -33,7 +33,17 @@ local images = import "../images.jsonnet";
|
|||
volumes: [
|
||||
"etcd:/etcd"
|
||||
],
|
||||
},
|
||||
resources: {
|
||||
limits: {
|
||||
cpus: '0.25',
|
||||
memory: '128M'
|
||||
},
|
||||
reservations: {
|
||||
cpus: '0.25',
|
||||
memory: '128M'
|
||||
}
|
||||
},
|
||||
},
|
||||
|
||||
minio: base + {
|
||||
image: images.minio,
|
||||
|
|
@ -54,6 +64,18 @@ local images = import "../images.jsonnet";
|
|||
volumes: [
|
||||
"minio-data:/minio_data",
|
||||
],
|
||||
deploy: {
|
||||
resources: {
|
||||
limits: {
|
||||
cpus: '0.25',
|
||||
memory: '128M'
|
||||
},
|
||||
reservations: {
|
||||
cpus: '0.25',
|
||||
memory: '128M'
|
||||
}
|
||||
}
|
||||
},
|
||||
},
|
||||
|
||||
milvus: base + {
|
||||
|
|
@ -72,6 +94,18 @@ local images = import "../images.jsonnet";
|
|||
volumes: [
|
||||
"milvus:/var/lib/milvus"
|
||||
],
|
||||
deploy: {
|
||||
resources: {
|
||||
limits: {
|
||||
cpus: '1.0',
|
||||
memory: '256M'
|
||||
},
|
||||
reservations: {
|
||||
cpus: '0.5',
|
||||
memory: '256M'
|
||||
}
|
||||
}
|
||||
},
|
||||
},
|
||||
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue