Gitea pod not coming up after restart

My issue is identical to this github issue, the problem is i dont understand how is it solved.
For context my gitea instance is running on k3s cluster with all gitea pods like postgres, redis, postgres-ha-pool running but the gitea pod is stuck in crashloopbackoff
the error on running gitea pod is

routers/init.go:60:mustInit() [F] code.gitea.io/gitea/modules/cache.NewContext failed: dial tcp [2001:cafe:42:4::972]:6379: connect: no route to host

This ocurred after all nodes were restarted.
I have tried restarting gitea pods, restarting redis pods but the issue still persists. Any pointers on how to resolve this will be hightly appreciated. Thanks in advance.