首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >windows azure kubernetes -运行容器(简单版本)

windows azure kubernetes -运行容器(简单版本)
EN

Stack Overflow用户
提问于 2014-10-02 03:43:26
回答 1查看 172关注 0票数 0

从kubernetes github上的steps

“运行容器(简单版本)”一节

代码语言:javascript
复制
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>
EN

回答 1

Stack Overflow用户

发布于 2015-01-09 07:51:31

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

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

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/26149294

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档