@@ -93,7 +93,32 @@ Palette. You will then create a cluster profile and use the registered host to d
93
93
export TOKEN=< your-palette-registration-token>
94
94
```
95
95
96
- 3 . Issue the command below to create the ** user-data** file and configure your host declaratively.
96
+ 3 . (Optional) If you are not installing the agent on a host that accesses the internet via a proxy, skip this step.
97
+
98
+ If you are installing the agent on a host that accesses the internet via a network proxy, export the proxy
99
+ configurations in your current terminal session. We recommend exporting the variables both in uppercase and lowercase
100
+ to ensure compatibility. Replace ` <httpProxyAddress> ` and ` <httpsProxyAddress> ` with the address and port to your
101
+ HTTP and HTTPS proxy servers, respectively.
102
+
103
+ ``` shell
104
+ export http_proxy=< httpProxyAddress>
105
+ export https_proxy=< httpsProxyAddress>
106
+ export HTTP_PROXY=< httpProxyAddress>
107
+ export HTTPS_PROXY=< httpsProxyAddress>
108
+ ```
109
+
110
+ 4 . Issue the command below to create the ** user-data** file and configure your host declaratively.
111
+
112
+ ::: info
113
+
114
+ If your host needs a proxy to access the internet, you need to provide the proxy configurations in the user data as
115
+ well. For more information, refer to
116
+ [ Site Network Parameters] ( ../../clusters/edge/edge-configuration/installer-reference.md#site-network-parameters ) .
117
+
118
+ Alternatively, you can install the agent first and configure proxy in Local UI. For more information, refer to
119
+ [ Configure HTTP Proxy] ( ../../clusters/edge/local-ui/host-management/configure-proxy.md ) .
120
+
121
+ :::
97
122
98
123
The following configuration includes the default Palette endpoint, a registration token, and sets up the ` kairos `
99
124
user. The host will not shut down and will reboot after the agent installation, with
@@ -153,13 +178,13 @@ Palette. You will then create a cluster profile and use the registered host to d
153
178
passwd: kairos
154
179
` ` `
155
180
156
- 4 . Export the path to your user data file.
181
+ 5 . Export the path to your user data file.
157
182
158
183
` ` ` shell
159
184
export USERDATA=./user-data
160
185
` ` `
161
186
162
- 5 . Download the latest version of the Palette agent installation script.
187
+ 6 . Download the latest version of the Palette agent installation script.
163
188
164
189
` ` ` shell
165
190
curl --location --output ./palette-agent-install.sh https://github.com/spectrocloud/agent-mode/releases/latest/download/palette-agent-install.sh
@@ -184,13 +209,13 @@ Palette. You will then create a cluster profile and use the registered host to d
184
209
curl --location --output ./palette-agent-install.sh https://github.com/spectrocloud/agent-mode/releases/download/<stylus-version>/palette-agent-install.sh
185
210
```
186
211
187
- 6 . Grant execution permissions to the `install.sh` script.
212
+ 7 . Grant execution permissions to the `install.sh` script.
188
213
189
214
```shell
190
215
chmod +x ./palette-agent-install.sh
191
216
```
192
217
193
- 7 . Issue the following command to install the agent on your host.
218
+ 8 . Issue the following command to install the agent on your host.
194
219
195
220
```shell
196
221
sudo --preserve-env ./palette-agent-install.sh
@@ -204,36 +229,36 @@ Palette. You will then create a cluster profile and use the registered host to d
204
229
Connection to 192.168.1.100 closed.
205
230
```
206
231
207
- 8 . Upon agent installation, the host will reboot to the registration screen and use the provided `EdgeHostToken` for
232
+ 9 . Upon agent installation, the host will reboot to the registration screen and use the provided `EdgeHostToken` for
208
233
automatic registration with Palette. The host will be registered in the same project where the registration token was
209
234
created.
210
235
211
- 9 . Log in to [Palette](https://console.spectrocloud.com/) and select **Clusters** from the left **Main Menu**.
236
+ 10 . Log in to [Palette](https://console.spectrocloud.com/) and select **Clusters** from the left **Main Menu**.
212
237
213
- 10 . Select the **Edge Hosts** tab and verify your host is displayed and marked as **Healthy** in the Edge hosts list.
238
+ 11 . Select the **Edge Hosts** tab and verify your host is displayed and marked as **Healthy** in the Edge hosts list.
214
239
215
- 11 . Once the host has been registered with Palette, proceed with the cluster profile creation. Select **Profiles** from
240
+ 12 . Once the host has been registered with Palette, proceed with the cluster profile creation. Select **Profiles** from
216
241
the left **Main Menu**.
217
242
218
- 12 . Click on **Add Cluster Profile**.
243
+ 13 . Click on **Add Cluster Profile**.
219
244
220
- 13 . In the **Basic Information** section, assign the a profile name, a description, and tags. Select the type as
245
+ 14 . In the **Basic Information** section, assign the a profile name, a description, and tags. Select the type as
221
246
**Full** and click **Next**.
222
247
223
- 14 . Select **Edge Native** as the **Cloud Type** and click **Next**.
248
+ 15 . Select **Edge Native** as the **Cloud Type** and click **Next**.
224
249
225
- 15 . The **Profile Layers** section specifies the packs that compose the profile. Add the **BYOS Edge OS** pack version
250
+ 16 . The **Profile Layers** section specifies the packs that compose the profile. Add the **BYOS Edge OS** pack version
226
251
**2.0.0** to the OS layer.
227
252
228
- 16 . Click **Values** under **Pack Details**, then click on **Presets** on the right-hand side. Select **Agent Mode**.
253
+ 17 . Click **Values** under **Pack Details**, then click on **Presets** on the right-hand side. Select **Agent Mode**.
229
254
230
255

231
256
232
- 17 . Click **Next Layer** to continue.
257
+ 18 . Click **Next Layer** to continue.
233
258
234
- 18 . Complete the cluster profile creation process by filling out the remaining layers.
259
+ 19 . Complete the cluster profile creation process by filling out the remaining layers.
235
260
236
- 19 . Follow the steps in the [Create Cluster Definition](../../clusters/edge/site-deployment/model-profile.md) guide to
261
+ 20 . Follow the steps in the [Create Cluster Definition](../../clusters/edge/site-deployment/model-profile.md) guide to
237
262
deploy a cluster using your registered host as a cluster node.
238
263
239
264
</TabItem>
@@ -285,15 +310,30 @@ internet.
285
310
export USERDATA=./user-data
286
311
` ` `
287
312
288
- 4. Download the agent installation image from a host with internet access and export it to a TAR file. Replace
313
+ 4. (Optional) If you are not accessing the internet via a proxy, skip this step.
314
+
315
+ If you are downloading the agent on a host that accesses the internet via a proxy network, export the proxy
316
+ configurations in your current terminal session so that the script downloading the agent binary can execute
317
+ successfully. We recommend exporting the variables both in uppercase and lowercase to ensure compatibility. Replace
318
+ ` <httpProxyAddress>` and ` <httpsProxyAddress>` with the address and port to your HTTP and HTTPS proxy servers,
319
+ respectively.
320
+
321
+ ` ` ` shell
322
+ export http_proxy=<httpProxyAddress>
323
+ export https_proxy=<httpsProxyAddress>
324
+ export HTTP_PROXY=<httpProxyAddress>
325
+ export HTTPS_PROXY=<httpsProxyAddress>
326
+ ` ` `
327
+
328
+ 5. Download the agent installation image from a host with internet access and export it to a TAR file. Replace
289
329
` <architecture>` with the architecture of your CPU. If you have ARM64, use ` arm64` . If you have AMD64 or x86_64, use
290
330
` amd64` . Replace ` <version>` with the desired version number. In this example, we use ` v4.5.0` .
291
331
292
332
` ` ` shell
293
333
crane pull us-docker.pkg.dev/palette-images/edge/stylus-agent-mode-linux-<architecture>:<version> agent-image.tar
294
334
` ` `
295
335
296
- 5 . Issue the following command from a host with internet access to download the agent binary and name the binary
336
+ 6 . Issue the following command from a host with internet access to download the agent binary and name the binary
297
337
` palette-agent` . Replace ` <architecture>` with the architecture of your CPU. If you have ARM64, use ` arm64` . If you
298
338
have AMD64 or x86_64, use ` amd64` . Replace ` <version>` with the desired version number. In this example, we use
299
339
` v4.5.0` .
@@ -303,16 +343,16 @@ internet.
303
343
curl --verbose --location $URL --output palette-agent
304
344
` ` `
305
345
306
- 6 . Issue the following command to make the binary executable.
346
+ 7 . Issue the following command to make the binary executable.
307
347
308
348
` ` ` shell
309
349
chmod +x palette-agent
310
350
` ` `
311
351
312
- 7 . Copy the agent binary as well as the agent image TAR file from your host with internet access to the host where you
352
+ 8 . Copy the agent binary as well as the agent image TAR file from your host with internet access to the host where you
313
353
want to install the Palette agent.
314
354
315
- 8 . Issue the following command to install the agent on your host. Replace ` <image-tag>` with the tag of the installation
355
+ 9 . Issue the following command to install the agent on your host. Replace ` <image-tag>` with the tag of the installation
316
356
image. If your user data is not in the current directory, replace ` ./user-data` with the path to your user data file.
317
357
If your agent image TAR file is not in the current directory, replace ` ./agent-image.tar` with the path to your image
318
358
TAR file.
@@ -329,30 +369,30 @@ internet.
329
369
Connection to 192.168.1.100 closed.
330
370
` ` `
331
371
332
- 9 . Log in to [Palette](https://console.spectrocloud.com/) and select **Clusters** from the left ** Main Menu** .
372
+ 10 . Log in to [Palette](https://console.spectrocloud.com/) and select **Clusters** from the left ** Main Menu** .
333
373
334
- 10 . Select the ** Edge Hosts** tab and verify your host is displayed and marked as ** Healthy** in the Edge hosts list.
374
+ 11 . Select the ** Edge Hosts** tab and verify your host is displayed and marked as ** Healthy** in the Edge hosts list.
335
375
336
- 11 . Once the host has been registered with Palette, proceed with the cluster profile creation. Select ** Profiles** from
376
+ 12 . Once the host has been registered with Palette, proceed with the cluster profile creation. Select ** Profiles** from
337
377
the left ** Main Menu** .
338
378
339
- 12 . Click on ** Add Cluster Profile** .
379
+ 13 . Click on ** Add Cluster Profile** .
340
380
341
- 13 . In the ** Basic Information** section, assign the a profile name, a description, and tags. Select the type as
381
+ 14 . In the ** Basic Information** section, assign the a profile name, a description, and tags. Select the type as
342
382
** Full** and click ** Next** .
343
383
344
- 14 . Select ** Edge Native** as the ** Cloud Type** and click ** Next** .
384
+ 15 . Select ** Edge Native** as the ** Cloud Type** and click ** Next** .
345
385
346
- 15 . The ** Profile Layers** section specifies the packs that compose the profile. Add the ** BYOS Edge OS** pack version
386
+ 16 . The ** Profile Layers** section specifies the packs that compose the profile. Add the ** BYOS Edge OS** pack version
347
387
** 2.0.0** to the OS layer.
348
388
349
- 16 . Click ** Values** under ** Pack Details** , then click on ** Presets** on the right-hand side. Select ** Agent Mode** .
389
+ 17 . Click ** Values** under ** Pack Details** , then click on ** Presets** on the right-hand side. Select ** Agent Mode** .
350
390
351
391
! [View of the cluster profile creation page with the BYOS pack.](/deployment-modes_agent-mode_byos-pack.webp)
352
392
353
- 17 . Click ** Next Layer** to continue.
393
+ 18 . Click ** Next Layer** to continue.
354
394
355
- 18 . In the ** Kubernetes** layer, under ` cluster.config.kube-apiserver-arg` , remove ` AlwaysPullImages` from the list item
395
+ 19 . In the ** Kubernetes** layer, under ` cluster.config.kube-apiserver-arg` , remove ` AlwaysPullImages` from the list item
356
396
` enable-admission-plugins` :
357
397
358
398
` ` ` yaml {7}
@@ -365,28 +405,28 @@ internet.
365
405
- enable-admission-plugins=NamespaceLifecycle,ServiceAccount,NodeRestriction
366
406
` ` `
367
407
368
- 19 . Complete the cluster profile creation process by filling out the remaining layers. In the application layer, make
408
+ 20 . Complete the cluster profile creation process by filling out the remaining layers. In the application layer, make
369
409
sure you include the ** Harbor Edge-Native Config** pack. This pack is required for airgapped clusters.
370
410
371
- 20 . Follow the steps in
411
+ 21 . Follow the steps in
372
412
[Export Cluster Definition](../../clusters/edge/local-ui/cluster-management/export-cluster-definition.md) to export
373
413
a cluster definition of your profile. You will use this cluster definition later when you create the cluster in
374
414
Local UI.
375
415
376
- 21 . (Optional) If your host has access to all the images referenced by your cluster profile, you may skip this step.
416
+ 22 . (Optional) If your host has access to all the images referenced by your cluster profile, you may skip this step.
377
417
378
418
Follow the steps in
379
419
[Build Content Bundles](../../clusters/edge/edgeforge-workflow/palette-canvos/build-content-bundle.md) to build a
380
420
content bundle for your cluster profile. The content bundle will contain all the artifacts required to create your
381
421
cluster and it will allow you to create a cluster even if your host has no access to an external image registry.
382
422
383
- 22 . Log in to [Local UI](../../clusters/edge/local-ui/host-management/access-console.md).
423
+ 23 . Log in to [Local UI](../../clusters/edge/local-ui/host-management/access-console.md).
384
424
385
- 23 . Follow the steps in
425
+ 24 . Follow the steps in
386
426
[Upload Content Bundles](../../clusters/edge/local-ui/cluster-management/upload-content-bundle.md) to upload the
387
427
content bundle to your host.
388
428
389
- 24 . Follow the steps in [Create Local Cluster](../../clusters/edge/local-ui/cluster-management/create-cluster.md) to use
429
+ 25 . Follow the steps in [Create Local Cluster](../../clusters/edge/local-ui/cluster-management/create-cluster.md) to use
390
430
the cluster definition you exported previously to create a cluster.
391
431
392
432
< /TabItem>
0 commit comments