I thought it may be relate to that but I have pod and the database in same names . . .

Kossivi:
I thought it may be relate to that but I have pod and the database in same namespace. I have the configmap in the same namespace as well.

Jetchko Jekov:
do you have a service exposing your database?

Kossivi:
yes I do create a ClusterIP service for the mysql database. I really don’t know what is going on.