Tag: Kubernetes

  • Run a bash shell in Kubernetes Cluster

    This is really simple. Use the kubectl run command to run a container quickly: In my case I wanted to install some tools (which since it’s an ubuntu image you can!) Or if you just need curl (and some other network diagnostic tools):

  • Run a plain SQL query in Diesel.rs

    Sometimes I just need to get a single value out of the database, or in this case I wanted to include connectivity to the database in my liveness probe. Since I don’t need to load anything and just want to make sure the database is accessible I want to run a very simple query. Diesel […]