Mysql multi column Index
This article covers when to user mysql multi column index and how does the order of column impact the query and index usage. Sample table read more
Mac – how to use kubernetes with Lima-VM
Lima is Linux virtual machines (on macOS, in most cases). Lima launches Linux virtual machines with automatic file sharing and port forwarding (similar to WSL2), read more
Mac podman quick start guide
Steps to install podman on mac Instal podman and podman-desktopbrew install podmanbrew install podman-desktop Init and start podmanpodman machine initpodman machine start Start podman deskop read more
Mac docker minikube kubernetes – how to get shell access to container
In case you are running a docket and minikube or some other kubernetes, here are ways to ssh to a container: To ssh to a read more
Mac docker – create getting-started image and run container using it
This tutorial will cover steps to create a docker image for getting-started code and run a container with it. Run a container and clone getting-started read more
Mac kubernetes – create two container pod with shared volume
This tutorial will cover steps to create a pod with nginx container and ubuntu containers with shared volume. Both containers will have the same IP read more
Mac – create a one container pod and get shell to it
Steps to create a pod with nginx container and get shell to it: Create config file shell-demo.yaml Create the podkubectl apply -f shell-demo.yaml Get a read more
Mac – enable and use kubernetes in docker
Mac Docker comes with kubernetes embedded which can be enabled. Here the steps to enable and use kubernetes: Click on settings icons in Docker desktop, read more
Mac – docker sample – single container dev env – quick start
Steps to start create and run docker sample – single container dev env: Install Visual Studio Code Install dev Containers extension in Visual Studio Code read more
Mac – find which process is listening on a port
We can use lsof or netstat to find which process is listening on a port. Here are the steps: To see which process is listening read more