mirror of
https://github.com/auricom/home-cluster.git
synced 2025-09-17 18:24:14 +02:00
✨ new talos cluster
This commit is contained in:
Binary file not shown.
Before Width: | Height: | Size: 176 KiB |
Binary file not shown.
Before Width: | Height: | Size: 115 KiB |
Binary file not shown.
Before Width: | Height: | Size: 49 KiB |
Binary file not shown.
Before Width: | Height: | Size: 48 KiB |
49
docs/flux.md
49
docs/flux.md
@@ -1,49 +0,0 @@
|
||||
# Flux
|
||||
|
||||
## Install the CLI tool
|
||||
|
||||
```sh
|
||||
brew install fluxcd/tap/flux
|
||||
```
|
||||
|
||||
## Install the cluster components
|
||||
|
||||
_For full installation guide visit the [Flux installation guide](https://toolkit.fluxcd.io/guides/installation/)_
|
||||
|
||||
Check if you cluster is ready for Flux
|
||||
|
||||
```sh
|
||||
flux check --pre
|
||||
```
|
||||
|
||||
Install Flux into your cluster
|
||||
|
||||
```sh
|
||||
flux bootstrap github \
|
||||
--owner=auricom \
|
||||
--repository=home-ops \
|
||||
--path=cluster/base \
|
||||
--personal \
|
||||
--private=false \
|
||||
--network-policy=false
|
||||
```
|
||||
|
||||
## Useful commands
|
||||
|
||||
Force flux to sync your repository:
|
||||
|
||||
```sh
|
||||
flux reconcile source git flux-system
|
||||
```
|
||||
|
||||
Force flux to sync a helm release:
|
||||
|
||||
```sh
|
||||
flux reconcile helmrelease sonarr -n default
|
||||
```
|
||||
|
||||
Force flux to sync a helm repository:
|
||||
|
||||
```sh
|
||||
flux reconcile source helm ingress-nginx-charts -n flux-system
|
||||
```
|
@@ -1,9 +0,0 @@
|
||||
# post-install
|
||||
|
||||
/etc/rancher/k3s/
|
||||
|
||||
add
|
||||
|
||||
```bash
|
||||
kubelet-arg: ['cluster-dns=169.254.20.10']
|
||||
```
|
27
docs/pxe.md
27
docs/pxe.md
@@ -1,27 +0,0 @@
|
||||
# Opnsense | PXE
|
||||
|
||||
## Setting up TFTP
|
||||
|
||||
- Setup TFTP and network booting on DHCPv4 server
|
||||
- Create an `nginx` location to file system `/var/lib/tftpboot`
|
||||
- Create an nginx http server listening on 30080 TCP
|
||||
- Enable `dnsmasq` in the Opnsense services settings (set port to `63`)
|
||||
- Copy over `pxe.conf` to `/usr/local/etc/dnsmasq.conf.d/pxe.conf`
|
||||
- SSH into opnsense and run the following commands...
|
||||
|
||||
```console
|
||||
$ mkdir -p /var/lib/tftpboot/pxelinux/
|
||||
$ curl https://releases.ubuntu.com/20.04/ubuntu-20.04.4-live-server-amd64.iso -o /var/lib/tftpboot/ubuntu-20.04.4-live-server-amd64.iso
|
||||
$ mount -t cd9660 /dev/`mdconfig -f /var/lib/tftpboot/ubuntu-20.04.4-live-server-amd64.iso` /mnt
|
||||
$ cp /mnt/casper/vmlinuz /var/lib/tftpboot/pxelinux/
|
||||
$ cp /mnt/casper/initrd /var/lib/tftpboot/pxelinux/
|
||||
$ umount /mnt
|
||||
$ curl http://archive.ubuntu.com/ubuntu/dists/focal/main/uefi/grub2-amd64/current/grubnetx64.efi.signed -o /var/lib/tftpboot/pxelinux/pxelinux.0
|
||||
```
|
||||
|
||||
- Copy `grub/grub.conf` into `/var/lib/tftpboot/grub/grub.conf`
|
||||
- Copy `nodes/` into `/var/lib/tftpboot/nodes`
|
||||
|
||||
## PXE boot on bare-metal servers
|
||||
|
||||
Press F12 key during 15-20 seconds to enter PXE IPv4 boot option
|
Reference in New Issue
Block a user