What happened:
My application is running on top of kubernetes 1.26.
I am getting sometime (not frequent) an exception from Some microservices (spring-boot 2.7.RELEASE using base image
eclipse-temurin:17-jre) trying to request another service through k8s servicie name. telling me UnknownHostException..
That means the service which initiating the request is not able to resolve hostname.
What you expected to happen:
I am expecting to not see this exception and all calls are DNS resolvable.
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
I Tried to make a script which run nslookup command 10000 time and i did not get any error and all calls to service were
resolved successfully.
This issue happen from today only where there is no change related dns .
What happened: My application is running on top of kubernetes 1.26. I am getting sometime (not frequent) an exception from Some microservices (spring-boot 2.7.RELEASE using base image eclipse-temurin:17-jre) trying to request another service through k8s servicie name. telling me UnknownHostException.. That means the service which initiating the request is not able to resolve hostname.
What you expected to happen: I am expecting to not see this exception and all calls are DNS resolvable.
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
I Tried to make a script which run nslookup command 10000 time and i did not get any error and all calls to service were resolved successfully. This issue happen from today only where there is no change related dns .