0
我試圖從我的回購使用Openshift在線一些代碼。 我的生成編譯罰款,但部署失敗:準備就緒/活性探測失敗。殺莢
error: update acceptor rejected nodejs-mongo-persistent-7: pods for rc "nodejs-mongo-persistent-7" took longer than 600 seconds to become ready
縱觀事件監視器,我看到這些錯誤:
Liveness probe failed: Get http://10.129.127.123:8080/pagecount: dial tcp 10.129.127.123:8080: getsockopt: connection refused
Readiness probe failed: Get http://10.129.127.123:8080/pagecount: dial tcp 10.129.127.123:8080: getsockopt: connection refused
這個錯誤發生50次左右,直到一切都超時,我莢遇難。
我不是一個真正的服務器人,也從來沒有在環境中工作過,所以大多數人幫助我只是不明白的資源。
這裏的事件日誌的屏幕帽: 的所有吊艙已在暴露活性與準備探針需要這在羣配置完成港口http://imgur.com/a/yv3fA
From : $ sudo docker pull registry/nodejs-mongo-persistent:latest
architecture=x86_64
authoritative-source-url=registry.access.redhat.com
build-date=2017-04-21T09:41:19.146364
com.redhat.build-host=ip-10-29-120-133.ec2.internal
com.redhat.component=rh-nodejs4-docker
com.redhat.deployments-dir=/opt/app-root/src
com.redhat.dev-mode=DEV_MODE:false
com.redhat.dev-mode.port=DEBUG_PORT:5858
distribution-scope=public
io.k8s.description=Platform for building and running Node.js 4 applications
io.k8s.display-name=springstead-portfolio/nodejs-mongo-persistent-8:ff0aacc1
io.openshift.build.commit.author=Shawn Springstead <[email protected]>
io.openshift.build.commit.date=Mon Jun 19 15:35:17 2017 -0400
io.openshift.build.commit.id=409c93610f0b2b264c84429106dc8bbcf0f3fee0
io.openshift.build.commit.message=correct server info
io.openshift.build.commit.ref=master
io.openshift.build.image=registry.access.redhat.com/rhscl/[email protected]:c5b21dc08cf5da8b6b0485147d946d8202f2be211c17bcef3a0fc26570217dd3
io.openshift.build.source-location=https://github.com/SpringsTea/Big-Mac-Index
io.openshift.expose-services=8080:http
io.openshift.s2i.scripts-url=image:///usr/libexec/s2i
io.openshift.tags=builder,nodejs,nodejs4
io.s2i.scripts-url=image:///usr/libexec/s2i
release=11.16
summary=Platform for building and running Node.js 4 applications
vcs-ref=e688e26c75b1418982bef6a87b9bbacd6d47604c
vcs-type=git
vendor=Red Hat, Inc.
version=4
你能發表你的規格文件嗎? – lang2
對不起,我不知道那是什麼意思。 – SpringsTea
您需要轉到失敗的吊艙並獲取吊艙的實際定義。您還可以嘗試獲取部署的定義,該部署將提供用於創建窗格的模板。至於OpenShift,我不太熟悉如何做到這一點。 – Rod