This is a simple show-case of how Skaffold profiles can be patched. Patched profiles e.g. can be used in development to provide a composable development setup. Here, a "base" service is always started. Two additional services "hello" and "world" can be activated via profiles.
Use the --profile option to add profiles skaffold dev --profile hello,world
- Build only the
base-servicewhen using the main profile - Build
helloand/orworldwhen specified via-pflag. Multiple-pflags are supported as well as comma separated values.