Creating Courses
Lab References
A course lab reference is a two-field YAML file that embeds an existing POV Demo lab into a course. The labSlug identifies the target lab. This is a course reference, not a standalone lab definition.
lab.yml in Courses
Place a lab.yml file inside a content item directory within your course to reference a lab:
labSlug: "kubernetes-pods-and-deployments"
labTitle: "Kubernetes: Pods and Deployments"Required Fields
Both fields must be non-empty. Unlike a standalone lab definition, this course-reference file has no type field or lab infrastructure, task, and script configuration.
| Field | Type | Description |
|---|---|---|
labSlug | string | The target lab slug. The course loader and validator do not verify that the target lab exists. |
labTitle | string | Stored as the course item title. |
Lab Integration Flow
The course CLI records the lab slug and title in the course bundle. It does not define the learner runtime or lab-completion flow:
- 1Create the standalone lab separately using the lab authoring workflow.
- 2Add a course lab.yml with its labSlug and learner-facing labTitle.
- 3Validate and push the course bundle.
Best practice
Align each lab's activities with the learning objectives of the course section it's in. Labs work best when they immediately follow the lessons that introduced the concepts being practiced.
