![kubectl(谷歌容器引擎):无法检索部署的推出历史记录](https://linux22.com/image/681821/kubectl%EF%BC%88%E8%B0%B7%E6%AD%8C%E5%AE%B9%E5%99%A8%E5%BC%95%E6%93%8E%EF%BC%89%EF%BC%9A%E6%97%A0%E6%B3%95%E6%A3%80%E7%B4%A2%E9%83%A8%E7%BD%B2%E7%9A%84%E6%8E%A8%E5%87%BA%E5%8E%86%E5%8F%B2%E8%AE%B0%E5%BD%95.png)
我无法检索部署的推出历史记录。我收到一条错误:
$ 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"}
答案1
这看起来是 GKE 服务中的一个临时问题。