New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
怎样开启mcp #4429
Comments
nacos.istio.mcp.server.enabled=false |
|
可以看一下官方镜像是否有环境变量可以修改这个值,如果不行,请参考官方镜像的example, 自行build镜像,build镜像时可以把这个参数在镜像中调整,这样就可以支持k8s了。 |
嗯嗯 我现在已经重新打了镜像并且加上了参数。 现在不知道观察什么指标来确认。mcp已经被开启了 |
IstioConfig类中 final boolean mcpServerEnabled = false, 本地调试发现设置了nacos.istio.mcp.server.enabled=true, |
其实在nacos-docker项目中,配置文件没有被正确读取到。所以配置不会生效。我直接更改的代码,把代码中默认的false改为了true。并重新打包,构建镜像。问题解决 |
nacos-docker 可以配置挂载 custom.properties 开启 MCP
1.3.0 以后的版本只有自己修改代码打包镜像 |
[ISSUE #4429] Fix mcp can't be open
使用k8s部署,怎样开启mcp
The text was updated successfully, but these errors were encountered: