Score:-1

kyverno pods stuck in crashloop

au flag

Two of our three Kyverno pods keep getting stuck in crash loops.

State details in ArgoCD are:

back-off 5m0s restarting failed container=kyverno pod=kyverno-85b8ccfffd-7vb4t_kyverno(cf50fb6d-a1c2-4384-bdbf-bebe865daa73)

All I can find in the logs is:

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

which does not clarify a whole lot. How do I resolve this?

pt flag
It looks like kyerno is crashing. I would consider opening an issue in https://github.com/kyverno/kyverno/issues, because even if the ultimate cause turns out to be a configuration issue, you should be receiving a useful error message rather than a crash and a traceback.
Score:0
nr flag

As commented, please do open an issue in the Kyverno GitHub repo and provide reproduction steps including version, K8s platform, etc.

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.