
我們的三個 Kyverno pod 中的兩個一直陷入崩潰循環。
ArgoCD 中的狀態詳細資訊為:
back-off 5m0s restarting failed container=kyverno pod=kyverno-85b8ccfffd-7vb4t_kyverno(cf50fb6d-a1c2-4384-bdbf-bebe865daa73)
我在日誌中能找到的只是:
panic: interface conversion: interface {} is nil, not string [recovered]
panic: interface conversion: interface {} is nil, not string
goroutine 2254 [running]:
k8s.io/apimachinery/pkg/util/runtime.HandleCrash({0x0, 0x0, 0xc004736140?})
k8s.io/[email protected]/pkg/util/runtime/runtime.go:56 +0xd7
panic({0x2f552e0, 0xc00158ee40})
runtime/panic.go:884 +0x212
這並不能澄清很多事情。我該如何解決這個問題?
答案1
如評論所述,請在 Kyverno GitHub 儲存庫中開啟問題並提供複製步驟,包括版本、K8s 平台等。