1. Start the loop
skaffold dev watches files, then rebuilds, redeploys, and streams logs on every change.
skaffold devTyporithm · easy
Step 1 of 8 · intro card
Skaffold & Dev
skaffold dev is the inner loop: it watches your source, then rebuilds, redeploys, and streams logs on every save; --port-forward exposes the app on localhost, and Ctrl-C tears everything back down.
skaffold dev runs a continuous develop loop — build, push, deploy, then watch for file changes and repeat — so editing code reflects in the cluster within seconds.
Add --port-forward to reach Services and pods at localhost, and rely on streamed logs to debug each iteration without separate kubectl logs calls.
When you stop with Ctrl-C, Skaffold cleans up the resources it deployed, leaving the cluster as it found it.
dev = watch → rebuild → redeploy → log, in a loop.
--port-forward exposes the app on localhost.
Ctrl-C deletes what dev deployed.
skaffold dev
skaffold dev --port-forward
skaffold dev --tail
# Ctrl-C cleans up deployed resourcesConnect each part of the code to the concept before you type.
skaffold dev watches files, then rebuilds, redeploys, and streams logs on every change.
skaffold dev--port-forward maps service/pod ports to localhost so you can hit the app.
--port-forward--tail streams container logs to your terminal during the loop.
--tailPressing Ctrl-C stops dev and deletes the resources it deployed.
# Ctrl-C cleans up deployed resourcesRead the concept map and follow the code breakdown.
Type the implementation, repair mistakes and work through every recall exercise.
Use the final check without hints; revisit weak concepts in short practice sessions.