testing - Chaostoolkit istio 扩展在玩实验时挂起
问题描述
我正在尝试使用 Chaos 工具包 istio 扩展,我的问题如下:我有一个 Experiment.json 文件,其中包含一个用于检索虚拟服务的探针。该文件类似于以下内容:
{
"version": "1.0.0",
"title": "test",
"description": "N/A",
"tags": []
"secrets": {
"istio": {
"KUBERNETES_CONTEXT": {
"type": "env",
"key": "KUBERNETES_CONTEXT"
}
}
},
"method": [
{
"type": "probe",
"name": get_virtual_service:,
"provider": {
"type": "python",
"module": "chaosistio.fault.probes",
"func": "get_virtual_service",
"arguments": {
"virtual_service_name": "test"
"ns": "test-ns"
}
}
}
}
我已将 KUBERNETES_CONTEXT 和 http/https 代理设置为环境变量。我的授权是使用$HOME/.kube/config
.
在播放实验时,它会验证文件是否正常并尝试执行操作,但会卡住并一直挂起,直到超时。
我在日志中看到的错误是 HTTPSConnectionPool 错误(未能建立新连接,操作超时)。
我是否缺少任何设置?所有帮助表示赞赏。
解决方案
推荐阅读
- javascript - 一个角度应用程序中的两个登录页面
- android - 使用参数 {NDK_PROJECT_PATH=null 执行进程时出错 .../ndk-bundle/ndk-build
- c# - Directory.Delete 递归将文件解释为路径(拒绝访问路径“file_without_extension”
- python - 如何从 for 循环内的不同列表中选择项目?
- linux - vbus 调节器设备树
- python - python socket,HTTPS请求加载完整的html代码
- sharepoint-online - 在 SharePoint Online 中使用 ADAL 对 Yammer JS SDK 进行身份验证
- npm - 通过 npm 将 Bootstrap4 添加到 Symfony4 项目
- reactjs - 如何在通常的网站中呈现 React 组件
- c# - Windows 工作流可以用 C# 而不是 XAML 编写吗?