How to quarantine Kubernetes Pods?

I wanted to share one quick tip on how you can quarantine your Kubernetes pods.

You would use this if you want to investigate the containers within a pod, but you don’t want them to be part of the Kubernetes Service. You don’t want to debug something while the traffic might still be flowing to that container.

How to do it?