k8s-rds
k8s-rds copied to clipboard
pod stuck in strange state
E0811 15:18:24.310903 1 runtime.go:69] Observed a panic: &runtime.TypeAssertionError{_interface:(*runtime._type)(0x16e0460), concrete:(*runtime._type)(0x179e6c0), asserted:(*runtime._type)(0x195c7a0), missingMethod:""} (interface conversion: interface {} is cache.DeletedFinalStateUnknown, not *crd.Database)
goroutine 52 [running]:
k8s.io/apimachinery/pkg/util/runtime.logPanic(0x1757760, 0xc00025b380)
/go/pkg/mod/k8s.io/[email protected]/pkg/util/runtime/runtime.go:65 +0x7b
k8s.io/apimachinery/pkg/util/runtime.HandleCrash(0x0, 0x0, 0x0)
/go/pkg/mod/k8s.io/[email protected]/pkg/util/runtime/runtime.go:47 +0x82
panic(0x1757760, 0xc00025b380)
/usr/local/go/src/runtime/panic.go:967 +0x15d
main.execute.func2(0x179e6c0, 0xc000116ea0)
/app/main.go:131 +0x31c
k8s.io/client-go/tools/cache.ResourceEventHandlerFuncs.OnDelete(...)
/go/pkg/mod/k8s.io/[email protected]/tools/cache/controller.go:212
k8s.io/client-go/tools/cache.newInformer.func1(0x1761620, 0xc0003cb6e0, 0x1, 0xc0003cb6e0)
/go/pkg/mod/k8s.io/[email protected]/tools/cache/controller.go:376 +0x352
k8s.io/client-go/tools/cache.(*DeltaFIFO).Pop(0xc000398fd0, 0xc0003ee390, 0x0, 0x0, 0x0, 0x0)
/go/pkg/mod/k8s.io/[email protected]/tools/cache/delta_fifo.go:436 +0x235
k8s.io/client-go/tools/cache.(*controller).processLoop(0xc000438100)
/go/pkg/mod/k8s.io/[email protected]/tools/cache/controller.go:153 +0x40
k8s.io/apimachinery/pkg/util/wait.JitterUntil.func1(0xc00045cf80)
/go/pkg/mod/k8s.io/[email protected]/pkg/util/wait/wait.go:152 +0x5f
k8s.io/apimachinery/pkg/util/wait.JitterUntil(0xc00015bf80, 0x3b9aca00, 0x0, 0xc000456001, 0xc0000a20c0)
/go/pkg/mod/k8s.io/[email protected]/pkg/util/wait/wait.go:153 +0xf8
k8s.io/apimachinery/pkg/util/wait.Until(...)
/go/pkg/mod/k8s.io/[email protected]/pkg/util/wait/wait.go:88
k8s.io/client-go/tools/cache.(*controller).Run(0xc000438100, 0xc0000a20c0)
/go/pkg/mod/k8s.io/[email protected]/tools/cache/controller.go:125 +0x2c1
created by main.execute
/app/main.go:160 +0x81e