mirror of
https://github.com/kvcache-ai/Mooncake.git
synced 2026-11-05 01:17:55 +00:00
[PR #951] [MERGED] feat(store_service): support load config from env for mooncake store_service #1920
Labels
No labels
ascend
auto-closed
bug
bug
CI/Build
Common
documentation
enhancement
feature request
good first issue
help wanted
high priority
MetaX
nightly-failure
pull-request
PyTorch Backend
question
RFC
Roadmap
stale
Store
Tests
Transfer Engine
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
kvcache-ai/Mooncake#1920
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/kvcache-ai/Mooncake/pull/951
Author: @Syspretor
Created: 10/23/2025
Status: ✅ Merged
Merged: 10/23/2025
Merged by: @stmatengss
Base:
main← Head:feat/support-load-config-from-env📝 Commits (1)
ee8ad85support load config from env for mooncake store_service📊 Changes
3 files changed (+81 additions, -8 deletions)
View changed files
📝
docs/source/getting_started/examples/sglang-integration/hicache-integration-v1.md(+12 -0)📝
mooncake-wheel/mooncake/mooncake_config.py(+38 -5)📝
mooncake-wheel/tests/test_mooncake_config.py(+31 -3)📄 Description
Currently, it only supports to use env["MOONCAKE_CONFIG_PATH"] which specifies the path of config file to configure the Mooncake store_service. When deploying the Mooncake store_service in a Kubernetes, using file-based configuration is neither flexible nor intuitive. The capability of configuring from env is already supported when enabling Mooncake in SGLang backend. Therefore, in this PR, we have added support for the following:
Both of these features are aligned with the behavior of enabling Mooncake in the SGlang backend. So that we can launch a Mooncake store_service in Kubernetes Pod with some necessary env without mounting a configmap:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.