我在Ubuntu 22.04.1上,我正在尝试在Visual Studio代码v1.74.3中启动到Kubernetes的桥。
但是,它会在“等待EndpointManager启动...”步骤中挂起几秒钟,然后崩溃,并显示一个没有提供信息的错误日志:
Error: connect-service-task-terminal-error <json>{}</json> <stack>Error: Failed to establish a connection.
Error: An unexpected error occurred: 'Failed to launch EndpointManager.'\n
To see our active issues or file a bug report, please visit https://aka.ms/bridge-to-k8s-report.\n
For diagnostic information, see logs at '/tmp/Bridge To Kubernetes'.\n\n
我尝试过按照this GitHub issue thread中的建议设置环境变量,但它没有为我做这件事。
BRIDGE_BINARYUTILITYVERSION=v1
1条答案
按热度按时间ylamdve61#
我的同事认为,由于Bridge to Kubernetes在引擎盖下使用了dotnet,因此值得尝试分别安装dotnet SDK和dotnet环境,这为我解决了这个问题。
首先是dotnet SDK:
和dotnet运行时: