Hi Carlos, Thanks for the prompt reply. What I have seen is that when the node is deleted the slave/pod doesn't crash, it is just deleted. Then the Jenkins master just sits there waiting for the slave to return with the following output:
Cannot contact default-6b0e4a2d33a: java.io.IOException: remote file operation failed: /home/jenkins/workspace/installer/Run_Installer at hudson.remoting.Channel@1925c5c0:JNLP4-connect connection from 192.168.3.18/192.168.3.18:46497: hudson.remoting.ChannelClosedException: channel is already closed Art. On Tuesday, August 29, 2017 at 11:50:08 AM UTC-4, Carlos Sanchez wrote: > > It doesn't restart the agents because as soon as the agent crashes the > build will fail. So there is no point in restarting them > > On Tue, Aug 29, 2017 at 5:30 PM, Cooper99 <[email protected] <javascript:>> > wrote: > >> I am new to Jenkins so this may be a simple question. I am using the >> kubernetes-plugin to dynamically create Jenkins slaves. The one thing I >> have noticed is that when using the plugin to create the slaves is if a >> node gets deleted the slave pod is running on, the slave pod is not >> restarted. I am not sure if this is a configuration error on my part or >> just the way it is. It seems that based on this article: >> https://www.infoq.com/articles/scaling-docker-kubernetes-v1 that having >> the slaves restart when a node goes down would always be desired. >> I am using Jenkins 2.66 and kubernetes-plugin 0.11 on Kubernetes 1.6.2. >> >> Thanks. >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Jenkins Users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/jenkinsci-users/4a04bd53-d927-406a-b8ba-6e346a5ece9b%40googlegroups.com >> >> <https://groups.google.com/d/msgid/jenkinsci-users/4a04bd53-d927-406a-b8ba-6e346a5ece9b%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > > -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/3dd6d23e-065c-47f9-b1ee-c92cd507ed29%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
