What happens to my original deployment when I run okteto up? Why do I sometimes see both the original pod and the -okteto pod running?
okteto up creates a dev copy of the workload (suffix -okteto) synced with your local folder, and scales the original to 0 so traffic goes to your dev container. okteto down removes the dev copy and scales the original back up.
If both are running, something (ArgoCD, kubectl scale, a redeploy) scaled the original back up. While okteto up is active, Okteto scales it down again. Run okteto down to restore cleanly.
If you use ArgoCD or Flux, pause their reconciliation loop while running okteto up, so they don’t keep scaling the original back up. See Is Okteto compatible with Flux/ArgoCD?