@@ -20,6 +20,39 @@ All you need is Docker (or similarly compatible) container or a Virtual Machine
20
20
21
21
<h2 class =" step " ><span class =" fa-stack fa-1x " ><i class =" fa fa-circle fa-stack-2x " ></i ><strong class =" fa-stack-1x text-primary " >1</strong ></span >Installation</h2 >
22
22
23
+ <script language =" javascript " >
24
+ const architectures = [
25
+ " Linux/x86-64" ,
26
+ " Linux/ARM64" ,
27
+ " Linux/ppc64" ,
28
+ " Linux/S390x" ,
29
+ " Linux/ARMv7" ,
30
+ " macOS/x86-64" ,
31
+ " macOS/ARM64" ,
32
+ " Windows/x86-64"
33
+ ];
34
+
35
+ console .time (" timerReleaseFetch" );
36
+ fetch (' https://api.github.com/repos/kubernetes/minikube/releases' )
37
+ .then ((response ) => response .json ())
38
+ .then ((releases ) => {
39
+ console .timeEnd (" timerReleaseFetch" );
40
+ if (releases && releases .length > 0 && releases[0 ] && releases[0 ].tag_name ) {
41
+ const isBetaMostRecent = releases[0 ].tag_name .includes (" -beta" );
42
+
43
+ if (isBetaMostRecent) {
44
+ for (architecture of architectures) {
45
+ const betaElement = document .querySelector (` button[data-quiz-id="/${ architecture} /Beta"]` );
46
+ if (betaElement) {
47
+ betaElement .classList .remove (" hide" );
48
+ }
49
+ }
50
+ }
51
+ }
52
+ })
53
+ .catch (console .error );
54
+ </script >
55
+
23
56
{{% card %}}
24
57
25
58
Click on the buttons that describe your target platform. For other architectures, see [ the release page] ( https://github.com/kubernetes/minikube/releases/latest ) for a complete list of minikube binaries.
@@ -33,7 +66,7 @@ Click on the buttons that describe your target platform. For other architectures
33
66
{{% /quiz_row %}}
34
67
35
68
{{% quiz_row base="/Linux/x86-64" name="Release type" %}}
36
- {{% quiz_button option="Stable" %}} {{% quiz_button option="Beta" %}}
69
+ {{% quiz_button option="Stable" %}} {{% quiz_button option="Beta" hide="true" %}}
37
70
{{% /quiz_row %}}
38
71
39
72
{{% quiz_row base="/Linux/x86-64/Stable" name="Installer type" %}}
@@ -45,7 +78,7 @@ Click on the buttons that describe your target platform. For other architectures
45
78
{{% /quiz_row %}}
46
79
47
80
{{% quiz_row base="/Linux/ARM64" name="Release type" %}}
48
- {{% quiz_button option="Stable" %}} {{% quiz_button option="Beta" %}}
81
+ {{% quiz_button option="Stable" %}} {{% quiz_button option="Beta" hide="true" %}}
49
82
{{% /quiz_row %}}
50
83
51
84
{{% quiz_row base="/Linux/ARM64/Stable" name="Installer type" %}}
@@ -57,7 +90,7 @@ Click on the buttons that describe your target platform. For other architectures
57
90
{{% /quiz_row %}}
58
91
59
92
{{% quiz_row base="/Linux/ppc64" name="Release type" %}}
60
- {{% quiz_button option="Stable" %}} {{% quiz_button option="Beta" %}}
93
+ {{% quiz_button option="Stable" %}} {{% quiz_button option="Beta" hide="true" %}}
61
94
{{% /quiz_row %}}
62
95
63
96
{{% quiz_row base="/Linux/ppc64/Stable" name="Installer type" %}}
@@ -69,7 +102,7 @@ Click on the buttons that describe your target platform. For other architectures
69
102
{{% /quiz_row %}}
70
103
71
104
{{% quiz_row base="/Linux/S390x" name="Release type" %}}
72
- {{% quiz_button option="Stable" %}} {{% quiz_button option="Beta" %}}
105
+ {{% quiz_button option="Stable" %}} {{% quiz_button option="Beta" hide="true" %}}
73
106
{{% /quiz_row %}}
74
107
75
108
{{% quiz_row base="/Linux/S390x/Stable" name="Installer type" %}}
@@ -81,7 +114,7 @@ Click on the buttons that describe your target platform. For other architectures
81
114
{{% /quiz_row %}}
82
115
83
116
{{% quiz_row base="/Linux/ARMv7" name="Release type" %}}
84
- {{% quiz_button option="Stable" %}} {{% quiz_button option="Beta" %}}
117
+ {{% quiz_button option="Stable" %}} {{% quiz_button option="Beta" hide="true" %}}
85
118
{{% /quiz_row %}}
86
119
87
120
{{% quiz_row base="/Linux/ARMv7/Stable" name="Installer type" %}}
@@ -97,7 +130,7 @@ Click on the buttons that describe your target platform. For other architectures
97
130
{{% /quiz_row %}}
98
131
99
132
{{% quiz_row base="/macOS/x86-64" name="Release type" %}}
100
- {{% quiz_button option="Stable" %}} {{% quiz_button option="Beta" %}}
133
+ {{% quiz_button option="Stable" %}} {{% quiz_button option="Beta" hide="true" %}}
101
134
{{% /quiz_row %}}
102
135
103
136
{{% quiz_row base="/macOS/x86-64/Stable" name="Installer type" %}}
@@ -109,7 +142,7 @@ Click on the buttons that describe your target platform. For other architectures
109
142
{{% /quiz_row %}}
110
143
111
144
{{% quiz_row base="/macOS/ARM64" name="Release type" %}}
112
- {{% quiz_button option="Stable" %}} {{% quiz_button option="Beta" %}}
145
+ {{% quiz_button option="Stable" %}} {{% quiz_button option="Beta" hide="true" %}}
113
146
{{% /quiz_row %}}
114
147
115
148
{{% quiz_row base="/macOS/ARM64/Stable" name="Installer type" %}}
@@ -125,7 +158,7 @@ Click on the buttons that describe your target platform. For other architectures
125
158
{{% /quiz_row %}}
126
159
127
160
{{% quiz_row base="/Windows/x86-64" name="Release type" %}}
128
- {{% quiz_button option="Stable" %}} {{% quiz_button option="Beta" %}}
161
+ {{% quiz_button option="Stable" %}} {{% quiz_button option="Beta" hide="true" %}}
129
162
{{% /quiz_row %}}
130
163
131
164
{{% quiz_row base="/Windows/x86-64/Stable" name="Installer type" %}}
0 commit comments