Adding components to a devfile

Each component in a single devfile must have a unique name.

Procedure
  1. Add a components section in the devfile, containing a list of one or more components.

  2. For each component, define an unique value for the mandatory name attribute.

  3. For each component, define a mandatory type of one of the following types: plugin, kubernetes or container.

  4. Adding plugin component to a devfile

  5. Adding kubernetes component to a devfile

  6. Adding container components to a devfile

  7. Specifying persistent storage

  8. Limiting resources usage

  9. Defining environment variables

  10. Defining endpoints

  11. Defining Kubernetes resources

Additional resources