Typorithm · easy

skaffold dev

skaffold-devkubernetesinner-loopwatchport-forward
Saved on this device
Full lesson · 8 learning steps Open any exercise for focused practice
1

Step 1 of 8 · intro card

Learn skaffold dev

0%

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.

01

dev = watch → rebuild → redeploy → log, in a loop.

02

--port-forward exposes the app on localhost.

03

Ctrl-C deletes what dev deployed.

skaffold dev
skaffold dev --port-forward
skaffold dev --tail
# Ctrl-C cleans up deployed resources

Read the implementation

Connect each part of the code to the concept before you type.

1. Start the loop

skaffold dev watches files, then rebuilds, redeploys, and streams logs on every change.

skaffold dev

2. Forward ports

--port-forward maps service/pod ports to localhost so you can hit the app.

--port-forward

3. Stream logs

--tail streams container logs to your terminal during the loop.

--tail

4. Cleanup on exit

Pressing Ctrl-C stops dev and deletes the resources it deployed.

# Ctrl-C cleans up deployed resources

A complete learning loop

01

Understand

Read the concept map and follow the code breakdown.

02

Reconstruct

Type the implementation, repair mistakes and work through every recall exercise.

03

Verify

Use the final check without hints; revisit weak concepts in short practice sessions.

skaffold dev: Lesson & Practice · Typorithm | ApplyDjinn