【问题标题】:windows azure kubernetes - Running a container(simple version)windows azure kubernetes - 运行容器(简单版)
【发布时间】:2014-11-26 18:16:47
【问题描述】:

来自 kubernetes github 上的steps

“运行容器(简单版)”部分

cluster/kubecfg.sh -p 8080:80 run dockerfile/nginx 2 myNginx

kubecfg.go:443] Error: request [&http.Request{Method:"POST", URL:(*url.URL)(xxx), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"Authorization":[]string{"Basic xxx =="}}, Body:ioutil.nopCloser{Reader:(*bytes.Buffer)(xxx)}, ContentLength:573, TransferEncoding:[]string(nil), Close:false, Host:"myVM.cloudapp.net", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil)}] failed (502) 502 Bad Gateway: <html>
<head><title>502 Bad Gateway</title></head>
<body bgcolor="white">
<center><h1>502 Bad Gateway</h1></center>
<hr><center>nginx/1.4.6 (Ubuntu)</center>
</body>
</html>

【问题讨论】:

    标签: azure google-compute-engine kubernetes


    【解决方案1】:

    听起来你的 apiserver 没有启动;如果它只是缓慢,这应该是暂时的。

    但您更有可能需要登录到您的主 VM,并查看 /var/log/kube-apiserver.log 以了解它无法启动的原因。

    【讨论】:

      猜你喜欢
      • 2020-08-29
      • 1970-01-01
      • 2023-03-10
      • 2018-10-26
      • 2019-10-03
      • 2017-06-24
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多