Skip to content

Commit

Permalink
remote_src correction
Browse files Browse the repository at this point in the history
  • Loading branch information
MozeBaltyk committed May 15, 2024
1 parent d5189b1 commit b0518dc
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/stage.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
name: Stage deployment
name: Stage airgap

on:
workflow_dispatch:
Expand Down
28 changes: 15 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -155,26 +155,30 @@ All prerequisites are set in folder `meta` and `meta/execution-environment.yml`.

## Some details

I favored the tarball installation since it's the one the most compact and also leave an tar.zst on all nodes.
I favored the tarball installation since it's the most compact and install rely on a archive tar.zst which stay on all nodes.

**Build** have for purpose to create a tar zst with following content:
The rpm install is much straight forward.

**hauler_build** have for purpose to create a tar.zst with following content using hauler tool:

```bash
rkub
├── helm # all helm charts
├── images # all images
│   ├── cert
│   ├── longhorn
│   ├── neuvector
│   ├── rancher
│   └── registry
├── rke2_1.26.11 # RKE2 binaries
└── utils # utilities packages downloaded with arkade
├── airgap_hauler.yaml # yaml listing all resources
├── hauler # hauler binary
└── store # hauler store made from above yaml and hauler command
├── blobs
│   └── sha256
│   ├── 024f2ae6c3625583f0e10ab4d68e4b8947b55d085c88e34c0bd916944ed05add
└── index.json
```

**upload** push the big monster packages (around 7G) and unarchive on first node on chosen targeted path.

**hauler_server** deploy a registry and a fileserver using hauler on target host.

**install** RKE2 (currently only one master) with:

- install with tarball method by default or rpm method if given in argument
- An admin user (by default `kuberoot`) on first master with some administation tools like `k9s` `kubectl` or `helm`.
- Master export NFS with all the unarchive content + registry content
- Workers mount the NFS to get above content
Expand All @@ -201,8 +205,6 @@ Improvments:

* Improve collection to run as true collection

* CI

# Acknowledgements

## Special thanks to 📢
Expand Down
1 change: 1 addition & 0 deletions roles/install_utils_nerdctl/tasks/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
src: "/tmp/nerdctl/nerdctl"
dest: "/usr/local/bin/nerdctl"
mode: '0750'
remote_src: true

- name: Cleanup tmp dir
ansible.builtin.file:
Expand Down

0 comments on commit b0518dc

Please sign in to comment.