skip to content
Alvin Lucillo

Skaffold wait for logs and stop scroll

/ 1 min read

💻 Tech

Today, I learned in Skaffold how to wait for the logs and stop the scroll.

  1. Enter :pods to see the pods.
  2. Select the pod and the container inside it. This will show the container logs.
  3. Auto-wrap and full screen are turned off by default, so enter f and w to turn them on.
  4. Press shift+c to clear the logs.
  5. When you see the logs, for example, after you sent a request to the server, enter s to stop the scroll.

Now, you can see the logs you want and analyze it. Just enter s again to resume the scroll.