argo工作流控制器可以';t连接到Kubernetes APIServer

argo工作流控制器可以';t连接到Kubernetes APIServer,kubernetes,kubernetes-apiserver,argoproj,argo-workflows,Kubernetes,Kubernetes Apiserver,Argoproj,Argo Workflows,我已经将argo安装在我所在组织的中央kubernetes集群中我自己的名称空间中 安装完成后,当argo“workflow controller”尝试使用API服务器获取configmaps时,出现超时错误 time="2018-08-15T01:24:40Z" level=fatal msg="Get https://192.168.0.1:443/api/v1/namespaces/2304613691/configmaps/workflow-controller-configmap: d

我已经将argo安装在我所在组织的中央kubernetes集群中我自己的名称空间中

安装完成后,当argo“workflow controller”尝试使用API服务器获取configmaps时,出现超时错误

time="2018-08-15T01:24:40Z" level=fatal msg="Get https://192.168.0.1:443/api/v1/namespaces/2304613691/configmaps/workflow-controller-configmap: dial tcp 192.168.0.1:443: i/o timeout\ngithub.com/argoproj/argo/errors.Wrap\n\t/root/go/src/github.com/argoproj/argo/errors/errors.go:87\ngithub.com/argoproj/argo/errors.InternalWrapError\n\t/root/go/src/github.com/argoproj/argo/errors/errors.go:70\ngithub.com/argoproj/argo/workflow/controller.(*WorkflowController).ResyncConfig\n\t/root/go/src/github.com/argoproj/argo/workflow/controller/controller.go:295\nmain.Run\n\t/root/go/src/github.com/argoproj/argo/cmd/workflow-controller/main.go:96\ngithub.com/argoproj/argo/vendor/github.com/spf13/cobra.(*Command).execute\n\t/root/go/src/github.com/argoproj/argo/vendor/github.com/spf13/cobra/command.go:750\ngithub.com/argoproj/argo/vendor/github.com/spf13/cobra.(*Command).ExecuteC\n\t/root/go/src/github.com/argoproj/argo/vendor/github.com/spf13/cobra/command.go:831\ngithub.com/argoproj/argo/vendor/github.com/spf13/cobra.(*Command).Execute\n\t/root/go/src/github.com/argoproj/argo/vendor/github.com/spf13/cobra/command.go:784\nmain.main\n\t/root/go/src/github.com/argoproj/argo/cmd/workflow-controller/main.go:68\nruntime.main\n\t/usr/local/go/src/runtime/proc.go:195\nruntime.goexit\n\t/usr/local/go/src/runtime/asm_amd64.s:2337"
它正在尝试访问以下url:
https://192.168.0.1:443/api/v1/namespaces/2304613691/configmaps/workflow-pod容器内的控制器配置映射

我还修改了kubernetes主机配置以反映kubernetes.default,并添加了开放所有入口和出口网络策略。 但还是有例外

time="2018-08-16T18:23:55Z" level=fatal msg="Get https://kubernetes.default:443/api/v1/namespaces/2304613691/configmaps/workflow-controller-configmap: dial tcp: i/o timeout\ngithub.com/argoproj/argo/errors.Wrap\n\t/root/go/src/github.com/argoproj/argo/errors/errors.go:87\ngithub.com/argoproj/argo/errors.InternalWrapError\n\t/root/go/src/github.com/argoproj/argo/errors/errors.go:70\ngithub.com/argoproj/argo/workflow/controller.(*WorkflowController).ResyncConfig\n\t/root/go/src/github.com/argoproj/argo/workflow/controller/controller.go:295\nmain.Run\n\t/root/go/src/github.com/argoproj/argo/cmd/workflow-controller/main.go:96\ngithub.com/argoproj/argo/vendor/github.com/spf13/cobra.(*Command).execute\n\t/root/go/src/github.com/argoproj/argo/vendor/github.com/spf13/cobra/command.go:750\ngithub.com/argoproj/argo/vendor/github.com/spf13/cobra.(*Command).ExecuteC\n\t/root/go/src/github.com/argoproj/argo/vendor/github.com/spf13/cobra/command.go:831\ngithub.com/argoproj/argo/vendor/github.com/spf13/cobra.(*Command).Execute\n\t/root/go/src/github.com/argoproj/argo/vendor/github.com/spf13/cobra/command.go:784\nmain.main\n\t/root/go/src/github.com/argoproj/argo/cmd/workflow-controller/main.go:68\nruntime.main\n\t/usr/local/go/src/runtime/proc.go:195\nruntime.goexit\n\t/usr/local/go/src/runtime/asm_amd64.s:2337"
apiVersion:v1 项目: -版本:v1 种类:服务帐户 元数据: 姓名:argo 命名空间:2304613691 -版本:v1 种类:服务帐户 元数据: 名称:argo用户界面 命名空间:2304613691 种类:列表 --- 版本:v1 项目: -apiVersion:rbac.authorization.k8s.io/v1 种类:角色 元数据: 名称:argo角色 命名空间:2304613691 规则: -蜂群: - "" 资源: -豆荚 -pods/exec 动词: -创造 -得到 -名单 -监视 -更新 -补丁 -蜂群: - "" 资源: -配置映射 动词: -得到 -监视 -名单 -蜂群: - "" 资源: -持续卷目标 动词: -创造 -删除 -蜂群: -argoproj.io 资源: -工作流程 动词: -得到 -名单 -监视 -更新 -补丁 -apiVersion:rbac.authorization.k8s.io/v1 种类:角色 元数据: 名称:argo用户界面角色 命名空间:2304613691 规则: -蜂群: - "" 资源: -豆荚 -pods/exec -豆荚/原木 动词: -得到 -名单 -监视 -蜂群: - "" 资源: -秘密 动词: -得到 -蜂群: -argoproj.io 资源: -工作流程 动词: -得到 -名单 -监视 种类:列表 --- 版本:v1 项目: -apiVersion:rbac.authorization.k8s.io/v1 种类:RoleBinding 元数据: 名称:argo绑定 命名空间:“2304613691” roleRef: apiGroup:rbac.authorization.k8s.io 种类:角色 名称:argo角色 学科: -种类:服务帐户 姓名:argo 命名空间:“2304613691” -apiVersion:rbac.authorization.k8s.io/v1 种类:RoleBinding 元数据: 名称:argo ui绑定 命名空间:“2304613691” roleRef: apiGroup:rbac.authorization.k8s.io 种类:角色 名称:argo用户界面角色 学科: -种类:服务帐户 名称:argo用户界面 命名空间:“2304613691” 种类:列表 --- 版本:v1 项目: -apiVersion:extensions/v1beta1 种类:部署 元数据: 注释: deployment.kubernetes.io/revision:“1” 世代:1 名称:工作流控制器 命名空间:2304613691 规格: 进度死线秒数:600 副本:1份 修订历史限制:10 选择器: 火柴标签: 应用程序:工作流控制器 战略: 滚动更新: 最大浪涌:25% 最大不可用:25% 类型:RollingUpdate 模板: 元数据: 标签: 应用程序:工作流控制器 规格: 容器: -args: ---配置映射 -工作流控制器配置映射 命令: -工作流控制器 环境: -名称:ARGO_名称空间 价值来源: fieldRef: 版本:v1 fieldPath:metadata.namespace 图像:/sample-agupta34/工作流控制器:v2.1.1 imagePullPolicy:如果不存在 名称:工作流控制器 资源:{} terminationMessagePath:/dev/终止日志 terminationMessagePolicy:文件 DNS政策:集群优先 restartPolicy:始终 schedulerName:默认计划程序 securityContext:{} 服务帐户:argo serviceAccountName:argo 终止时间:30秒 -apiVersion:extensions/v1beta1 种类:部署 元数据: 注释: deployment.kubernetes.io/revision:“1” 世代:1 名称:argo用户界面 命名空间:2304613691 规格: 进度死线秒数:600 副本:1份 修订历史限制:10 选择器: 火柴标签: 应用程序:argo用户界面 战略: 滚动更新: 最大浪涌:25% 最大不可用:25% 类型:RollingUpdate 模板: 元数据: 标签: 应用程序:argo用户界面 规格: 容器: -环境: -名称:ARGO_名称空间 价值来源: fieldRef: 版本:v1 fieldPath:metadata.namespace -名称:IN_集群 价值:“真实” -名称:启用WEB控制台 值:“false” -名称:BASE_HREF 价值:/ 图像:/sample-agupta34/argoui:v2.1.1 imagePullPolicy:如果不存在 名称:argo用户界面 资源:{} terminationMessagePath:/dev/终止日志 terminationMessagePolicy:文件 DNS政策:集群优先 restartPolicy:始终 schedulerName:默认计划程序 securityContext:{} serviceAccount:argo用户界面 serviceAccountName:argo用户界面 终止时间:30秒 种类:列表 --- 版本:v1 数据: 配置:| 工件库:{} 执行者图像:/sample-agupta34/argoexec:v2.1.1 种类:配置地图 元数据: 名称:工作流控制器configmap 命名空间:2304613691 --- 版本:v1 种类:服务 元数据: 名称:argo用户界面 命名空间:2304613691 标签: 应用程序:argo用户界面 规格: 端口: -港口:80 协议:TCP 目标港:8001 选择器: 应用程序:argo用户界面 --- apiVersion:extensions/v1beta1 种类:入口 元数据: 名称:argo用户界面 命名空间:2304613691 注释: kubernetes.io/ingres.class:“netscaler.v2” netscaler.applecloud.io/unsecure-bac