尝试在Rancher中导入GKE集群时遇到问题。 运行kubectl后使用上下文并创建clusterrolebinding 查看牧场代理的日志,发现有这些错误。
time="2020-05-30T13:16:42Z" level=error msg="Remotedialer proxy error" error="websocket: bad
handshake" time="2020-05-30T13:16:52Z" level=info msg="Connecting to wss://rancher.mydomain.com/v3/connect with token 83838383"
time="2020-05-30T13:16:52Z" level=info msg="Connecting to proxy"
url="wss://rancher.mydomain.com/v3/connect"
time="2020-05-30T13:16:52Z" level=error msg="Failed to connect to proxy. Response status: 200 - 200 OK. Response body: node.management.cattle.io \"c-czjxh/m-348cfc5e3bed\" not found" error="websocket: bad handshake"