Giter VIP home page Giter VIP logo

daisy's Introduction

Project DAISY

This is my first attempt at making it as easy as possible to build a K3s cluster out of whatever someone happens to have available. The initial project is focused around the Raspberry Pi 4, however I aspire to add other low-power devices to the project as well, such as: Android smartphones, Mac Minis, Ultrabooks... basically anything that you might have laying around your house.

NOTE: This is very much a work in progress and I do not guarantee the functionality of anything hosted in this repository!

Usage

At the moment, the included Makefile is a collection of helper scripts to write a USB with an ARM64 version of Raspbian, and then make a few tweaks to the boot sector and file system. These scripts are by no means complete, but in the name of time management I'm temporarily shelving this aspect of the project and moving towards getting my own cluster successfully up and running.

Makefile Commands

get-image

Pulls the image pointed at by the DOWNLOAD_LINK constant (if it doesn't currently exist in the directory) as well as the sha256sum and compares the result to confirm image health

write-to-usb

Acknowledges the insertion of a USB drive and writes the aforementioned image to it. At the moment, it relies on the WRITABLE_BLOCK variable to determine where to write to.

prep-boot-sector

Mounts the partition set as the BOOT_SECTOR variable, adds some control group values to the boot sector and enables ssh for headless interaction.

prep-fs-sector

Sets the hostname to a value defined in the environment to prevent ambiguity between multiple raspberrypi hosts that may exist on the network.

daisy's People

Contributors

zenentreadwell avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.