{"id":15118629,"url":"https://github.com/knaeckebrothero/kubernetes-cluster-project","last_synced_at":"2025-04-05T18:46:53.553Z","repository":{"id":256277966,"uuid":"854139757","full_name":"Knaeckebrothero/Kubernetes-Cluster-Project","owner":"Knaeckebrothero","description":"This project focuses on setting up and managing a Kubernetes Cluster, because who doesn't want one?","archived":false,"fork":false,"pushed_at":"2025-03-14T13:37:09.000Z","size":522,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-14T14:32:42.292Z","etag":null,"topics":["deployment","devops","kubernetes","kubernetes-cluster","sre"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Knaeckebrothero.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-09-08T13:36:44.000Z","updated_at":"2025-03-14T13:37:12.000Z","dependencies_parsed_at":"2024-12-16T12:19:29.630Z","dependency_job_id":"8e78abd8-46a1-46e0-92f3-8aa48b707dfd","html_url":"https://github.com/Knaeckebrothero/Kubernetes-Cluster-Project","commit_stats":null,"previous_names":["knaeckebrothero/kubernetes-cluster-project"],"tags_count":0,"template":false,"template_full_name":"Knaeckebrothero/Template-General","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Knaeckebrothero%2FKubernetes-Cluster-Project","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Knaeckebrothero%2FKubernetes-Cluster-Project/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Knaeckebrothero%2FKubernetes-Cluster-Project/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Knaeckebrothero%2FKubernetes-Cluster-Project/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Knaeckebrothero","download_url":"https://codeload.github.com/Knaeckebrothero/Kubernetes-Cluster-Project/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247385703,"owners_count":20930600,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["deployment","devops","kubernetes","kubernetes-cluster","sre"],"created_at":"2024-09-26T01:48:01.477Z","updated_at":"2025-04-05T18:46:53.519Z","avatar_url":"https://github.com/Knaeckebrothero.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# My Home-Grown Cluster Adventure\u003cbr\u003e#ADefinatelyNotByAiGeneratedIntro\nWelcome to the epicenter of my personal tech revolution! This isn't just another Kubernetes cluster—it's my foray into the world of self-hosted, cutting-edge infrastructure. Born from a long-held dream and fueled by an insatiable curiosity, this project is where high-performance computing meets the comfort of my own home.\n\nImagine having the power of a tech giant's data center right in your living room. That's exactly what I've set out to create. This Kubernetes cluster isn't just a collection of nodes and containers; it's a testament to the democratization of technology, a playground for innovation, and my very own digital sandbox where the only limit is my imagination.\n\nFrom orchestrating complex applications to experimenting with the latest in cloud-native technologies, this project is my ticket to the bleeding edge of modern infrastructure. It's where I'll be pushing boundaries, breaking things (and fixing them), and ultimately, mastering the art of Kubernetes.\n\nSo, buckle up and dive in with me. Whether you're here to learn, to be inspired, or to embark on your own Kubernetes journey, you're in for an exhilarating ride. Welcome to my Kubernetes Cluster Project—where dreams of personal servers become reality, and the future of computing is homemade.\n\n### Hardware\n```bash\nNAME           ROLES                        IP             CPU  RAM                       \nserver-node-1  control-plane, etcd, master  192.168.1.101  8    32\nserver-node-2  control-plane, etcd, master  192.168.1.102  4    32\nserver-node-3  control-plane, etcd, master  192.168.1.103  4    16\nagent-node-1                                NaN            12   64\n```\n\n### Software\n- [Fedora CoreOS](https://fedoraproject.org/coreos/)\n- [K3S Kubernetes](https://k3s.io/) \n- [Rancher](https://www.rancher.com/)\n- [Longhorn](https://longhorn.io/)\n\n## Table of Contents\n- [Installation](#installation)\n- [Usage](#usage)\n- [Contributing](#contributing)\n- [License](#license)\n- [Contact](#contact)\n- [Acknowledgements](#acknowledgements)\n\n## Installation\n1. Create an [Ignition Config](/os/ignition_configs/first_node_config.yaml) for the first Server Node.\n   - Ignition is the provisioning utility used by Fedora CoreOS to manipulate disks, create users, and configure the system.\n   - The provided config file sets up the core user, configures SSH access, sets up system services (including k3s), and configures storage for Longhorn.\n\n2. Download and install [Fedora CoreOS](https://fedoraproject.org/coreos/).\n   - Fedora CoreOS is a minimal, container-focused operating system, ideal for running Kubernetes.\n   - Use [Rufus](https://rufus.ie/) or a similar tool to create a bootable USB drive with the Fedora CoreOS image.\n   - While other operating systems like Fedora Server or Proxmox could be used, Fedora CoreOS provides a streamlined, immutable infrastructure that's well-suited for Kubernetes deployments.\n\n3. Boot the node from the USB drive and apply the Ignition config.\n   - During the boot process, you'll need to specify the location of your Ignition config file.\n   - This will configure the system according to your specifications, including setting up k3s.\n\n4. Repeat the process for additional nodes.\n   - For worker nodes, you'll need to create separate Ignition configs that join the k3s cluster rather than initializing it.\n   - Ensure each node has a unique hostname and IP address.\n\n5. Verify that all nodes are up and running.\n   - SSH into each node to confirm successful boot and configuration.\n   - On the first node, use `kubectl get nodes` to verify that all nodes have joined the cluster.\n\n6. Configure network settings if necessary.\n   - Ensure all nodes can communicate with each other.\n   - Set up any required port forwarding on your router for external access.\n\n### Installing Rancher\n\n```bash\n# Example command line instructions\npip install -r requirements.txt\n```\n\n### Installing Longhorn\n\n```bash\n# Example command line instructions\npip install -r requirements.txt\n```\n\n## License\nThis project is licensed under the terms of the Creative Commons Attribution 4.0 International License (CC BY 4.0) and the All Rights Reserved License. See the [LICENSE](LICENSE.txt) file for details.\n\n## Contact\n[Github](https://github.com/Knaeckebrothero) \u003cbr\u003e\n[Mail](mailto:OverlyGenericAddress@pm.me) \u003cbr\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fknaeckebrothero%2Fkubernetes-cluster-project","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fknaeckebrothero%2Fkubernetes-cluster-project","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fknaeckebrothero%2Fkubernetes-cluster-project/lists"}