Skip to content

Instantly share code, notes, and snippets.

@suryagaddipati
Last active February 19, 2018 15:34
Show Gist options
  • Save suryagaddipati/be6e80b80cb6b68e235f70044e80e3cb to your computer and use it in GitHub Desktop.
Save suryagaddipati/be6e80b80cb6b68e235f70044e80e3cb to your computer and use it in GitHub Desktop.
downtime free jenkins upgrade
1. Put current instance ( `dotci1-1`) in 'shutdown-mode'
* Stop kafka consumer
* flip job flilter to exclude everything
2. Bootup newinstance ( `dotci1-2`)
* with same kafka consumer id
* use job filter from `dotci1-1`
3. flip ngnix rule `/dotci` to point to `http://dotic1-2:8080/jenkins`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment