Re: K8s jenkins dynamic agent fails & shows - tcpSlaveAgentListener error

2020-08-30 Thread Mk
Team, It was an kubernetes DNS resolution issue. With the help of following link - https://kubernetes.io/docs/tasks/administer-cluster/dns-debugging-resolution/ created (*dnsutils.yaml*) pod and found that my K8s cluster pods was returning following error "*connection timed out; no servers

Re: K8s jenkins dynamic agent fails & shows - tcpSlaveAgentListener error

2020-08-29 Thread Mk
Hi Richard, Thanks for the reply. Sorry i didn't give my environment details before. Please find my environment details below. *Server:-1* *Jenkins Master & Kubernetes Cluster Master Server Environment (Both deployed in same physical server).* *OS - Centos-8.2* *Jenkins Version -

Re: K8s jenkins dynamic agent fails & shows - tcpSlaveAgentListener error

2020-08-29 Thread Richard Bywater
What is the K8s-Worker node that you are referring to? You didn't mention that in the first email so I'm not sure where that fits in. Also which entries did you actually put into the /etc/hosts file as you don't say what it looked like before. I'm fairly new to K8s myself but my main question

Re: K8s jenkins dynamic agent fails & shows - tcpSlaveAgentListener error

2020-08-28 Thread Mk
Further tried by adding below entries in */etc/hosts* file on both *Jenkins/K8s Master* and* K8s-Worker* node system as well. But still result is same. # cat /etc/hosts 127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 ::1 localhost localhost.localdomain

K8s jenkins dynamic agent fails & shows - tcpSlaveAgentListener error

2020-08-27 Thread Mk
Dear Team, I have *Jenkins Master* &* K8s-Master* running on same server(*CentOS-8*), Configured Jenkins *Kubernetes Plugin version - 1.26.4* But while running pipeline job i always getting an error, Below is K8s cluster jenkins agent pod log. [root@K8s-Master /]# kubectl logs -f