kubernetes: Error from server: Get //IPaddress:10250/containerLogs/default/l: dial tcp 10.19.0.41:10250: getsockopt: no route to host

When you are working on Kubernetes you may have noticed this error while you are checking the logs of the pod from the Kubernetes master The command to check the pod logs, consider you have a pod that is running MySQL service. When I was trying to access the log of the pod I was received the below error, due to this I was not able to troubleshoot the issues which are there in the application.¬† So the first step is to fix this issue. Below are the troubleshooting steps…

Read More

WARNING server login failed: FATAL no pg_hba.conf entry for host “”, user “postgres”, database “postgres”, SSL off

I have an application that uses Postgres as the database to store application-related data. During my initial setup, I have found the above error in the application while connecting the database. From the above error, we can clearly understand that Postgres is not accepting any connection from 10.244.1.94 IP address. As you know Postgres has host-based access control which accepts the database connection from the listed host. In order to solve this error, we need to add an entry in the pg_hba.conf ( which is the host-based access control file…

Read More