• Using kubectl exec to run an interactive shell on an existing pod

    2 min read

    pod interactive kubernetes exec

    It's quite common to at least have a shell installed on the containers since it's footprint on the kB range. Let's check how to get an interactive shell on a running Pod. In case the pod we want to connect to is just using one container like in this example:

    $ kubectl get pods 
    NAME                                     READY   STATUS      RESTARTS   AGE
    pet2cattle-s3sync-5f9b9486cf-nznph       1/1     Running     0          2m20s
    

    18/02/2021

    Read more...
  • Run an interactive shell in a kubernetes cluster

    2 min read

    pod interactive kubernetes

    For troubleshooting purposes, it's quite useful to run an interactive shell on the kubernetes cluster. We can always run a shell con an existing container but it might not have the tools we need.

    03/02/2021

    Read more...

From pet to cattle
Treat your kubernetes clusters like cattle, not pets