Kubernetes container agent self-hosted crash and restart

I setup done with kubernetes self-hosted runner and it run on my EKS - Kubernetes service of AWS. But when i trigger my job and runner pod is crash with content:

panic: assignment to entry in nil map

goroutine 34 [running]:
github.com/circleci/container-agent/driver/k8s.(*k8sTask).createPod(0xc000246dc0, {0x20cf710, 0xc000978900}, {0xc000870420, 0x1, 0x1})
	/home/circleci/project/driver/k8s/task.go:259 +0x2a7
github.com/circleci/container-agent/driver/k8s.(*k8sTask).Start(0xc000246dc0, {0x20cf710?, 0xc000978900}, {0x7f9f5ee59098?, 0xc00095cf60}, {0xc000a32fc0?})
	/home/circleci/project/driver/k8s/task.go:154 +0x29e
github.com/circleci/container-agent/service.(*taskWorker).serviceWork(0xc0007eb860, {0x20cf668?, 0xc00021a300?}, {0xc000a32fc0?, {0xc00027c580?, 0x1?}})
	/home/circleci/project/service/task_worker.go:110 +0x4c3
github.com/circleci/container-agent/service.(*taskWorker).work(0xc0007eb860, {0x20cf668, 0xc00021a300})
	/home/circleci/project/service/task_worker.go:74 +0x5e
github.com/circleci/container-agent/service.Add.func2({0x20cf668?, 0xc00021a300?})
	/home/circleci/project/service/task_worker.go:62 +0x30
github.com/circleci/ex/system.(*System).Run.func2()
	/home/circleci/go/pkg/mod/github.com/circleci/ex@v1.0.4050-48c5602/system/system.go:63 +0x25
golang.org/x/sync/errgroup.(*Group).Go.func1()
	/home/circleci/go/pkg/mod/golang.org/x/sync@v0.0.0-20220819030929-7fc1605a5dde/errgroup/errgroup.go:75 +0x64
created by golang.org/x/sync/errgroup.(*Group).Go
	/home/circleci/go/pkg/mod/golang.org/x/sync@v0.0.0-20220819030929-7fc1605a5dde/errgroup/errgroup.go:72 +0xa5

Anyone can help, pls?
Thanks

Can you share the version of container agent you are using? It should be available in the “Self-hosted Runners” inventory in the UI or if there is a build link, in the “Task Lifecycle” step output.

The first step to diagnose would be to try to upgrade the helm chart and see if this issue still occurs with the latest version. CircleCI’s self-hosted runner FAQs - CircleCI