// Aula 11 - Acesso, comandos e cópias # kubectl port-forward kuard 8000:8000 # kubectl logs kuard # kubectl logs -f kuard # kubectl logs --previous kuard # kubectl exec kuard -- uptime # kubectl exec -it kuard -- ash # vim teste.txt # kubectl cp teste.txt kuard:/tmp/teste.txt # kubectl exec -it kuard -- ash $ cat /tmp/teste.txt $ vi /tmp/teste.txt $ exit # kubectl cp kuard:/tmp/teste.txt /root/teste.txt