This is a simple show-case of Skaffold profiles
Use the --profile option to enable a particular profile skaffold dev --profile staging-profile
- Build only the
world-servicewhen using the main profile - Activate
minikube-profileautomatically when the current context isminikube. Only build thehello-servicein that case. - Build both services when the
staging-profileis used. Override the kube-context tostagingin that case.