Git Product home page Git Product logo

Comments (8)

varshavaradarajan avatar varshavaradarajan commented on June 3, 2024

@maxbalan - do you have a job timeout configured either in the job settings or globally in the server configuration? https://docs.gocd.org/current/configuration/job_timeout.html#introduction

from kubernetes-elastic-agents.

maxbalan avatar maxbalan commented on June 3, 2024

hi @varshavaradarajan yes I do have a global timeout and its 60 min and all the jobs are using global timeout, I did even try for this test to set the job to never timeout but still the agent is killed after 10 min

from kubernetes-elastic-agents.

arvindsv avatar arvindsv commented on June 3, 2024

@maxbalan By any chance, do you have two GoCD servers up, pointing to the same k8s cluster?

If so, bring one GoCD server down and see if it helps. It could be that the plugin in the server-2 is seeing the pods of server-1, and killing them after the timeout, since they did not contact the server (server-2).

from kubernetes-elastic-agents.

maxbalan avatar maxbalan commented on June 3, 2024

@arvindsv no I have only one instance of gocd-server and it sits on its own vm outside k8s

from kubernetes-elastic-agents.

arvindsv avatar arvindsv commented on June 3, 2024

Hmm. Anything in the plugin logs regarding those jobs? What about the pod's events? What is the reason for it being terminated?

from kubernetes-elastic-agents.

maxbalan avatar maxbalan commented on June 3, 2024

@arvindsv last time I monitored this issue there was no logs at all in gocd, if you need any specific logs please let me know how to collect them and I will be happy to assist and reproduce the issue

from kubernetes-elastic-agents.

maxbalan avatar maxbalan commented on June 3, 2024

@arvindsv @varshavaradarajan after my last comment I tried to reproduce the issue, though now I am running gocd 20.4.0 as we upgraded it to the latest version, and cannot reproduce this issue any more, I guess it had to do something with v20.3.0, in any case I think we can close this ticket now. I will keep an eye on it in case it start again. I did setup a job for it and will let it run for a couple of days to make sure it was not just a lucky run.

Thank you both for jumping in and trying to help

from kubernetes-elastic-agents.

arvindsv avatar arvindsv commented on June 3, 2024

Glad it seems to be ok. :) Closing this then.

from kubernetes-elastic-agents.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.