How do I get the --watch flag to work on OSX command line? How do I get the --watch flag to work on OSX command line? kubernetes kubernetes

How do I get the --watch flag to work on OSX command line?


The function of argument --watch is just watching the status changes like you said. If you want to see the logs of your command and following it, use this command:

kubectl logs -l app=[your_deployment_name] --follow