386
submitted 2 months ago by mao@lemmy.sdf.org to c/programmerhumor@lemmy.ml
you are viewing a single comment's thread
view the rest of the comments
[-] brokenlcd@feddit.it 5 points 2 months ago

I don't know how k8s works; but if there is a way to execute just one command in a container and then exit out of it like chroot; wouldn't it be possible to just use xargs with a list of the container names?

[-] zeluko@kbin.social 9 points 2 months ago

yeah, just use kubectl and pipe stuff around with bash to make it work, pretty easy

this post was submitted on 24 May 2024
386 points (98.0% liked)

Programmer Humor

31735 readers
437 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS