Azure Pipeline:找不到 kubectl 服务器版本
Azure Pipeline: Could not find kubectl server version
我的 Azure AKS 在执行 create imagepullsecret 时出错。
从日志中,它说找不到 kubectl 服务器版本。
感谢有人可以解决如何解决此问题。
这意味着您需要先拉取 kubernetes 凭据,因此您要么缺少权限,要么没有连接到集群,或者集群详细信息有误
是服务连接问题,我已经修复了。
如果在 Azure Kubernetes 服务的“网络”下设置“设置授权 IP 范围”,这甚至会阻止 Azure 门户中的云 Shell。 Azure DevOps 也无法连接。
因此,如果 kubectl get nodes
超时,请尝试查看那里。
我的 Azure AKS 在执行 create imagepullsecret 时出错。
从日志中,它说找不到 kubectl 服务器版本。
感谢有人可以解决如何解决此问题。
这意味着您需要先拉取 kubernetes 凭据,因此您要么缺少权限,要么没有连接到集群,或者集群详细信息有误
是服务连接问题,我已经修复了。
如果在 Azure Kubernetes 服务的“网络”下设置“设置授权 IP 范围”,这甚至会阻止 Azure 门户中的云 Shell。 Azure DevOps 也无法连接。
因此,如果 kubectl get nodes
超时,请尝试查看那里。