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
1. Once that completes, you can access the admin console at http://localhost:30000
70
85
71
-
This step creates a release that is intended to be used for initial installation, not for upgrades.
72
-
It creates a release of the application using the manifests located in the `e2e/kots-release-install` directory.
73
-
It may take a few minutes to complete the first time as nothing is cached yet.
74
-
75
-
1. Create the first node:
86
+
**For Airgap:**
87
+
1. Create the release:
88
+
```bash
89
+
make initial-release UPLOAD_BINARIES=1
90
+
```
91
+
1. Build the air gap bundle manually in the Vendor Portal from the channel history page for your channel.
92
+
1. Create the node:
76
93
```bash
77
94
make create-node0
78
95
```
96
+
1. Follow the Embedded Cluster install instructions on the customer page.
97
+
1. Once that completes, you can access the admin console at http://localhost:30000
79
98
80
-
This command sets up the initial node for your cluster and SSHs into it.
99
+
**Notes:**
100
+
- It may take a few minutes to complete the first time as nothing is cached yet.
101
+
- The release will be created using the manifests located in the `e2e/kots-release-install` directory.
102
+
- The created release is intended to be used for initial installation, not for upgrades.
81
103
82
-
By default, a Debian-based node will be created. If you want to use a different distribution, you can set the `DISTRO` environment variable:
104
+
### V2 upgrades
105
+
106
+
**For Online:**
107
+
1. Create the release:
108
+
```bash
109
+
make upgrade-release
110
+
```
111
+
1. The release will show up in the KOTS admin console as an available update.
112
+
1. Deploy the update from the admin console version history page.
83
113
114
+
**For Airgap:**
115
+
1. Create the release:
84
116
```bash
85
-
make create-node0 DISTRO=almalinux-8
117
+
make upgrade-release
86
118
```
119
+
1. Build the air gap bundle manually in the Vendor Portal from the channel history page for your channel.
120
+
1. SSH into the node:
121
+
```bash
122
+
make ssh-node0
123
+
```
124
+
1. Run the download and extract commands from the install instructions on the customer page.
125
+
1. Run `sudo ./<app-slug> airgap update --airgap bundle` to upload the bundle to the KOTS admin console.
126
+
1. Deploy the update from the admin console version history page.
127
+
128
+
### V3 installs
87
129
88
-
To view the list of available distributions:
130
+
Embedded Cluster supports v3 releases which provide an enhanced manager UI experience for installations and upgrades. V3 releases are enabled by setting the `ENABLE_V3` environment variable.
89
131
132
+
**For Online:**
133
+
1. Create the release:
90
134
```bash
91
-
make list-distros
135
+
make initial-release ENABLE_V3=1
136
+
```
137
+
1. Create the node:
138
+
```bash
139
+
make create-node0
140
+
```
141
+
1. Install the release:
142
+
```bash
143
+
ENABLE_V3=1 EC_DEV_ENV=true output/bin/embedded-cluster install --license <license-file> --target linux
92
144
```
93
145
94
-
**Note:** The development environment automatically mounts both data directories to support v2 and v3:
**Note:** The release will be created using the manifests located in the `e2e/kots-release-upgrade-v3` directory.
197
+
198
+
**Required environment variables:**
199
+
- `ENABLE_V3=1` - **Required** to enable v3 functionality and manager UI experience
200
+
- `EC_DEV_ENV=true` - **Optional** for development mode, enables dynamic asset loading from `./web/dist` instead of embedded assets. This allows you to test web UI changes by simply running `npm run build` in the `web/` directory and refreshing the browser, without needing to rebuild the entire embedded-cluster binary or building a new release.
201
+
202
+
**Required flags:**
203
+
- `--target` - **Required** to specify the target platform. Valid options are `linux` or `kubernetes`
204
+
- `--license` - **Required** path to the license file
To create an upgrade release, run the following command:
139
-
```bash
140
-
make upgrade-release
141
-
```
142
-
143
-
This step creates a release that is intended to be used for upgrades.
144
-
It creates a release of the application using the manifests located in the `e2e/kots-release-upgrade` directory.
145
-
The release will show up in the KOTS admin console as an available update.
146
-
147
-
### Creating v3 releases
148
-
149
-
Embedded Cluster supports v3 releases which provide an enhanced manager UI experience for installations and upgrades. V3 releases are enabled by setting the `ENABLE_V3` environment variable.
150
-
151
-
#### Creating a v3 initial release
232
+
### Creating additional nodes
152
233
153
-
To create a v3 initial release, run the following command:
234
+
To create additional nodes, run the following command:
154
235
```bash
155
-
make initial-release ENABLE_V3=1
236
+
make create-node<node-number>
156
237
```
157
238
158
-
This creates a release using the manifests located in the `e2e/kots-release-install-v3` directory.
159
-
160
-
#### Creating a v3 upgrade release
161
-
162
-
To create a v3 upgrade release, run the following command:
239
+
For example:
163
240
```bash
164
-
make upgrade-release ENABLE_V3=1
241
+
make create-node1
165
242
```
166
243
167
-
This creates a release using the manifests located in the `e2e/kots-release-upgrade-v3` directory.
168
-
169
-
#### Installing a v3 release
170
-
171
-
When using v3 releases, the install and upgrade commands are different from the standard commands:
244
+
These additional nodes can either be joined to your existing Embedded Cluster installation, or used to set up separate, independent Embedded Cluster instances.
172
245
173
-
**Install command:**
174
-
```bash
175
-
ENABLE_V3=1 EC_DEV_ENV=true output/bin/embedded-cluster install --license <license-file> --target linux
176
-
```
246
+
By default, a Debian-based node will be created. If you want to use a different distribution, you can set the `DISTRO` environment variable:
177
247
178
-
**Upgrade command:**
179
248
```bash
180
-
ENABLE_V3=1 EC_DEV_ENV=true output/bin/embedded-cluster upgrade --license <license-file> --target linux
249
+
make create-node0 DISTRO=almalinux-8
181
250
```
182
251
183
-
**Required environment variables:**
184
-
- `ENABLE_V3=1` -**Required** to enable v3 functionality and manager UI experience
185
-
- `EC_DEV_ENV=true` -**Optional** for development mode, enables dynamic asset loading from `./web/dist` instead of embedded assets. This allows you to test web UI changes by simply running `npm run build` in the `web/` directory and refreshing the browser, without needing to rebuild the entire embedded-cluster binary or building a new release.
252
+
To view the list of available distributions:
186
253
187
-
**Required flags:**
188
-
- `--target` -**Required** to specify the target platform. Valid options are `linux` or `kubernetes`
189
-
- `--license` -**Required** path to the license file
190
-
191
-
### Creating additional nodes
192
-
193
-
To create additional nodes, run the following command:
194
254
```bash
195
-
make create-node<node-number>
255
+
make list-distros
196
256
```
197
257
198
-
For example:
199
-
```bash
200
-
make create-node1
201
-
```
258
+
**Note:** The development environment automatically mounts both data directories to support v2 and v3:
-**v3 mode:** Uses `/var/lib/{app-slug}/k0s` (determined from `REPLICATED_APP`)
202
261
203
-
These additional nodes can either be joined to your existing Embedded Cluster installation, or used to set up separate, independent Embedded Cluster instances.
262
+
Both directories are mounted automatically, so the embedded cluster binary can use whichever one it needs without any manual configuration.
0 commit comments