Commit dc46aa0 1 parent 4f7807c commit dc46aa0 Copy full SHA for dc46aa0
File tree 4 files changed +25
-3
lines changed
4 files changed +25
-3
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ Follow the [instructions](https://book.kubebuilder.io/quick-start.html#installat
18
18
19
19
See the [ Getting Started] ( https://book.kubebuilder.io/quick-start.html ) documentation.
20
20
21
- ![ Quick Start] ( docs/gif/quickstart-1.0 .0.gif )
21
+ ![ Quick Start] ( docs/gif/kb-demo.v2 .0.1.svg )
22
22
23
23
## Documentation
24
24
Original file line number Diff line number Diff line change @@ -8,3 +8,24 @@ cd /tmp/kb-demo
8
8
DEMO_AUTO_RUN=1 ./run.sh
9
9
10
10
```
11
+
12
+ Instructions for producing the demo movie:
13
+
14
+ ``` sh
15
+
16
+ # Create temporary directory
17
+ mkdir /tmp/kb-demo
18
+ cd /tmp/kb-demo
19
+
20
+ asciinema rec
21
+ < path-to-KB-repo> /scripts/demo/run.sh
22
+
23
+ < CTRL-C> to terminate the script
24
+ < CTRL-D> to terminate the asciinema recording
25
+ < CTRL-C> to save the recording locally
26
+
27
+ # Edit the recorded file by editing the controller-gen path
28
+ # Once you are happy with the recording, use svg-term program to generate the svg
29
+
30
+ svg-term --cast=< movie-id> --out demo.svg --window
31
+ ```
Original file line number Diff line number Diff line change @@ -27,15 +27,15 @@ desc "Examine scaffolded files..."
27
27
run " tree ."
28
28
clear
29
29
30
- desc " Let's create cronjob api"
30
+ desc " Create our custom cronjob api"
31
31
run " kubebuilder create api --group batch --version v1 --kind CronJob"
32
32
clear
33
33
34
34
desc " Let's take a look at the API and Controller files"
35
35
run " tree ./api ./controllers"
36
36
clear
37
37
38
- desc " Install CRD in Kubernetes cluster"
38
+ desc " Install CRDs in Kubernetes cluster"
39
39
run " make install"
40
40
clear
41
41
You can’t perform that action at this time.
0 commit comments