kubectl cp

Copy files to/from pods

medium risk

interactive breakdown — edit the command and press Explain
$ 
⚠ Risks & cautions
What it does

Copies between local and a pod using tar.

Examples
kubectl cp prod/web-1:/var/log/app.log ./app.logCopy out · explain & risk-check →
Related
kubectl exec
Open the full explainer →More in Kubernetes & Helm

Reference text is hand-written and may be incomplete — check man kubectl for your version. Test destructive commands on a non-production system first.