This section describes differences between stacks in Che 6.x and devfiles in Che 7.9
Starting with Che 7.9:
-
A stack is a pre-configured Che workspace.
-
A devfile is a configuration YAML file that Che consumes and transforms in a cloud workspace composed of multiple containers.
In Che 6.x, stacks were defined by a stacks.json file that was included with the che server.
In contrast, in Che 7.9, the stacks.json file does not exist. Instead, a stack is defined in the devfile registry, which is a separate service. Every single devfile in the registry corresponds to a stack.
Note that in Che 6.x, stacks and workspaces were defined using two different formats. However, with Che 7.9, the devfile format is used to define both. Nevertheless, a user opening the user dashboard does not notice any difference: in Che 7.9, a list of stacks is still present to choose from as a starting point to create a workspace.