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
> **💡 Tip**: If you need to use alternative container registries or package mirrors, see [Mirror Configuration](deploy/README.md#mirror-configuration).
84
87
## Manual Installation
85
88
86
89
For users who prefer step-by-step manual installation or need more control over the deployment process:
@@ -143,6 +146,9 @@ Current environments are set up as `RESOURCE_IMAGES` in `runtime/jupyterhub/file
Copy file name to clipboardExpand all lines: deploy/README.md
+65Lines changed: 65 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -46,6 +46,8 @@ cd aup-learning-cloud
46
46
47
47
A simplified deployment for development, demos, or small-scale teaching environments.
48
48
49
+
> **💡 Tip**: If you need to use alternative container registries or package mirrors, see [Mirror Configuration](#mirror-configuration).
50
+
49
51
### Prerequisites
50
52
51
53
**Hardware**
@@ -445,3 +447,66 @@ echo $PATH
445
447
446
448
# Reinstall helm if needed (see Step 2 in deployment guides above)
447
449
```
450
+
451
+
---
452
+
453
+
## Advanced Configuration
454
+
455
+
### Offline / Portable Operation
456
+
457
+
The single-node deployment script automatically configures the system for offline and portable operation. When you run `./single-node.sh install`, it:
458
+
459
+
1. **Creates a dummy network interface** (`dummy0`) with a stable IP address (`10.255.255.1`)
460
+
2. **Binds K3s to the dummy interface** using `--node-ip` and `--flannel-iface`
461
+
3. **Pre-pulls all required container images** to local storage
462
+
4. **Configures K3s to use local images** from `/var/lib/rancher/k3s/agent/images/`
463
+
464
+
This ensures the cluster remains fully functional even when:
465
+
- External network is disconnected (network cable unplugged)
466
+
- WiFi network changes (connecting to different access points)
467
+
- No network is available at all
468
+
469
+
**How it works**: K3s is bound to a stable dummy interface IP instead of the physical network interface. This means K3s doesn't care about external network changes - it always uses the same internal IP for cluster communication.
If you need to use alternative mirrors for container registries or package managers, you can configure them via environment variables when running the deployment script.
476
+
477
+
#### Container Registry Mirror
478
+
479
+
Set `MIRROR_PREFIX` to use a registry mirror that supports the **universal prefix mode**. The prefix will be prepended to all container image references:
> **Note**: This configuration works with registry mirrors that support the universal prefix pattern (e.g., `mirror/registry.k8s.io/image`). Some mirror services use per-registry subdomains instead (e.g., `k8s.mirror.org/image`), which require manual K3s registry configuration. See [K3s Private Registry Configuration](https://docs.k3s.io/installation/private-registry) for details.
489
+
490
+
#### Package Manager Mirrors
491
+
492
+
Set `MIRROR_PIP` and `MIRROR_NPM` to use alternative package repositories during image builds:
0 commit comments