我有一个 Kubernetes 集群,开始在主机上使用 rancher。我试图在其中开始很少 [ http://docs.seldon.io/install.html]。我能够启动 pod,但无法从kubectl logs
命令获取 pod 日志。
我收到错误“来自服务器的错误(BadRequest):服务器以未知原因拒绝了我们的请求(获取 pods xxx)”
kubectl version
显示以下内容:
Client Version: version.Info{Major:"1", Minor:"5", GitVersion:"v1.5.2", GitCommit:"08e099554f3c31f6e6f07b448ab3ed78d0520507", GitTreeState:"clean", BuildDate:"2017-01-12T04:57:25Z", GoVersion:"go1.7.4", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"5+", GitVersion:"v1.5.0-115+611cbb22703182", GitCommit:"611cbb22703182611863beda17bf9f3e90afa148", GitTreeState:"clean", BuildDate:"2017-01-13T18:03:00Z", GoVersion:"go1.7.4", Compiler:"gc", Platform:"linux/amd64"}