@@ -35,40 +35,10 @@ mcpserver:
3535 cpu : " 250m"
3636 memory : " 256Mi"
3737
38- # Environment variables for mcp-optimizer
39- env :
40- # Runtime mode - must be "k8s" for Kubernetes deployment
41- - name : RUNTIME_MODE
42- value : " k8s"
43- # Query all namespaces for MCPServers
44- - name : K8S_ALL_NAMESPACES
45- value : " true"
46- # MCP server port
47- - name : MCP_PORT
48- value : " 9900"
49- # Logging level
50- - name : LOG_LEVEL
51- value : " INFO"
52- # Workload polling interval (seconds)
53- - name : WORKLOAD_POLLING_INTERVAL
54- value : " 60"
55- # Registry polling interval (seconds)
56- - name : REGISTRY_POLLING_INTERVAL
57- value : " 300"
58- # Maximum tools to return in search
59- - name : MAX_TOOLS_TO_RETURN
60- value : " 8"
61- # Maximum servers to return in search
62- - name : MAX_SERVERS_TO_RETURN
63- value : " 5"
64- # Hybrid search semantic ratio (0.0-1.0)
65- - name : HYBRID_SEARCH_SEMANTIC_RATIO
66- value : " 0.5"
67- # Database URLs - using writable /tmp location
68- - name : ASYNC_DB_URL
69- value : " sqlite+aiosqlite:///data/mcp_optimizer.db"
70- - name : DB_URL
71- value : " sqlite:///data/mcp_optimizer.db"
38+ # Environment variables for mcp-optimizer
39+ # NOTE: When using podTemplateSpec, define env vars there instead of here
40+ # to avoid duplicates
41+ env : []
7242
7343 # Pod template spec (optional) - use this for advanced pod customization
7444 # When set, this takes precedence over env and resources fields above
@@ -96,8 +66,7 @@ mcpserver:
9666 value : " k8s"
9767 - name : K8S_ALL_NAMESPACES
9868 value : " true"
99- - name : MCP_PORT
100- value : " 9900"
69+ # MCP_PORT is automatically set by the operator from spec.port
10170 - name : LOG_LEVEL
10271 value : " INFO"
10372 - name : WORKLOAD_POLLING_INTERVAL
0 commit comments