I'm running my Backend on Kubernetes on around 250 pods under 15 deployments, backend in written in NODEJS.
Sometimes after X number of hours (5<X<30) I'm getting ENOTFOUND in one of the PODS, as follows:
{
"name": "main",
"hostname": "entrypoint-sdk-54c8788caa-aa3cj",
"pid": 19,
"level": 50,
"error": {
"errno": -3008,
"code": "ENOTFOUND",
"syscall": "getaddrinfo",
"hostname": "employees-service"
},
"msg": "Failed calling getEmployee",
"time": "2022-01-28T13:44:36.549Z",
"v": 0
}
I'm running a stress test on the Backend of YY number of users per second, but I'm keeping this stress level steady and not changing it, and then it happens out of nowhere with no specific reason.
Kubernetes is K3S Server Version: v1.21.5+k3s2
Any idea what might cause this weird ENOTFOUND?