Bug: Zarf fails to init successfully if there's a pod that's currently stuck in terminating state and the node on that terminating pod doesn't exist anymore #2410
Labels
bug 🐞
Something isn't working
Zarf fails to init successfully if there's a pod that's currently stuck in terminating state and the node on that terminating pod doesn't exist anymore.
I think this chunk of code is related - it doesn't seem to check if a pod is in a bad state, i.e. terminating and possibly the node that it was supposed to live on is now gone 😬
zarf/src/pkg/cluster/injector.go
Lines 453 to 466 in 08c92e1
I know this is a very specific scenario, but it happened -
pod.Spec.NodeName
has a node on it that doesn't exist anymore because nodes were rolled to get new eks k8s versionGetNode
on this node from k8s api, that errors outUnable to generate a list of candidate images to perform the registry injection
The text was updated successfully, but these errors were encountered: