ComponentsAdding components


Adding components

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



  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

  5. Adding kubernetes component

  6. Adding container component

  7. Specifying persistent storage

  8. Limiting resources usage

  9. Defining environment variables

  10. Defining endpoints

  11. Defining kubernetes resources

Additional resources