2024-08-13 17:30:59 +01:00
|
|
|
local base = import "base.jsonnet";
|
|
|
|
|
local images = import "images.jsonnet";
|
2024-08-21 16:20:21 +01:00
|
|
|
local url = import "url.jsonnet";
|
|
|
|
|
local milvus = import "stores/milvus.jsonnet";
|
|
|
|
|
|
|
|
|
|
milvus + {
|
|
|
|
|
|
2024-08-13 17:30:59 +01:00
|
|
|
services +: {
|
2024-08-21 16:20:21 +01:00
|
|
|
|
|
|
|
|
"store-graph-embeddings": base + {
|
|
|
|
|
image: images.trustgraph,
|
2024-08-13 17:30:59 +01:00
|
|
|
command: [
|
2024-08-21 16:20:21 +01:00
|
|
|
"ge-write-milvus",
|
|
|
|
|
"-p",
|
|
|
|
|
url.pulsar,
|
|
|
|
|
"-t",
|
|
|
|
|
url.milvus,
|
2024-08-13 17:30:59 +01:00
|
|
|
],
|
2024-08-22 17:54:00 +01:00
|
|
|
deploy: {
|
|
|
|
|
resources: {
|
|
|
|
|
limits: {
|
2024-08-22 20:58:44 +01:00
|
|
|
cpus: '0.5',
|
2024-08-22 17:54:00 +01:00
|
|
|
memory: '128M'
|
|
|
|
|
},
|
|
|
|
|
reservations: {
|
|
|
|
|
cpus: '0.1',
|
|
|
|
|
memory: '128M'
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
2024-08-13 17:30:59 +01:00
|
|
|
},
|
2024-08-21 16:20:21 +01:00
|
|
|
|
|
|
|
|
"query-graph-embeddings": base + {
|
|
|
|
|
image: images.trustgraph,
|
2024-08-13 17:30:59 +01:00
|
|
|
command: [
|
2024-08-21 16:20:21 +01:00
|
|
|
"ge-query-milvus",
|
|
|
|
|
"-p",
|
|
|
|
|
url.pulsar,
|
|
|
|
|
"-t",
|
|
|
|
|
url.milvus,
|
2024-08-13 17:30:59 +01:00
|
|
|
],
|
2024-08-22 17:54:00 +01:00
|
|
|
deploy: {
|
|
|
|
|
resources: {
|
|
|
|
|
limits: {
|
2024-08-22 20:58:44 +01:00
|
|
|
cpus: '0.5',
|
2024-08-22 17:54:00 +01:00
|
|
|
memory: '128M'
|
|
|
|
|
},
|
|
|
|
|
reservations: {
|
|
|
|
|
cpus: '0.1',
|
|
|
|
|
memory: '128M'
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
2024-08-13 17:30:59 +01:00
|
|
|
},
|
2024-08-21 16:20:21 +01:00
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
2024-08-13 17:30:59 +01:00
|
|
|
}
|
2024-08-21 16:20:21 +01:00
|
|
|
|
|
|
|
|
|