Authoring devfiles - Components
Adding components
Each component in a single devfile must have a unique name and use one of the objects: container
, kubernetes
, openshift
, image
or volume
.
Prerequisites
Procedure
Add a
components
section in the devfile, containing a list of one or more components.For each component, define a unique value for the mandatory
name
property.Define one of the following types for the component:
kubernetes
,container
,openshift
,image
, orvolume
.