Difference between kubectl exec and kubectl attach?
Limited Time Offer! For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly. Master DevOps, SRE, DevSecOps Skills! Enroll Now kubectl attach kubectl exec We can attach to the main process run by the container, which is not always bash. Which is the PID1. It allows us to execute any process within the container Attach to the one running (no choice) Run any command you want to execute.
Read more