A service to replicate and serve requests for site configurations based on site ID, public IP, and the on-site lead contact's OTP.
Révision | de5e52ccc088aca4407b4cb00062b34a7ed2bf9d (tree) |
---|---|
l'heure | 2021-10-12 22:31:58 |
Auteur | S. Seago <sseago-dev@proj...> |
Commiter | S. Seago |
Mock data, more notes. Brain scrambled.
@@ -21,6 +21,6 @@ | ||
21 | 21 | |
22 | 22 | |
23 | 23 | === The Order of Things |
24 | -This whole project is a chicken-and-egg scenario. In order to deploy Kubernetes cluster, we need a custom ISO to provide via PXE (for x86; ARM,PPC not currently addressed). | |
24 | +This whole project is a chicken-and-egg scenario. In order to deploy Kubernetes cluster, we need a custom ISO to provide via PXE (for x86; ARM,PPC not currently addressed) to install to the bare-metal machines that will become the hypervisors which will host the Kubernetes cluster. | |
25 | 25 | |
26 | 26 | Of course some[thing,one] needs to provision the diviner server so that the custom ISO can be served. It will need tftp, http, dhcp, dns (PXE), ansible, rsync, curl, python 3.6+, and podman is also needed to spin up these services and enable the them to be transfered to the Kubernetes cluster. |
\ No newline at end of file |
@@ -0,0 +1,20 @@ | ||
1 | +== Docker Notes | |
2 | + | |
3 | +=== PXE Server | |
4 | +:source: https://github.com/particleKIT/pxe-docker/blob/master/Dockerfile | |
5 | + | |
6 | +FROM httpd | |
7 | + | |
8 | +RUN apt-get update && apt-get upgrade -y && apt-get install -y \ | |
9 | + tftpd-hpa --no-install-recommends | |
10 | + | |
11 | +ENV TFTPOPTIONS="--secure --port-range 3000:4000" | |
12 | + | |
13 | +EXPOSE 80 69 | |
14 | + | |
15 | +VOLUME ["/usr/local/apache2/htdocs","/srv/tftp"] | |
16 | + | |
17 | +ADD init.sh / | |
18 | + | |
19 | +CMD ["/init.sh"] | |
20 | + |
@@ -1,16 +1,14 @@ | ||
1 | 1 | version: '2' |
2 | 2 | services: |
3 | + pxe: | |
4 | + image: | |
3 | 5 | ipfs: |
4 | 6 | image: ipfs/go-ipfs:latest |
5 | 7 | environment: |
6 | - - CGO_ENABLED=1 | |
7 | - - I | |
8 | - - BUILDBOT_CONFIG_URL=https://github.com/buildbot/buildbot-docker-example-config/archive/master.tar.gz | |
9 | - - BUILDBOT_WORKER_PORT=9989 | |
10 | - - BUILDBOT_WEB_URL=http://localhost:8010/ | |
11 | - - BUILDBOT_WEB_PORT=tcp:port=8010 | |
8 | + - ipfs_stating=/srv/ipfs/staging | |
9 | + - ipfs_data=/srv/ipfs/data | |
12 | 10 | links: |
13 | - - db | |
11 | + - pxe | |
14 | 12 | depends_on: |
15 | 13 | - db |
16 | 14 | ports: |