-
Notifications
You must be signed in to change notification settings - Fork 0
/
k3i.tape
113 lines (97 loc) · 1.33 KB
/
k3i.tape
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
## howto build
# - become root (e.g. sudo su)
# - VHS_NO_SANDBOX="true" vhs < k3i.tape && chmod 666 k3i.gif
# Where should we write the GIF?
Output k3i.gif
Set FontSize 15
Set Width 1200
Set Height 750
# Start
Type "k3i"
Sleep 800ms
Enter
Sleep 5s
# Clear
Hide
Type "clear"
Enter
Show
# List
Type "k3i list"
Sleep 500ms
Enter
Sleep 3s
# Create help
Type "k3i create --help"
Sleep 500ms
Enter
Sleep 3s
# Create
Type "k3i create demo"
Sleep 500ms
Enter
Sleep 25s
# List
Type "k3i list"
Sleep 500ms
Enter
Sleep 3s
# shell
Type "k3i shell demo demo-w-0"
Sleep 500ms
Enter
Sleep 7s
Type "ifconfig eth0"
Sleep 500ms
Enter
Sleep 3s
Type "exit"
Sleep 500ms
Enter
Sleep 2s
# kubeconfig
Type "k3i kubeconfig demo --write"
Sleep 500ms
Enter
Sleep 3s
# Export kubeconfig
Type "export KUBECONFIG=./kubeconfig.demo.yaml"
Sleep 500ms
Enter
Sleep 3s
# Cluster info
Type "kubectl cluster-info"
Sleep 500ms
Enter
Sleep 3s
# Cluster nodes
Type "kubectl get nodes"
Sleep 500ms
Enter
Sleep 3s
# Wait
Type "Lets wait a few seconds for the cluster to become ready"
Sleep 5s
Backspace 55
# Cluster nodes
Type "kubectl get nodes -o wide"
Sleep 500ms
Enter
Sleep 5s
# # delete help
# Type "k3i delete --help"
# Sleep 500ms
# Enter
# Sleep 7s
#
# # delete
# Type "k3i delete"
# Sleep 500ms
# Enter
# Sleep 7s
#
# # List
# Type "k3i list"
# Sleep 500ms
# Enter
# Sleep 3s