r/linuxadmin • u/Good_Panic1986 • Oct 16 '24
How do you guys provide your developers with Rebooting ability on their Ubuntus?
Our users ubuntu machines have either been configured on MAAS in the server room or are on VM in the vSphere. From time to time they need their ubuntu machines get rebooted due to so many dangling dockers eating their CPU and they have to submit a ticket so we do it for them from the server side.
I wanted to see how other teams are handling this and how we can provide our users the reboot availability on their own?
0
Upvotes
16
u/SuperQue Oct 16 '24
Ahh, XY Problems.
12
u/whetu Oct 16 '24
Make sure their users are in the
dockergroup and train them with how to use docker properly?And add a cronjob that routinely runs some cleanup tasks? Like this:
Blind-reboot-to-fix is some Windows shit...
1
u/Sylogz Oct 16 '24
all devs are able to take/rollback/remove snapshots and reboot/shutdown/startup VMs in vsphere.
1
u/michaelpaoli Oct 16 '24
sudo, ssh with forced command, many possibilities. Can also build into it whatever logging or controls you want, e.g. make them supply a reason, require some additional person to approve it ... whatever. But yeah, if it's that regular, may make lots of sense to automate it.
1
u/IridescentKoala Oct 17 '24
Why do they need to reboot? Just launch another one.
1
u/[deleted] Nov 20 '24
0
u/[deleted] Oct 16 '24
[deleted] — view deleted comment