rayui / scooby Goto Github PK
View Code? Open in Web Editor NEWPretty fast, pretty simple K3S clusters for Raspberry Pi
Pretty fast, pretty simple K3S clusters for Raspberry Pi
Don't copy agent image as a separate file
Instead, extend disk image by 2G, dd base boot and root partitions at start of new empty space. These will serve as the agent base
Apply server changes to original partitions (at start of disk)
use github artefact storage?
agent config creates a file with contents:
dtoverlay=disable-wifi
dtoverlay=disable-bt
this seems to break pi3.
should probably be changed in the shared base image so is present for all agents
still works! shouldn't work!
it's done in a bad way rn and probably doesn't work
move to boot config script
and agent config script
Master node is currently set to wait on boot
To get current network on boot setting: sudo raspi-config nonint get_boot_wait
To enable waiting for network on boot: sudo raspi-config nonint do_boot_wait 0
It causes boot time to increase significantly. Investigate if it is possible to disable and still work
After all features complete, update and review README
Provide a way to set up the cluster such
if statement. change env.SECRET to secrets.SECRET
Create /etc/scooby/conf
populate with environment variables from local .env file
source from there
exclude all secrets
Bring back S3 uploads for server image
If AWS secret keys are set, upload image to bucket
make part of gh workflow yaml only
Now almost all config is put into the server and client configurations on build, it should be possible to remove the need to serve cloud-init config via http and instead serve it from the client's own boot directory
If agents hit swap things get really hairy! add support for optional swap partition
new file in each /etc/scooby/agets/agent folder?
Security issue
This ticket is complete when it is known
on completion:
note:
overlayfs is a kernel service
e.g.
master node with pihole
master and agent node with nginx and lighttpd
master node and two agent nodes with prometheus and grafana
rsync --info=progress2 is too noisy for github actions
investigate output options and implement or remove progress
Add script to /usr/local/bin to add agent from agent description file in /etc/scooby/agents at runtime
Is it needed?
If not, remove it from server config
add placeholder README files with examples
will also help add correct directory structure to help get started
Build on push to branch for better commit history
something slayerish
could save a few hundred megabytes
keep safe somewhere!
LC_EXTERNAL_DNS -> LC_PRIMARY_DNS
LC_INTERNAL_DNS -> LC_SECONDARY_DNS
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.