• @brokenlcd@feddit.it
    link
    fedilink
    51 month 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
      cake
      link
      fedilink
      91 month ago

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