我正在使用openshift集群来部署我的k8s运算符。我不是从操作员中心手动部署操作员。我能够成功部署操作员。但是,当我尝试通过操作员进行部署时,会出现以下错误。
如果我执行“ kubectl logs命令”:
{"level":"info","ts":1585406191.404172,"logger":"cmd","msg":"Go Version: go1.13"}
{"level":"info","ts":1585406191.404281,"logger":"cmd","msg":"Go OS/Arch: linux/amd64"}
{"level":"info","ts":1585406191.4042957,"logger":"cmd","msg":"Version of operator-sdk: v0.7.0+git"}
{"level":"info","ts":1585406191.4049966,"logger":"leader","msg":"Trying to become the leader."}
{"level":"info","ts":1585406191.5270786,"logger":"leader","msg":"Found existing lock","LockOwner":"apim-operator-b6446674d-56zp2"}
{"level":"info","ts":1585406191.5332227,"logger":"leader","msg":"Not the leader. Waiting."}
{"level":"info","ts":1585406192.661973,"logger":"leader","msg":"Not the leader. Waiting."}
由于这个锁,我的吊舱好像没准备好,有什么解决办法吗?