我正在尝试使用 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 错误(未能建立新连接,操作超时)。
我是否缺少任何设置?所有帮助表示赞赏。