Skip to content

Commit 395f237

Browse files
authored
Merge pull request #45 from Stellatarum/rancher-air-gapped-installation
Add instructions for installing on Rancher in air-gapped environment
2 parents c65e934 + a284fbe commit 395f237

1 file changed

Lines changed: 49 additions & 0 deletions

File tree

README.md

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,55 @@ This is a Docker/[Rancher Machine](https://github.com/rancher/machine) driver fo
2424

2525
1. Go to `Cluster Management > Drivers > Node Drivers > Pve > Edit config` and add your Proxmox domain to `Whitelist Domains`
2626

27+
### Rancher in air-gapped environment
28+
29+
1. Download all required files on your jump machine:
30+
31+
1. Set a variable with version to download (see [releases](https://github.com/Stellatarum/docker-machine-driver-pve/releases) for available versions):
32+
33+
```sh
34+
export PVE_NODE_DRIVER_VERSION="1.0.0"
35+
```
36+
37+
1. Add Helm repository:
38+
39+
```sh
40+
helm repo add pve-node-driver https://stellatarum.github.io/docker-machine-driver-pve
41+
```
42+
43+
1. Download the Helm Chart:
44+
45+
```sh
46+
helm pull pve-node-driver/pve-node-driver --version "${PVE_NODE_DRIVER_VERSION}"
47+
```
48+
49+
1. Download driver binary:
50+
51+
```sh
52+
wget $(helm show values --jsonpath "{.nodeDriver.url}" "./pve-node-driver-${PVE_NODE_DRIVER_VERSION}.tgz")
53+
```
54+
55+
1. Download UI Extension:
56+
57+
```sh
58+
mkdir -p ./ui-extension/plugin \
59+
&& wget --directory-prefix=$PWD/ui-extension $(helm show values --jsonpath "{.uiPlugin.endpoint}" "./pve-node-driver-${PVE_NODE_DRIVER_VERSION}.tgz")/files.txt \
60+
&& wget --directory-prefix=$PWD/ui-extension/plugin --base $(helm show values --jsonpath "{.uiPlugin.endpoint}" "./pve-node-driver-${PVE_NODE_DRIVER_VERSION}.tgz")/ -i $PWD/ui-extension/files.txt
61+
```
62+
63+
1. Upload driver binary and UI Extension to a HTTP server within your environment
64+
65+
1. Install the Helm Chart with following values adjusted:
66+
67+
```yaml
68+
nodeDriver:
69+
url: >-
70+
<YOUR URL>/docker-machine-driver-pve
71+
uiPlugin:
72+
endpoint: >-
73+
<YOUR URL>/ui-extension
74+
```
75+
2776
### Docker/Rancher Machine
2877

2978
Download `docker-machine-driver-pve` from [latest release](https://github.com/Stellatarum/docker-machine-driver-pve/releases/latest) and put it in your `PATH`.

0 commit comments

Comments
 (0)