Thanks @Kal_Lam , as indicated here extra_host should be uncommented for ee, kf and kc in the frontend image docker-compose.frontend.override.yml
ee, kf
kc
docker-compose.frontend.override.yml
Now the issue is gone.