diff --git a/Makefile b/Makefile index 2617e4fe..f78307ac 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ # VERSION=$(shell git describe | sed 's/^v//') -VERSION=0.7.1 +VERSION=0.7.2 DOCKER=podman diff --git a/setup.py b/setup.py index 6cd63c02..2e34ad10 100644 --- a/setup.py +++ b/setup.py @@ -4,7 +4,7 @@ import os with open("README.md", "r") as fh: long_description = fh.read() -version = "0.7.1" +version = "0.7.2" setuptools.setup( name="trustgraph", diff --git a/templates/components/azure.jsonnet b/templates/components/azure.jsonnet index 78f3a827..50e818cc 100644 --- a/templates/components/azure.jsonnet +++ b/templates/components/azure.jsonnet @@ -22,7 +22,7 @@ local url = import "url.jsonnet"; deploy: { resources: { limits: { - cpus: '0.1', + cpus: '0.5', memory: '128M' }, reservations: { @@ -55,7 +55,7 @@ local url = import "url.jsonnet"; deploy: { resources: { limits: { - cpus: '0.1', + cpus: '0.5', memory: '128M' }, reservations: { diff --git a/templates/components/bedrock.jsonnet b/templates/components/bedrock.jsonnet index 37432a73..dca554ab 100644 --- a/templates/components/bedrock.jsonnet +++ b/templates/components/bedrock.jsonnet @@ -18,7 +18,7 @@ local url = import "url.jsonnet"; deploy: { resources: { limits: { - cpus: '0.1', + cpus: '0.5', memory: '128M' }, reservations: { @@ -51,7 +51,7 @@ local url = import "url.jsonnet"; deploy: { resources: { limits: { - cpus: '0.1', + cpus: '0.5', memory: '128M' }, reservations: { @@ -90,7 +90,7 @@ local url = import "url.jsonnet"; deploy: { resources: { limits: { - cpus: '0.1', + cpus: '0.5', memory: '128M' }, reservations: { diff --git a/templates/components/cassandra.jsonnet b/templates/components/cassandra.jsonnet index c99af011..e8dd2c35 100644 --- a/templates/components/cassandra.jsonnet +++ b/templates/components/cassandra.jsonnet @@ -20,7 +20,7 @@ cassandra + { deploy: { resources: { limits: { - cpus: '0.1', + cpus: '0.5', memory: '128M' }, reservations: { @@ -43,7 +43,7 @@ cassandra + { deploy: { resources: { limits: { - cpus: '0.1', + cpus: '0.5', memory: '512M' }, reservations: { diff --git a/templates/components/claude.jsonnet b/templates/components/claude.jsonnet index db673876..42cf8e23 100644 --- a/templates/components/claude.jsonnet +++ b/templates/components/claude.jsonnet @@ -20,7 +20,7 @@ local url = import "url.jsonnet"; deploy: { resources: { limits: { - cpus: '0.1', + cpus: '0.5', memory: '128M' }, reservations: { @@ -51,7 +51,7 @@ local url = import "url.jsonnet"; deploy: { resources: { limits: { - cpus: '0.1', + cpus: '0.5', memory: '128M' }, reservations: { diff --git a/templates/components/cohere.jsonnet b/templates/components/cohere.jsonnet index 8e76e524..1e64e7d4 100644 --- a/templates/components/cohere.jsonnet +++ b/templates/components/cohere.jsonnet @@ -18,7 +18,7 @@ local url = import "url.jsonnet"; deploy: { resources: { limits: { - cpus: '0.1', + cpus: '0.5', memory: '128M' }, reservations: { @@ -43,7 +43,7 @@ local url = import "url.jsonnet"; deploy: { resources: { limits: { - cpus: '0.1', + cpus: '0.5', memory: '128M' }, reservations: { @@ -72,7 +72,7 @@ local url = import "url.jsonnet"; deploy: { resources: { limits: { - cpus: '0.1', + cpus: '0.5', memory: '128M' }, reservations: { diff --git a/templates/components/grafana.jsonnet b/templates/components/grafana.jsonnet index 2b0bd0fb..970cc438 100644 --- a/templates/components/grafana.jsonnet +++ b/templates/components/grafana.jsonnet @@ -18,7 +18,7 @@ local images = import "images.jsonnet"; deploy: { resources: { limits: { - cpus: '0.1', + cpus: '0.5', memory: '128M' }, reservations: { diff --git a/templates/components/milvus.jsonnet b/templates/components/milvus.jsonnet index 0f09399d..6a171ad7 100644 --- a/templates/components/milvus.jsonnet +++ b/templates/components/milvus.jsonnet @@ -19,7 +19,7 @@ milvus + { deploy: { resources: { limits: { - cpus: '0.1', + cpus: '0.5', memory: '128M' }, reservations: { @@ -42,7 +42,7 @@ milvus + { deploy: { resources: { limits: { - cpus: '0.1', + cpus: '0.5', memory: '128M' }, reservations: { diff --git a/templates/components/neo4j.jsonnet b/templates/components/neo4j.jsonnet index 15f56de3..034912a9 100644 --- a/templates/components/neo4j.jsonnet +++ b/templates/components/neo4j.jsonnet @@ -19,7 +19,7 @@ neo4j + { deploy: { resources: { limits: { - cpus: '0.1', + cpus: '0.5', memory: '128M' }, reservations: { @@ -42,7 +42,7 @@ neo4j + { deploy: { resources: { limits: { - cpus: '0.1', + cpus: '0.5', memory: '128M' }, reservations: { diff --git a/templates/components/ollama.jsonnet b/templates/components/ollama.jsonnet index 251a5a20..fec22067 100644 --- a/templates/components/ollama.jsonnet +++ b/templates/components/ollama.jsonnet @@ -18,7 +18,7 @@ local url = import "url.jsonnet"; deploy: { resources: { limits: { - cpus: '0.1', + cpus: '0.5', memory: '128M' }, reservations: { @@ -47,7 +47,7 @@ local url = import "url.jsonnet"; deploy: { resources: { limits: { - cpus: '0.1', + cpus: '0.5', memory: '128M' }, reservations: { diff --git a/templates/components/openai.jsonnet b/templates/components/openai.jsonnet index 96fc1720..24e615f1 100644 --- a/templates/components/openai.jsonnet +++ b/templates/components/openai.jsonnet @@ -20,7 +20,7 @@ local url = import "url.jsonnet"; deploy: { resources: { limits: { - cpus: '0.1', + cpus: '0.5', memory: '128M' }, reservations: { @@ -51,7 +51,7 @@ local url = import "url.jsonnet"; deploy: { resources: { limits: { - cpus: '0.1', + cpus: '0.5', memory: '128M' }, reservations: { diff --git a/templates/components/pulsar.jsonnet b/templates/components/pulsar.jsonnet index 9980ead1..d34fe924 100644 --- a/templates/components/pulsar.jsonnet +++ b/templates/components/pulsar.jsonnet @@ -14,7 +14,7 @@ local images = import "images.jsonnet"; "8080:8080", ], environment: { - "PULSAR_MEM": "-Xms300M -Xmx300M" + "PULSAR_MEM": "-Xms700M -Xmx700M" }, volumes: [ "pulsar-conf:/pulsar/conf", @@ -48,7 +48,7 @@ local images = import "images.jsonnet"; deploy: { resources: { limits: { - cpus: '0.1', + cpus: '0.5', memory: '128M' }, reservations: { @@ -70,7 +70,7 @@ local images = import "images.jsonnet"; deploy: { resources: { limits: { - cpus: '0.1', + cpus: '0.5', memory: '128M' }, reservations: { diff --git a/templates/components/stores/milvus.jsonnet b/templates/components/stores/milvus.jsonnet index 03eb571c..9fdbe753 100644 --- a/templates/components/stores/milvus.jsonnet +++ b/templates/components/stores/milvus.jsonnet @@ -33,15 +33,17 @@ local images = import "../images.jsonnet"; volumes: [ "etcd:/etcd" ], - resources: { - limits: { - cpus: '0.25', - memory: '128M' + deploy: { + resources: { + limits: { + cpus: '1.0', + memory: '128M' + }, + reservations: { + cpus: '0.25', + memory: '128M' + } }, - reservations: { - cpus: '0.25', - memory: '128M' - } }, }, @@ -67,7 +69,7 @@ local images = import "../images.jsonnet"; deploy: { resources: { limits: { - cpus: '0.25', + cpus: '0.5', memory: '128M' }, reservations: { diff --git a/templates/components/trustgraph.jsonnet b/templates/components/trustgraph.jsonnet index 7eec757c..12484da8 100644 --- a/templates/components/trustgraph.jsonnet +++ b/templates/components/trustgraph.jsonnet @@ -18,7 +18,7 @@ local url = import "url.jsonnet"; deploy: { resources: { limits: { - cpus: '0.1', + cpus: '0.5', memory: '128M' }, reservations: { @@ -43,7 +43,7 @@ local url = import "url.jsonnet"; deploy: { resources: { limits: { - cpus: '0.1', + cpus: '0.5', memory: '128M' }, reservations: { @@ -64,7 +64,7 @@ local url = import "url.jsonnet"; deploy: { resources: { limits: { - cpus: '0.1', + cpus: '0.5', memory: '128M' }, reservations: { @@ -108,7 +108,7 @@ local url = import "url.jsonnet"; deploy: { resources: { limits: { - cpus: '0.1', + cpus: '0.5', memory: '128M' }, reservations: { @@ -129,7 +129,7 @@ local url = import "url.jsonnet"; deploy: { resources: { limits: { - cpus: '0.1', + cpus: '0.5', memory: '128M' }, reservations: { @@ -160,7 +160,7 @@ local url = import "url.jsonnet"; deploy: { resources: { limits: { - cpus: '0.1', + cpus: '0.5', memory: '128M' }, reservations: { @@ -185,7 +185,7 @@ local url = import "url.jsonnet"; deploy: { resources: { limits: { - cpus: '0.1', + cpus: '0.5', memory: '128M' }, reservations: { @@ -214,7 +214,7 @@ local url = import "url.jsonnet"; deploy: { resources: { limits: { - cpus: '0.1', + cpus: '0.5', memory: '128M' }, reservations: { diff --git a/templates/components/vertexai.jsonnet b/templates/components/vertexai.jsonnet index fb76d931..96ff6207 100644 --- a/templates/components/vertexai.jsonnet +++ b/templates/components/vertexai.jsonnet @@ -25,7 +25,7 @@ local url = import "url.jsonnet"; deploy: { resources: { limits: { - cpus: '0.1', + cpus: '0.5', memory: '128M' }, reservations: { @@ -61,7 +61,7 @@ local url = import "url.jsonnet"; deploy: { resources: { limits: { - cpus: '0.1', + cpus: '0.5', memory: '128M' }, reservations: { diff --git a/tg-launch-azure.yaml b/tg-launch-azure.yaml index 0c8e63b2..4ae7e020 100644 --- a/tg-launch-azure.yaml +++ b/tg-launch-azure.yaml @@ -28,12 +28,12 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.7.1" + "image": "docker.io/trustgraph/trustgraph-flow:0.7.2" "restart": "on-failure:100" "embeddings": "command": @@ -50,7 +50,7 @@ "reservations": "cpus": "0.5" "memory": "256M" - "image": "docker.io/trustgraph/trustgraph-flow:0.7.1" + "image": "docker.io/trustgraph/trustgraph-flow:0.7.2" "restart": "on-failure:100" "etcd": "command": @@ -60,6 +60,14 @@ - "http://0.0.0.0:2379" - "--data-dir" - "/etcd" + "deploy": + "resources": + "limits": + "cpus": "1.0" + "memory": "128M" + "reservations": + "cpus": "0.25" + "memory": "128M" "environment": "ETCD_AUTO_COMPACTION_MODE": "revision" "ETCD_AUTO_COMPACTION_RETENTION": "1000" @@ -68,13 +76,6 @@ "image": "quay.io/coreos/etcd:v3.5.15" "ports": - "2379:2379" - "resources": - "limits": - "cpus": "0.25" - "memory": "128M" - "reservations": - "cpus": "0.25" - "memory": "128M" "restart": "on-failure:100" "volumes": - "etcd:/etcd" @@ -116,12 +117,12 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.7.1" + "image": "docker.io/trustgraph/trustgraph-flow:0.7.2" "restart": "on-failure:100" "init-pulsar": "command": @@ -134,7 +135,7 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" @@ -149,12 +150,12 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.7.1" + "image": "docker.io/trustgraph/trustgraph-flow:0.7.2" "restart": "on-failure:100" "kg-extract-relationships": "command": @@ -164,12 +165,12 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.7.1" + "image": "docker.io/trustgraph/trustgraph-flow:0.7.2" "restart": "on-failure:100" "milvus": "command": @@ -204,7 +205,7 @@ "deploy": "resources": "limits": - "cpus": "0.25" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.25" @@ -226,18 +227,18 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.7.1" + "image": "docker.io/trustgraph/trustgraph-flow:0.7.2" "restart": "on-failure:100" "prometheus": "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" @@ -261,12 +262,12 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.7.1" + "image": "docker.io/trustgraph/trustgraph-flow:0.7.2" "restart": "on-failure:100" "prompt-rag": "command": @@ -284,12 +285,12 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.7.1" + "image": "docker.io/trustgraph/trustgraph-flow:0.7.2" "restart": "on-failure:100" "pulsar": "command": "bin/pulsar standalone" @@ -302,7 +303,7 @@ "cpus": "0.5" "memory": "900M" "environment": - "PULSAR_MEM": "-Xms300M -Xmx300M" + "PULSAR_MEM": "-Xms700M -Xmx700M" "image": "docker.io/apachepulsar/pulsar:3.3.1" "ports": - "6650:6650" @@ -315,7 +316,7 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" @@ -337,12 +338,12 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.7.1" + "image": "docker.io/trustgraph/trustgraph-flow:0.7.2" "restart": "on-failure:100" "query-triples": "command": @@ -354,12 +355,12 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "512M" "reservations": "cpus": "0.1" "memory": "512M" - "image": "docker.io/trustgraph/trustgraph-flow:0.7.1" + "image": "docker.io/trustgraph/trustgraph-flow:0.7.2" "restart": "on-failure:100" "store-graph-embeddings": "command": @@ -371,12 +372,12 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.7.1" + "image": "docker.io/trustgraph/trustgraph-flow:0.7.2" "restart": "on-failure:100" "store-triples": "command": @@ -388,12 +389,12 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.7.1" + "image": "docker.io/trustgraph/trustgraph-flow:0.7.2" "restart": "on-failure:100" "text-completion": "command": @@ -411,12 +412,12 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.7.1" + "image": "docker.io/trustgraph/trustgraph-flow:0.7.2" "restart": "on-failure:100" "text-completion-rag": "command": @@ -438,12 +439,12 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.7.1" + "image": "docker.io/trustgraph/trustgraph-flow:0.7.2" "restart": "on-failure:100" "vectorize": "command": @@ -453,12 +454,12 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.7.1" + "image": "docker.io/trustgraph/trustgraph-flow:0.7.2" "restart": "on-failure:100" "volumes": "cassandra": {} diff --git a/tg-launch-bedrock.yaml b/tg-launch-bedrock.yaml index 05982550..a91b9cbe 100644 --- a/tg-launch-bedrock.yaml +++ b/tg-launch-bedrock.yaml @@ -28,12 +28,12 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.7.1" + "image": "docker.io/trustgraph/trustgraph-flow:0.7.2" "restart": "on-failure:100" "embeddings": "command": @@ -50,7 +50,7 @@ "reservations": "cpus": "0.5" "memory": "256M" - "image": "docker.io/trustgraph/trustgraph-flow:0.7.1" + "image": "docker.io/trustgraph/trustgraph-flow:0.7.2" "restart": "on-failure:100" "etcd": "command": @@ -60,6 +60,14 @@ - "http://0.0.0.0:2379" - "--data-dir" - "/etcd" + "deploy": + "resources": + "limits": + "cpus": "1.0" + "memory": "128M" + "reservations": + "cpus": "0.25" + "memory": "128M" "environment": "ETCD_AUTO_COMPACTION_MODE": "revision" "ETCD_AUTO_COMPACTION_RETENTION": "1000" @@ -68,13 +76,6 @@ "image": "quay.io/coreos/etcd:v3.5.15" "ports": - "2379:2379" - "resources": - "limits": - "cpus": "0.25" - "memory": "128M" - "reservations": - "cpus": "0.25" - "memory": "128M" "restart": "on-failure:100" "volumes": - "etcd:/etcd" @@ -116,12 +117,12 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.7.1" + "image": "docker.io/trustgraph/trustgraph-flow:0.7.2" "restart": "on-failure:100" "init-pulsar": "command": @@ -134,7 +135,7 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" @@ -149,12 +150,12 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.7.1" + "image": "docker.io/trustgraph/trustgraph-flow:0.7.2" "restart": "on-failure:100" "kg-extract-relationships": "command": @@ -164,12 +165,12 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.7.1" + "image": "docker.io/trustgraph/trustgraph-flow:0.7.2" "restart": "on-failure:100" "milvus": "command": @@ -204,7 +205,7 @@ "deploy": "resources": "limits": - "cpus": "0.25" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.25" @@ -226,18 +227,18 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.7.1" + "image": "docker.io/trustgraph/trustgraph-flow:0.7.2" "restart": "on-failure:100" "prometheus": "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" @@ -261,12 +262,12 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.7.1" + "image": "docker.io/trustgraph/trustgraph-flow:0.7.2" "restart": "on-failure:100" "prompt-rag": "command": @@ -284,12 +285,12 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.7.1" + "image": "docker.io/trustgraph/trustgraph-flow:0.7.2" "restart": "on-failure:100" "pulsar": "command": "bin/pulsar standalone" @@ -302,7 +303,7 @@ "cpus": "0.5" "memory": "900M" "environment": - "PULSAR_MEM": "-Xms300M -Xmx300M" + "PULSAR_MEM": "-Xms700M -Xmx700M" "image": "docker.io/apachepulsar/pulsar:3.3.1" "ports": - "6650:6650" @@ -315,7 +316,7 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" @@ -337,12 +338,12 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.7.1" + "image": "docker.io/trustgraph/trustgraph-flow:0.7.2" "restart": "on-failure:100" "query-triples": "command": @@ -354,12 +355,12 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "512M" "reservations": "cpus": "0.1" "memory": "512M" - "image": "docker.io/trustgraph/trustgraph-flow:0.7.1" + "image": "docker.io/trustgraph/trustgraph-flow:0.7.2" "restart": "on-failure:100" "store-graph-embeddings": "command": @@ -371,12 +372,12 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.7.1" + "image": "docker.io/trustgraph/trustgraph-flow:0.7.2" "restart": "on-failure:100" "store-triples": "command": @@ -388,12 +389,12 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.7.1" + "image": "docker.io/trustgraph/trustgraph-flow:0.7.2" "restart": "on-failure:100" "text-completion": "command": @@ -415,12 +416,12 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.7.1" + "image": "docker.io/trustgraph/trustgraph-flow:0.7.2" "restart": "on-failure:100" "text-completion-rag": "command": @@ -446,12 +447,12 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.7.1" + "image": "docker.io/trustgraph/trustgraph-flow:0.7.2" "restart": "on-failure:100" "vectorize": "command": @@ -461,12 +462,12 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.7.1" + "image": "docker.io/trustgraph/trustgraph-flow:0.7.2" "restart": "on-failure:100" "volumes": "cassandra": {} diff --git a/tg-launch-claude.yaml b/tg-launch-claude.yaml index cc706a24..17e8f50e 100644 --- a/tg-launch-claude.yaml +++ b/tg-launch-claude.yaml @@ -28,12 +28,12 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.7.1" + "image": "docker.io/trustgraph/trustgraph-flow:0.7.2" "restart": "on-failure:100" "embeddings": "command": @@ -50,7 +50,7 @@ "reservations": "cpus": "0.5" "memory": "256M" - "image": "docker.io/trustgraph/trustgraph-flow:0.7.1" + "image": "docker.io/trustgraph/trustgraph-flow:0.7.2" "restart": "on-failure:100" "etcd": "command": @@ -60,6 +60,14 @@ - "http://0.0.0.0:2379" - "--data-dir" - "/etcd" + "deploy": + "resources": + "limits": + "cpus": "1.0" + "memory": "128M" + "reservations": + "cpus": "0.25" + "memory": "128M" "environment": "ETCD_AUTO_COMPACTION_MODE": "revision" "ETCD_AUTO_COMPACTION_RETENTION": "1000" @@ -68,13 +76,6 @@ "image": "quay.io/coreos/etcd:v3.5.15" "ports": - "2379:2379" - "resources": - "limits": - "cpus": "0.25" - "memory": "128M" - "reservations": - "cpus": "0.25" - "memory": "128M" "restart": "on-failure:100" "volumes": - "etcd:/etcd" @@ -116,12 +117,12 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.7.1" + "image": "docker.io/trustgraph/trustgraph-flow:0.7.2" "restart": "on-failure:100" "init-pulsar": "command": @@ -134,7 +135,7 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" @@ -149,12 +150,12 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.7.1" + "image": "docker.io/trustgraph/trustgraph-flow:0.7.2" "restart": "on-failure:100" "kg-extract-relationships": "command": @@ -164,12 +165,12 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.7.1" + "image": "docker.io/trustgraph/trustgraph-flow:0.7.2" "restart": "on-failure:100" "milvus": "command": @@ -204,7 +205,7 @@ "deploy": "resources": "limits": - "cpus": "0.25" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.25" @@ -226,18 +227,18 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.7.1" + "image": "docker.io/trustgraph/trustgraph-flow:0.7.2" "restart": "on-failure:100" "prometheus": "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" @@ -261,12 +262,12 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.7.1" + "image": "docker.io/trustgraph/trustgraph-flow:0.7.2" "restart": "on-failure:100" "prompt-rag": "command": @@ -284,12 +285,12 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.7.1" + "image": "docker.io/trustgraph/trustgraph-flow:0.7.2" "restart": "on-failure:100" "pulsar": "command": "bin/pulsar standalone" @@ -302,7 +303,7 @@ "cpus": "0.5" "memory": "900M" "environment": - "PULSAR_MEM": "-Xms300M -Xmx300M" + "PULSAR_MEM": "-Xms700M -Xmx700M" "image": "docker.io/apachepulsar/pulsar:3.3.1" "ports": - "6650:6650" @@ -315,7 +316,7 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" @@ -337,12 +338,12 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.7.1" + "image": "docker.io/trustgraph/trustgraph-flow:0.7.2" "restart": "on-failure:100" "query-triples": "command": @@ -354,12 +355,12 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "512M" "reservations": "cpus": "0.1" "memory": "512M" - "image": "docker.io/trustgraph/trustgraph-flow:0.7.1" + "image": "docker.io/trustgraph/trustgraph-flow:0.7.2" "restart": "on-failure:100" "store-graph-embeddings": "command": @@ -371,12 +372,12 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.7.1" + "image": "docker.io/trustgraph/trustgraph-flow:0.7.2" "restart": "on-failure:100" "store-triples": "command": @@ -388,12 +389,12 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.7.1" + "image": "docker.io/trustgraph/trustgraph-flow:0.7.2" "restart": "on-failure:100" "text-completion": "command": @@ -409,12 +410,12 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.7.1" + "image": "docker.io/trustgraph/trustgraph-flow:0.7.2" "restart": "on-failure:100" "text-completion-rag": "command": @@ -434,12 +435,12 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.7.1" + "image": "docker.io/trustgraph/trustgraph-flow:0.7.2" "restart": "on-failure:100" "vectorize": "command": @@ -449,12 +450,12 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.7.1" + "image": "docker.io/trustgraph/trustgraph-flow:0.7.2" "restart": "on-failure:100" "volumes": "cassandra": {} diff --git a/tg-launch-cohere.yaml b/tg-launch-cohere.yaml index 42a7b78a..694b9df9 100644 --- a/tg-launch-cohere.yaml +++ b/tg-launch-cohere.yaml @@ -28,12 +28,12 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.7.1" + "image": "docker.io/trustgraph/trustgraph-flow:0.7.2" "restart": "on-failure:100" "embeddings": "command": @@ -50,7 +50,7 @@ "reservations": "cpus": "0.5" "memory": "256M" - "image": "docker.io/trustgraph/trustgraph-flow:0.7.1" + "image": "docker.io/trustgraph/trustgraph-flow:0.7.2" "restart": "on-failure:100" "etcd": "command": @@ -60,6 +60,14 @@ - "http://0.0.0.0:2379" - "--data-dir" - "/etcd" + "deploy": + "resources": + "limits": + "cpus": "1.0" + "memory": "128M" + "reservations": + "cpus": "0.25" + "memory": "128M" "environment": "ETCD_AUTO_COMPACTION_MODE": "revision" "ETCD_AUTO_COMPACTION_RETENTION": "1000" @@ -68,13 +76,6 @@ "image": "quay.io/coreos/etcd:v3.5.15" "ports": - "2379:2379" - "resources": - "limits": - "cpus": "0.25" - "memory": "128M" - "reservations": - "cpus": "0.25" - "memory": "128M" "restart": "on-failure:100" "volumes": - "etcd:/etcd" @@ -116,12 +117,12 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.7.1" + "image": "docker.io/trustgraph/trustgraph-flow:0.7.2" "restart": "on-failure:100" "init-pulsar": "command": @@ -134,7 +135,7 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" @@ -149,12 +150,12 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.7.1" + "image": "docker.io/trustgraph/trustgraph-flow:0.7.2" "restart": "on-failure:100" "kg-extract-relationships": "command": @@ -164,12 +165,12 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.7.1" + "image": "docker.io/trustgraph/trustgraph-flow:0.7.2" "restart": "on-failure:100" "milvus": "command": @@ -204,7 +205,7 @@ "deploy": "resources": "limits": - "cpus": "0.25" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.25" @@ -226,18 +227,18 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.7.1" + "image": "docker.io/trustgraph/trustgraph-flow:0.7.2" "restart": "on-failure:100" "prometheus": "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" @@ -261,12 +262,12 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.7.1" + "image": "docker.io/trustgraph/trustgraph-flow:0.7.2" "restart": "on-failure:100" "prompt-rag": "command": @@ -284,12 +285,12 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.7.1" + "image": "docker.io/trustgraph/trustgraph-flow:0.7.2" "restart": "on-failure:100" "pulsar": "command": "bin/pulsar standalone" @@ -302,7 +303,7 @@ "cpus": "0.5" "memory": "900M" "environment": - "PULSAR_MEM": "-Xms300M -Xmx300M" + "PULSAR_MEM": "-Xms700M -Xmx700M" "image": "docker.io/apachepulsar/pulsar:3.3.1" "ports": - "6650:6650" @@ -315,7 +316,7 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" @@ -337,12 +338,12 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.7.1" + "image": "docker.io/trustgraph/trustgraph-flow:0.7.2" "restart": "on-failure:100" "query-triples": "command": @@ -354,12 +355,12 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "512M" "reservations": "cpus": "0.1" "memory": "512M" - "image": "docker.io/trustgraph/trustgraph-flow:0.7.1" + "image": "docker.io/trustgraph/trustgraph-flow:0.7.2" "restart": "on-failure:100" "store-graph-embeddings": "command": @@ -371,12 +372,12 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.7.1" + "image": "docker.io/trustgraph/trustgraph-flow:0.7.2" "restart": "on-failure:100" "store-triples": "command": @@ -388,12 +389,12 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.7.1" + "image": "docker.io/trustgraph/trustgraph-flow:0.7.2" "restart": "on-failure:100" "text-completion": "command": @@ -407,12 +408,12 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.7.1" + "image": "docker.io/trustgraph/trustgraph-flow:0.7.2" "restart": "on-failure:100" "text-completion-rag": "command": @@ -430,12 +431,12 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.7.1" + "image": "docker.io/trustgraph/trustgraph-flow:0.7.2" "restart": "on-failure:100" "vectorize": "command": @@ -445,12 +446,12 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.7.1" + "image": "docker.io/trustgraph/trustgraph-flow:0.7.2" "restart": "on-failure:100" "volumes": "cassandra": {} diff --git a/tg-launch-mix.yaml b/tg-launch-mix.yaml index 7bf22723..bbeff922 100644 --- a/tg-launch-mix.yaml +++ b/tg-launch-mix.yaml @@ -25,7 +25,7 @@ - "4000" - "--chunk-overlap" - "120" - "image": "docker.io/trustgraph/trustgraph-flow:0.7.1" + "image": "docker.io/trustgraph/trustgraph-flow:0.7.2" "restart": "on-failure:100" "embeddings": "command": @@ -42,7 +42,7 @@ "reservations": "cpus": "0.5" "memory": "256M" - "image": "docker.io/trustgraph/trustgraph-flow:0.7.1" + "image": "docker.io/trustgraph/trustgraph-flow:0.7.2" "restart": "on-failure:100" "etcd": "command": @@ -52,6 +52,14 @@ - "http://0.0.0.0:2379" - "--data-dir" - "/etcd" + "deploy": + "resources": + "limits": + "cpus": "1.0" + "memory": "128M" + "reservations": + "cpus": "0.25" + "memory": "128M" "environment": "ETCD_AUTO_COMPACTION_MODE": "revision" "ETCD_AUTO_COMPACTION_RETENTION": "1000" @@ -60,13 +68,6 @@ "image": "quay.io/coreos/etcd:v3.5.15" "ports": - "2379:2379" - "resources": - "limits": - "cpus": "0.25" - "memory": "128M" - "reservations": - "cpus": "0.25" - "memory": "128M" "restart": "on-failure:100" "volumes": - "etcd:/etcd" @@ -108,12 +109,12 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.7.1" + "image": "docker.io/trustgraph/trustgraph-flow:0.7.2" "restart": "on-failure:100" "init-pulsar": "command": @@ -126,7 +127,7 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" @@ -141,12 +142,12 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.7.1" + "image": "docker.io/trustgraph/trustgraph-flow:0.7.2" "restart": "on-failure:100" "kg-extract-relationships": "command": @@ -156,12 +157,12 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.7.1" + "image": "docker.io/trustgraph/trustgraph-flow:0.7.2" "restart": "on-failure:100" "milvus": "command": @@ -196,7 +197,7 @@ "deploy": "resources": "limits": - "cpus": "0.25" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.25" @@ -218,18 +219,18 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.7.1" + "image": "docker.io/trustgraph/trustgraph-flow:0.7.2" "restart": "on-failure:100" "prometheus": "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" @@ -253,12 +254,12 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.7.1" + "image": "docker.io/trustgraph/trustgraph-flow:0.7.2" "restart": "on-failure:100" "prompt-rag": "command": @@ -276,12 +277,12 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.7.1" + "image": "docker.io/trustgraph/trustgraph-flow:0.7.2" "restart": "on-failure:100" "pulsar": "command": "bin/pulsar standalone" @@ -294,7 +295,7 @@ "cpus": "0.5" "memory": "900M" "environment": - "PULSAR_MEM": "-Xms300M -Xmx300M" + "PULSAR_MEM": "-Xms700M -Xmx700M" "image": "docker.io/apachepulsar/pulsar:3.3.1" "ports": - "6650:6650" @@ -307,7 +308,7 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" @@ -329,12 +330,12 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.7.1" + "image": "docker.io/trustgraph/trustgraph-flow:0.7.2" "restart": "on-failure:100" "query-triples": "command": @@ -346,12 +347,12 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "512M" "reservations": "cpus": "0.1" "memory": "512M" - "image": "docker.io/trustgraph/trustgraph-flow:0.7.1" + "image": "docker.io/trustgraph/trustgraph-flow:0.7.2" "restart": "on-failure:100" "store-graph-embeddings": "command": @@ -363,12 +364,12 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.7.1" + "image": "docker.io/trustgraph/trustgraph-flow:0.7.2" "restart": "on-failure:100" "store-triples": "command": @@ -380,12 +381,12 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.7.1" + "image": "docker.io/trustgraph/trustgraph-flow:0.7.2" "restart": "on-failure:100" "text-completion": "command": @@ -396,7 +397,7 @@ - "${COHERE_KEY}" - "-m" - "c4ai-aya-23-35b" - "image": "docker.io/trustgraph/trustgraph-flow:0.7.1" + "image": "docker.io/trustgraph/trustgraph-flow:0.7.2" "restart": "on-failure:100" "text-completion-rag": "command": @@ -411,7 +412,7 @@ - "non-persistent://tg/response/text-completion-rag-response" - "-m" - "c4ai-aya-23-8b" - "image": "docker.io/trustgraph/trustgraph-flow:0.7.1" + "image": "docker.io/trustgraph/trustgraph-flow:0.7.2" "restart": "on-failure:100" "vectorize": "command": @@ -421,12 +422,12 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.7.1" + "image": "docker.io/trustgraph/trustgraph-flow:0.7.2" "restart": "on-failure:100" "volumes": "cassandra": {} diff --git a/tg-launch-ollama.yaml b/tg-launch-ollama.yaml index 58ff7f8e..06fd13bc 100644 --- a/tg-launch-ollama.yaml +++ b/tg-launch-ollama.yaml @@ -28,12 +28,12 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.7.1" + "image": "docker.io/trustgraph/trustgraph-flow:0.7.2" "restart": "on-failure:100" "embeddings": "command": @@ -50,7 +50,7 @@ "reservations": "cpus": "0.5" "memory": "256M" - "image": "docker.io/trustgraph/trustgraph-flow:0.7.1" + "image": "docker.io/trustgraph/trustgraph-flow:0.7.2" "restart": "on-failure:100" "etcd": "command": @@ -60,6 +60,14 @@ - "http://0.0.0.0:2379" - "--data-dir" - "/etcd" + "deploy": + "resources": + "limits": + "cpus": "1.0" + "memory": "128M" + "reservations": + "cpus": "0.25" + "memory": "128M" "environment": "ETCD_AUTO_COMPACTION_MODE": "revision" "ETCD_AUTO_COMPACTION_RETENTION": "1000" @@ -68,13 +76,6 @@ "image": "quay.io/coreos/etcd:v3.5.15" "ports": - "2379:2379" - "resources": - "limits": - "cpus": "0.25" - "memory": "128M" - "reservations": - "cpus": "0.25" - "memory": "128M" "restart": "on-failure:100" "volumes": - "etcd:/etcd" @@ -116,12 +117,12 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.7.1" + "image": "docker.io/trustgraph/trustgraph-flow:0.7.2" "restart": "on-failure:100" "init-pulsar": "command": @@ -134,7 +135,7 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" @@ -149,12 +150,12 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.7.1" + "image": "docker.io/trustgraph/trustgraph-flow:0.7.2" "restart": "on-failure:100" "kg-extract-relationships": "command": @@ -164,12 +165,12 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.7.1" + "image": "docker.io/trustgraph/trustgraph-flow:0.7.2" "restart": "on-failure:100" "milvus": "command": @@ -204,7 +205,7 @@ "deploy": "resources": "limits": - "cpus": "0.25" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.25" @@ -226,18 +227,18 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.7.1" + "image": "docker.io/trustgraph/trustgraph-flow:0.7.2" "restart": "on-failure:100" "prometheus": "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" @@ -261,12 +262,12 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.7.1" + "image": "docker.io/trustgraph/trustgraph-flow:0.7.2" "restart": "on-failure:100" "prompt-rag": "command": @@ -284,12 +285,12 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.7.1" + "image": "docker.io/trustgraph/trustgraph-flow:0.7.2" "restart": "on-failure:100" "pulsar": "command": "bin/pulsar standalone" @@ -302,7 +303,7 @@ "cpus": "0.5" "memory": "900M" "environment": - "PULSAR_MEM": "-Xms300M -Xmx300M" + "PULSAR_MEM": "-Xms700M -Xmx700M" "image": "docker.io/apachepulsar/pulsar:3.3.1" "ports": - "6650:6650" @@ -315,7 +316,7 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" @@ -337,12 +338,12 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.7.1" + "image": "docker.io/trustgraph/trustgraph-flow:0.7.2" "restart": "on-failure:100" "query-triples": "command": @@ -354,12 +355,12 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "512M" "reservations": "cpus": "0.1" "memory": "512M" - "image": "docker.io/trustgraph/trustgraph-flow:0.7.1" + "image": "docker.io/trustgraph/trustgraph-flow:0.7.2" "restart": "on-failure:100" "store-graph-embeddings": "command": @@ -371,12 +372,12 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.7.1" + "image": "docker.io/trustgraph/trustgraph-flow:0.7.2" "restart": "on-failure:100" "store-triples": "command": @@ -388,12 +389,12 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.7.1" + "image": "docker.io/trustgraph/trustgraph-flow:0.7.2" "restart": "on-failure:100" "text-completion": "command": @@ -407,12 +408,12 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.7.1" + "image": "docker.io/trustgraph/trustgraph-flow:0.7.2" "restart": "on-failure:100" "text-completion-rag": "command": @@ -430,12 +431,12 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.7.1" + "image": "docker.io/trustgraph/trustgraph-flow:0.7.2" "restart": "on-failure:100" "vectorize": "command": @@ -445,12 +446,12 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.7.1" + "image": "docker.io/trustgraph/trustgraph-flow:0.7.2" "restart": "on-failure:100" "volumes": "cassandra": {} diff --git a/tg-launch-openai-neo4j.yaml b/tg-launch-openai-neo4j.yaml index f7332a36..40ae1eff 100644 --- a/tg-launch-openai-neo4j.yaml +++ b/tg-launch-openai-neo4j.yaml @@ -11,12 +11,12 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.7.1" + "image": "docker.io/trustgraph/trustgraph-flow:0.7.2" "restart": "on-failure:100" "embeddings": "command": @@ -33,7 +33,7 @@ "reservations": "cpus": "0.5" "memory": "256M" - "image": "docker.io/trustgraph/trustgraph-flow:0.7.1" + "image": "docker.io/trustgraph/trustgraph-flow:0.7.2" "restart": "on-failure:100" "etcd": "command": @@ -43,6 +43,14 @@ - "http://0.0.0.0:2379" - "--data-dir" - "/etcd" + "deploy": + "resources": + "limits": + "cpus": "1.0" + "memory": "128M" + "reservations": + "cpus": "0.25" + "memory": "128M" "environment": "ETCD_AUTO_COMPACTION_MODE": "revision" "ETCD_AUTO_COMPACTION_RETENTION": "1000" @@ -51,13 +59,6 @@ "image": "quay.io/coreos/etcd:v3.5.15" "ports": - "2379:2379" - "resources": - "limits": - "cpus": "0.25" - "memory": "128M" - "reservations": - "cpus": "0.25" - "memory": "128M" "restart": "on-failure:100" "volumes": - "etcd:/etcd" @@ -99,12 +100,12 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.7.1" + "image": "docker.io/trustgraph/trustgraph-flow:0.7.2" "restart": "on-failure:100" "init-pulsar": "command": @@ -117,7 +118,7 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" @@ -132,12 +133,12 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.7.1" + "image": "docker.io/trustgraph/trustgraph-flow:0.7.2" "restart": "on-failure:100" "kg-extract-relationships": "command": @@ -147,12 +148,12 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.7.1" + "image": "docker.io/trustgraph/trustgraph-flow:0.7.2" "restart": "on-failure:100" "milvus": "command": @@ -187,7 +188,7 @@ "deploy": "resources": "limits": - "cpus": "0.25" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.25" @@ -227,18 +228,18 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.7.1" + "image": "docker.io/trustgraph/trustgraph-flow:0.7.2" "restart": "on-failure:100" "prometheus": "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" @@ -262,12 +263,12 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.7.1" + "image": "docker.io/trustgraph/trustgraph-flow:0.7.2" "restart": "on-failure:100" "prompt-rag": "command": @@ -285,12 +286,12 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.7.1" + "image": "docker.io/trustgraph/trustgraph-flow:0.7.2" "restart": "on-failure:100" "pulsar": "command": "bin/pulsar standalone" @@ -303,7 +304,7 @@ "cpus": "0.5" "memory": "900M" "environment": - "PULSAR_MEM": "-Xms300M -Xmx300M" + "PULSAR_MEM": "-Xms700M -Xmx700M" "image": "docker.io/apachepulsar/pulsar:3.3.1" "ports": - "6650:6650" @@ -316,7 +317,7 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" @@ -338,12 +339,12 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.7.1" + "image": "docker.io/trustgraph/trustgraph-flow:0.7.2" "restart": "on-failure:100" "query-triples": "command": @@ -355,12 +356,12 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.7.1" + "image": "docker.io/trustgraph/trustgraph-flow:0.7.2" "restart": "on-failure:100" "store-graph-embeddings": "command": @@ -372,12 +373,12 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.7.1" + "image": "docker.io/trustgraph/trustgraph-flow:0.7.2" "restart": "on-failure:100" "store-triples": "command": @@ -389,12 +390,12 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.7.1" + "image": "docker.io/trustgraph/trustgraph-flow:0.7.2" "restart": "on-failure:100" "text-completion": "command": @@ -410,12 +411,12 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.7.1" + "image": "docker.io/trustgraph/trustgraph-flow:0.7.2" "restart": "on-failure:100" "text-completion-rag": "command": @@ -435,12 +436,12 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.7.1" + "image": "docker.io/trustgraph/trustgraph-flow:0.7.2" "restart": "on-failure:100" "vectorize": "command": @@ -450,12 +451,12 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.7.1" + "image": "docker.io/trustgraph/trustgraph-flow:0.7.2" "restart": "on-failure:100" "volumes": "etcd": {} diff --git a/tg-launch-openai.yaml b/tg-launch-openai.yaml index b5eb0361..1c07e2f3 100644 --- a/tg-launch-openai.yaml +++ b/tg-launch-openai.yaml @@ -28,12 +28,12 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.7.1" + "image": "docker.io/trustgraph/trustgraph-flow:0.7.2" "restart": "on-failure:100" "embeddings": "command": @@ -50,7 +50,7 @@ "reservations": "cpus": "0.5" "memory": "256M" - "image": "docker.io/trustgraph/trustgraph-flow:0.7.1" + "image": "docker.io/trustgraph/trustgraph-flow:0.7.2" "restart": "on-failure:100" "etcd": "command": @@ -60,6 +60,14 @@ - "http://0.0.0.0:2379" - "--data-dir" - "/etcd" + "deploy": + "resources": + "limits": + "cpus": "1.0" + "memory": "128M" + "reservations": + "cpus": "0.25" + "memory": "128M" "environment": "ETCD_AUTO_COMPACTION_MODE": "revision" "ETCD_AUTO_COMPACTION_RETENTION": "1000" @@ -68,13 +76,6 @@ "image": "quay.io/coreos/etcd:v3.5.15" "ports": - "2379:2379" - "resources": - "limits": - "cpus": "0.25" - "memory": "128M" - "reservations": - "cpus": "0.25" - "memory": "128M" "restart": "on-failure:100" "volumes": - "etcd:/etcd" @@ -116,12 +117,12 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.7.1" + "image": "docker.io/trustgraph/trustgraph-flow:0.7.2" "restart": "on-failure:100" "init-pulsar": "command": @@ -134,7 +135,7 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" @@ -149,12 +150,12 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.7.1" + "image": "docker.io/trustgraph/trustgraph-flow:0.7.2" "restart": "on-failure:100" "kg-extract-relationships": "command": @@ -164,12 +165,12 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.7.1" + "image": "docker.io/trustgraph/trustgraph-flow:0.7.2" "restart": "on-failure:100" "milvus": "command": @@ -204,7 +205,7 @@ "deploy": "resources": "limits": - "cpus": "0.25" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.25" @@ -226,18 +227,18 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.7.1" + "image": "docker.io/trustgraph/trustgraph-flow:0.7.2" "restart": "on-failure:100" "prometheus": "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" @@ -261,12 +262,12 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.7.1" + "image": "docker.io/trustgraph/trustgraph-flow:0.7.2" "restart": "on-failure:100" "prompt-rag": "command": @@ -284,12 +285,12 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.7.1" + "image": "docker.io/trustgraph/trustgraph-flow:0.7.2" "restart": "on-failure:100" "pulsar": "command": "bin/pulsar standalone" @@ -302,7 +303,7 @@ "cpus": "0.5" "memory": "900M" "environment": - "PULSAR_MEM": "-Xms300M -Xmx300M" + "PULSAR_MEM": "-Xms700M -Xmx700M" "image": "docker.io/apachepulsar/pulsar:3.3.1" "ports": - "6650:6650" @@ -315,7 +316,7 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" @@ -337,12 +338,12 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.7.1" + "image": "docker.io/trustgraph/trustgraph-flow:0.7.2" "restart": "on-failure:100" "query-triples": "command": @@ -354,12 +355,12 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "512M" "reservations": "cpus": "0.1" "memory": "512M" - "image": "docker.io/trustgraph/trustgraph-flow:0.7.1" + "image": "docker.io/trustgraph/trustgraph-flow:0.7.2" "restart": "on-failure:100" "store-graph-embeddings": "command": @@ -371,12 +372,12 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.7.1" + "image": "docker.io/trustgraph/trustgraph-flow:0.7.2" "restart": "on-failure:100" "store-triples": "command": @@ -388,12 +389,12 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.7.1" + "image": "docker.io/trustgraph/trustgraph-flow:0.7.2" "restart": "on-failure:100" "text-completion": "command": @@ -409,12 +410,12 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.7.1" + "image": "docker.io/trustgraph/trustgraph-flow:0.7.2" "restart": "on-failure:100" "text-completion-rag": "command": @@ -434,12 +435,12 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.7.1" + "image": "docker.io/trustgraph/trustgraph-flow:0.7.2" "restart": "on-failure:100" "vectorize": "command": @@ -449,12 +450,12 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.7.1" + "image": "docker.io/trustgraph/trustgraph-flow:0.7.2" "restart": "on-failure:100" "volumes": "cassandra": {} diff --git a/tg-launch-vertexai.yaml b/tg-launch-vertexai.yaml index 75e553d8..18b58667 100644 --- a/tg-launch-vertexai.yaml +++ b/tg-launch-vertexai.yaml @@ -28,12 +28,12 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.7.1" + "image": "docker.io/trustgraph/trustgraph-flow:0.7.2" "restart": "on-failure:100" "embeddings": "command": @@ -50,7 +50,7 @@ "reservations": "cpus": "0.5" "memory": "256M" - "image": "docker.io/trustgraph/trustgraph-flow:0.7.1" + "image": "docker.io/trustgraph/trustgraph-flow:0.7.2" "restart": "on-failure:100" "etcd": "command": @@ -60,6 +60,14 @@ - "http://0.0.0.0:2379" - "--data-dir" - "/etcd" + "deploy": + "resources": + "limits": + "cpus": "1.0" + "memory": "128M" + "reservations": + "cpus": "0.25" + "memory": "128M" "environment": "ETCD_AUTO_COMPACTION_MODE": "revision" "ETCD_AUTO_COMPACTION_RETENTION": "1000" @@ -68,13 +76,6 @@ "image": "quay.io/coreos/etcd:v3.5.15" "ports": - "2379:2379" - "resources": - "limits": - "cpus": "0.25" - "memory": "128M" - "reservations": - "cpus": "0.25" - "memory": "128M" "restart": "on-failure:100" "volumes": - "etcd:/etcd" @@ -116,12 +117,12 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.7.1" + "image": "docker.io/trustgraph/trustgraph-flow:0.7.2" "restart": "on-failure:100" "init-pulsar": "command": @@ -134,7 +135,7 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" @@ -149,12 +150,12 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.7.1" + "image": "docker.io/trustgraph/trustgraph-flow:0.7.2" "restart": "on-failure:100" "kg-extract-relationships": "command": @@ -164,12 +165,12 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.7.1" + "image": "docker.io/trustgraph/trustgraph-flow:0.7.2" "restart": "on-failure:100" "milvus": "command": @@ -204,7 +205,7 @@ "deploy": "resources": "limits": - "cpus": "0.25" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.25" @@ -226,18 +227,18 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.7.1" + "image": "docker.io/trustgraph/trustgraph-flow:0.7.2" "restart": "on-failure:100" "prometheus": "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" @@ -261,12 +262,12 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.7.1" + "image": "docker.io/trustgraph/trustgraph-flow:0.7.2" "restart": "on-failure:100" "prompt-rag": "command": @@ -284,12 +285,12 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.7.1" + "image": "docker.io/trustgraph/trustgraph-flow:0.7.2" "restart": "on-failure:100" "pulsar": "command": "bin/pulsar standalone" @@ -302,7 +303,7 @@ "cpus": "0.5" "memory": "900M" "environment": - "PULSAR_MEM": "-Xms300M -Xmx300M" + "PULSAR_MEM": "-Xms700M -Xmx700M" "image": "docker.io/apachepulsar/pulsar:3.3.1" "ports": - "6650:6650" @@ -315,7 +316,7 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" @@ -337,12 +338,12 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.7.1" + "image": "docker.io/trustgraph/trustgraph-flow:0.7.2" "restart": "on-failure:100" "query-triples": "command": @@ -354,12 +355,12 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "512M" "reservations": "cpus": "0.1" "memory": "512M" - "image": "docker.io/trustgraph/trustgraph-flow:0.7.1" + "image": "docker.io/trustgraph/trustgraph-flow:0.7.2" "restart": "on-failure:100" "store-graph-embeddings": "command": @@ -371,12 +372,12 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.7.1" + "image": "docker.io/trustgraph/trustgraph-flow:0.7.2" "restart": "on-failure:100" "store-triples": "command": @@ -388,12 +389,12 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.7.1" + "image": "docker.io/trustgraph/trustgraph-flow:0.7.2" "restart": "on-failure:100" "text-completion": "command": @@ -411,12 +412,12 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.7.1" + "image": "docker.io/trustgraph/trustgraph-flow:0.7.2" "restart": "on-failure:100" "volumes": - "./vertexai:/vertexai" @@ -440,12 +441,12 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.7.1" + "image": "docker.io/trustgraph/trustgraph-flow:0.7.2" "restart": "on-failure:100" "volumes": - "./vertexai:/vertexai" @@ -457,12 +458,12 @@ "deploy": "resources": "limits": - "cpus": "0.1" + "cpus": "0.5" "memory": "128M" "reservations": "cpus": "0.1" "memory": "128M" - "image": "docker.io/trustgraph/trustgraph-flow:0.7.1" + "image": "docker.io/trustgraph/trustgraph-flow:0.7.2" "restart": "on-failure:100" "volumes": "cassandra": {} diff --git a/trustgraph/model/prompt/generic/service.py b/trustgraph/model/prompt/generic/service.py index c005c296..60c8b59d 100755 --- a/trustgraph/model/prompt/generic/service.py +++ b/trustgraph/model/prompt/generic/service.py @@ -141,8 +141,6 @@ class Processor(ConsumerProducer): self.producer.send(r, properties={"id": id}) - self.consumer.acknowledge(msg) - def handle_extract_relationships(self, id, v): try: @@ -196,8 +194,6 @@ class Processor(ConsumerProducer): ) self.producer.send(r, properties={"id": id}) - - self.consumer.acknowledge(msg) def handle_kg_prompt(self, id, v): @@ -232,8 +228,6 @@ class Processor(ConsumerProducer): ) self.producer.send(r, properties={"id": id}) - - self.consumer.acknowledge(msg) @staticmethod def add_args(parser):