• @brokenlcd@feddit.it
    link
    fedilink
    56 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
      link
      fedilink
      96 months ago

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