Error from server Get https 10 19 0 41 10250 containerLogs default mysql-ddc65b868-glc5m mysql dial tcp 10 19 0 41 10250 getsockopt no route to host

0 votes

Hi Guys,

I am trying to run kubectl run command, but it is showing me the below error.

Error from server: Get //10.19.0.41:10250/containerLogs/default/mysql-ddc65b868-glc5m/mysql: dial tcp 10.19.0.41:10250: getsockopt: no route to host

How can I solve this error?

Jul 16, 2020 in Kubernetes by akhtar
• 38,260 points
3,374 views

1 answer to this question.

0 votes

Hi@akhtar,

This may be due to Kubernetes using an IP that can not communicate with other IPs on the seemingly same subnet, possibly by the policy of the machine provider. You can use ip addr show command to check for this scenario instead of ifconfig because ifconfig will not display the offending alias IP address.

answered Jul 16, 2020 by MD
• 95,460 points

Related Questions In Kubernetes

0 votes
1 answer
0 votes
1 answer
0 votes
2 answers

Error saying “Error from server (NotFound): the server could not find the requested resource”

official Documentation says: A client should be skewed ...READ MORE

answered Sep 19, 2018 in Kubernetes by Nilesh
• 7,060 points
4,356 views
+1 vote
1 answer
0 votes
3 answers

Error while joining cluster with node

Hi Kalgi after following above steps it ...READ MORE

answered Jan 17, 2019 in Others by anonymous
15,309 views
+4 votes
1 answer

Installing Web UI (Dashboard):kubernetes-dashboard on main Ubuntu 16.04.6 LTS (Xenial Xerus) server

Follow these steps: $ kubeadm reset $ kubeadm init ...READ MORE

answered Apr 12, 2019 in Kubernetes by Kalgi
• 52,360 points

reshown Apr 12, 2019 by Kalgi 6,930 views
0 votes
1 answer
0 votes
1 answer

The connection to the server 192.168.99.101:8443 was refused - did you specify the right host or port?

Hi@akhtar, This error may occur because of network ...READ MORE

answered May 21, 2020 in Kubernetes by MD
• 95,460 points
4,190 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP