github.com/GoogleContainerTools/skaffold@v1.39.18/examples/profile-patches/README.md (about)

     1  ### Example: Getting started with a simple go app
     2  
     3  [![Open in Cloud Shell](https://gstatic.com/cloudssh/images/open-btn.svg)](https://ssh.cloud.google.com/cloudshell/editor?cloudshell_git_repo=https://github.com/GoogleContainerTools/skaffold&cloudshell_open_in_editor=README.md&cloudshell_workspace=examples/profile-patches)
     4  
     5  This is a simple show-case of how Skaffold profiles can be patched.
     6  Patched profiles e.g. can be used in development to provide a composable development setup.
     7  Here, a "base" service is always started. Two additional services "hello" and "world" can be activated via profiles.
     8  
     9  #### Init
    10  
    11  Use the `--profile` option to add profiles `skaffold dev --profile hello,world`
    12  
    13  #### Workflow
    14  
    15  * Build only the `base-service` when using the main profile
    16  * Build `hello` and/or `world` when specified via `-p` flag. Multiple `-p` flags are supported as well as comma separated values.