If you've such a level of automation may be you can go ahead with it.
But I do have some concerns / questions to which I don't know answers for,
may be someone from GoCD team can help us both.
1. If during that 10 min window if any cron'd pipeline were to trigger,
would it happen post when the server comes back up?
- I think it's a NO. Just wanted to confirm anyways.
2. When we shutdown go-server what happens to active pipelines? Does
graceful shutdown wait for all running pipelines to complete or do a kill
-9 type of exit?
- I've personally kill -9'd go-server process when active pipelines
were there and agents would eventually report back the status to the
go-server.
3. What happens if during that 10 min window an agent finishes a job.
Where would it report back the status? Would it wait for Go Server to come
back up and until then may be do an exponential backoff ? If yes, how long
does it really wait for the go-server to come back up?
4. If GoServer's Address is provided as a DNS (ex.
go-server.mycompany.com) to all agents (running separately), when the
underlying IP address of the instance changes (spot outage and a new VM
comes up), would the DNS cache TTL (of JVM) cause any issues for agent when
they try to communicate with the server?
On Fri, Jun 9, 2017 at 6:53 AM, <[email protected]> wrote:
> Thanks Ashwanth
>
> Well the spot instance has at least 1 min 55 seconds to shutdown
> gracefully and that's why I asked how to stop go-server gracefully and how
> long does it take to do it (in worst case).
> (stop all important services and unmount the dedicated EBS which has H2
> store, I guess)
>
> And I can start a new spot instance and mount the EBS, so go-server
> recovers in 10 min, or so.
>
>
>
> On Friday, June 9, 2017 at 10:58:03 AM UTC+10, Ashwanth Kumar wrote:
>>
>>
>> BTW *you might not* want to run GoServer in Spot instance, whereas the
>> Go Agents can be run on spot as it's perfectly fine for it to come and go.
>>
>>
>
--
Ashwanth Kumar / ashwanthkumar.in
--
You received this message because you are subscribed to the Google Groups
"go-cd" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.