Understanding common CLI commands
So far, we have introduced you to commands such as skaffold dev
and skaffold run
, but there are many such commands that you can use to either create an end-to-end pipeline or use individually in your CI/CD pipelines. We will categorize these commands into the following sections. You can also discover the supported options for these commands by enabling the skaffold completion bash/zsh
command and pressing Tab after entering the command:
- Commands for end-to-end pipelines:
skaffold run
: This command allows you to build and deploy once.skaffold dev
: This command allows you to trigger the continuous development loop for build and deploy. This workflow will clean up on exit.skaffold debug
: This command allows you to trigger the continuous development loop for build and deploy pipelines in debug mode. This workflow will also clean up on exit.
- Commands for CI/CD pipelines:
skaffold build
: This command allows you to just build, tag, and push your...