Google-Kubernetes-Engine

kubectl(Google容器引擎):無法檢索部署的推出歷史記錄

  • April 27, 2016

我無法檢索我的部署的推出歷史記錄。我收到一個錯誤:

$ kubectl rollout history deployments
deployments "letsencrypt-live-deployment":
REVISION    CHANGE-CAUSE
2       <none>
3       <none>

deployments "openvpn-live-deployment":
REVISION    CHANGE-CAUSE
1       <none>
3       <none>
4       <none>
5       <none>
6       <none>
7       <none>
8       <none>

deployments "ployst-api-db-live-deployment":
REVISION    CHANGE-CAUSE
2       <none>
3       <none>

panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xb code=0x1 addr=0xb8 pc=0xa1bc1a]

看起來像 GKE 中的某個錯誤。

$ kubectl version
Client Version: version.Info{Major:"1", Minor:"2", GitVersion:"v1.2.2", GitCommit:"528f879e7d3790ea4287687ef0ab3f2a01cc2718", GitTreeState:"clean"}
Server Version: version.Info{Major:"1", Minor:"2", GitVersion:"v1.2.2", GitCommit:"528f879e7d3790ea4287687ef0ab3f2a01cc2718", GitTreeState:"clean"}

看起來這是 GKE 服務中的臨時問題。

引用自:https://serverfault.com/questions/773338