Answers for "kubectl get logs container"

1

kubectl get logs of deployment

kubectl logs -f deployment/<name-of-deployment>
or
kubectl logs deployment/<name-of-deployment>
Posted by: Guest on November-03-2020
0

kubectl logs with grep

kubectl log bino | grep "error unable-to-access-website" >> John/Doe/Bino/log.txt
Posted by: Guest on May-23-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language