Repository navigation
Use the runtime default for Loop conversation capacity - #133
Alex R (alexr17) wants to merge 2 commits into
Conversation
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
| BRAINSTORE_CACHE_DIR: /mnt/tmp/brainstore | ||
| BRAINSTORE_OBJECT_STORE_CACHE_FILE_SIZE: 5Gi | ||
| BRAINSTORE_OBJECT_STORE_CACHE_MEMORY_LIMIT: 256Mi | ||
| LOOP_RUNTIME_MAX_CLAIMED_CONVERSATIONS: "2" |
There was a problem hiding this comment.
With the cap gone a pod takes up to 20 conversations on 1 CPU and 2Gi, and autoscaling is off by default. AWS runs the same default on a 2 vCPU, 8 GiB task and also scales on CPU and memory. Has a pod at this size been run near 20 conversations, or should the default resources go up with it?
There was a problem hiding this comment.
I haven't run a pod near 20 conversations. I changed the GKE default requests and limits to 2 CPU / 8Gi, matching the AWS task sizing you called out, and documented the explicit resource settings needed when --reuse-values retains 1 CPU / 2Gi. The chart tests cover rendered resources, not load behavior.
| BRAINSTORE_CACHE_DIR: /mnt/tmp/brainstore | ||
| BRAINSTORE_OBJECT_STORE_CACHE_FILE_SIZE: 5Gi | ||
| BRAINSTORE_OBJECT_STORE_CACHE_MEMORY_LIMIT: 256Mi | ||
| LOOP_RUNTIME_MAX_CLAIMED_CONVERSATIONS: "2" |
There was a problem hiding this comment.
examples/gke-loop-runtime/README.md line 161 still says each runtime pod claims at most two conversations.
There was a problem hiding this comment.
Updated the example README to state the runtime's 20-conversation default, the new pod resources, and how to override the limit.
Loop Runtime on GKE is capped at two conversations because the chart overrides the application's default of twenty.
Remove that cap and size the default pod at 2 CPU and 8Gi; explicit limits still use
loopRuntime.extraEnvVars.loopRuntime.extraEnvVarssets the limit