Updated airgap.md with steps to setup rancher and harvester in air-gapped env#371
Open
LucasSaintarbor wants to merge 5 commits intoharvester:mainfrom
Open
Conversation
Contributor
Author
|
Referencing #137 (comment), should 4. Install Rancher be added to the beginning of the section "Deploy Rancher on K3s and setup private registry in another VM" or should this link replace these steps? |
vickyhella
reviewed
Aug 21, 2023
|
|
||
| The Harvester ISO image contains all the packages to make it work in an air gapped environment. | ||
|
|
||
| ## Working without HTTP Proxy |
Contributor
There was a problem hiding this comment.
Suggested change
| ## Working without HTTP Proxy | |
| ## Working without HTTP proxy |
| 1. Edit [settings.yml](https://github.com/harvester/ipxe-examples/blob/c8267b6270660255bf71149a1fef3a7a914550de/vagrant-pxe-harvester/settings.yml#L44) and set `offline: true`. | ||
| 1. Execute the [setup_harvester.sh](https://github.com/harvester/ipxe-examples/blob/main/vagrant-pxe-harvester/setup_harvester.sh) script. | ||
|
|
||
| ### Deploy Rancher on K3s and setup private registry in another VM |
Contributor
There was a problem hiding this comment.
Suggested change
| ### Deploy Rancher on K3s and setup private registry in another VM | |
| ### Deploy Rancher on K3s and set up a private registry in another VM |
| chmod +x ./rancher-load-images.sh | ||
| ``` | ||
|
|
||
| 1. Make `get-rancher` script be excutable. |
Contributor
There was a problem hiding this comment.
Suggested change
| 1. Make `get-rancher` script be excutable. | |
| 1. Make the `get-rancher` script excutable. |
| ./rancher-save-images.sh --image-list ./rancher-images.txt | ||
| ``` | ||
|
|
||
| 1. Load images to local registry. |
Contributor
There was a problem hiding this comment.
Suggested change
| 1. Load images to local registry. | |
| 1. Load images to the local registry. |
| curl -L -o cert-manager/cert-manager-crd.yaml https://github.com/jetstack/cert-manager/releases/download/v1.7.1/cert-manager.crds.yaml | ||
| ``` | ||
|
|
||
| 1. Remove the `vagrant-libvirt` network interface. Once the required resources download, you can remove the network. |
Contributor
There was a problem hiding this comment.
Suggested change
| 1. Remove the `vagrant-libvirt` network interface. Once the required resources download, you can remove the network. | |
| 1. Once the required resources are downloaded, you can remove the `vagrant-libvirt` network interface. |
| 1. Edit [settings.yml](https://github.com/harvester/ipxe-examples/blob/c8267b6270660255bf71149a1fef3a7a914550de/vagrant-pxe-harvester/settings.yml#L44) and set `offline: true`. | ||
| 1. Execute the [setup_harvester.sh](https://github.com/harvester/ipxe-examples/blob/main/vagrant-pxe-harvester/setup_harvester.sh) script. | ||
|
|
||
| ### Deploy Rancher on K3s and setup private registry in another VM |
Contributor
There was a problem hiding this comment.
Suggested change
| ### Deploy Rancher on K3s and setup private registry in another VM | |
| ### Deploy Rancher on K3s and set up a private registry in another VM |
| chmod +x ./rancher-load-images.sh | ||
| ``` | ||
|
|
||
| 1. Make `get-rancher` script be excutable. |
Contributor
There was a problem hiding this comment.
Suggested change
| 1. Make `get-rancher` script be excutable. | |
| 1. Make the `get-rancher` script excutable. |
| ./rancher-save-images.sh --image-list ./rancher-images.txt | ||
| ``` | ||
|
|
||
| 1. Load images to local registry. |
Contributor
There was a problem hiding this comment.
Suggested change
| 1. Load images to local registry. | |
| 1. Load images to the local registry. |
| curl -L -o cert-manager/cert-manager-crd.yaml https://github.com/jetstack/cert-manager/releases/download/v1.7.1/cert-manager.crds.yaml | ||
| ``` | ||
|
|
||
| 1. Remove the `vagrant-libvirt` network interface. Once the required resources download, you can remove the network. |
Contributor
There was a problem hiding this comment.
Suggested change
| 1. Remove the `vagrant-libvirt` network interface. Once the required resources download, you can remove the network. | |
| 1. Once the required resources are downloaded, you can remove the `vagrant-libvirt` network interface. |
| 192.168.0.50 myregistry.local myrancher.local | ||
| ``` | ||
|
|
||
| ### Integrate Harvester with Rancher in air-gapped environment |
Contributor
There was a problem hiding this comment.
Suggested change
| ### Integrate Harvester with Rancher in air-gapped environment | |
| ### Integrate Harvester with Rancher in an air-gapped environment |
Collaborator
✅ Deploy Preview for harvester-preview ready!
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Added steps for per original PR #137: