我无法检索部署的推出历史记录。我收到一条错误:
$ 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 服务中的一个临时问题。