Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keep old configuration during update #14

Open
jlubken opened this issue Mar 25, 2024 · 0 comments · May be fixed by #15
Open

Keep old configuration during update #14

jlubken opened this issue Mar 25, 2024 · 0 comments · May be fixed by #15

Comments

@jlubken
Copy link
Member

jlubken commented Mar 25, 2024

I've updates the patching scripts in /home/signals/sre on the nfs to:

Specify non-interactive updates.
Keep out config files
Include a copy of new config files from upstream
Also from the monthly patching to clean up dead periodic jobs cluttering the nomad scheduler:

sudo apt install parallel
nomad job status | grep 'periodic-' | awk '{print $1}' -> jobs.txt
cat jobs.txt | parallel -j32 nomad stop -detach -purge

... where 32 is the number of "zombie" tasks to asynchronously attempt to kill off.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant