We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
How to access postgres running on a pod with kubectl?
kubectl exec -it podname -- env PGPASSWORD=yourpgpassword psql -h yourpghostname -U yourpgusername yourpgdb
Copy file from a pod to your local
kubectl cp podname:yourfile.txt yourfile.txt