You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/HOWTOs/create-incremental-labs.md
+11-1Lines changed: 11 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
# How to Create Incremental Labs
1
+
# HOW TO Create Incremental Labs
2
2
3
3
This guide shows you how to create incremental labs that provide a seamless learning experience across multiple lab environments in Kubernetes training courses.
4
4
@@ -36,6 +36,7 @@ compute-environments/
36
36
```
37
37
38
38
Two key scripts control VM configuration:
39
+
39
40
-`build.sh`: Runs during VM image creation to establish the base state
40
41
-`setup.sh`: Runs when the VM starts up for runtime configuration
41
42
@@ -44,11 +45,13 @@ Two key scripts control VM configuration:
44
45
To create an incremental lab that follows a previous lab:
45
46
46
47
1. Identify the end state of the previous lab by reviewing:
48
+
47
49
- Lab instructions from the previous section
48
50
- Expected actions performed by the learner
49
51
- Final state of all systems involved
50
52
51
53
2. Decide which configurations belong in `build.sh` vs. `setup.sh`:
54
+
52
55
- Use `build.sh` for persistent changes that can be baked into the VM
53
56
- Use `setup.sh` for configuration that must occur at runtime
54
57
@@ -119,6 +122,7 @@ Let's look at a concrete example of creating incremental labs across a two-part
119
122
Learners set up a Kubernetes cluster from scratch in the first lab.
120
123
121
124
**VM Configuration for Lab 3.1:**
125
+
122
126
- Minimal setup required as learners build the cluster themselves
123
127
- Simple `build.sh` scripts to prepare the environment
0 commit comments