Coder Social home page Coder Social logo

homelab-k8s's Introduction

homelab-k8s

This is a dummy project, which is no longer active. I created this repository as a side project when I was trying to run a homelab on my 12 year old VAIO laptop. With only 8Gb RAM and an HDD available, there was not much I could do with it.

I was always fascinated with homelabs and the ability to host nextcloud and similar setups on my own system.

Being familier with Kubernetes ( because of my profession ) by now, I decided to go with it.

I used Ubuntu Server 22 as the base OS on my oldie. While setting up the server, it gave a very handy option of installing K8s but I did not wanted to set it up on my own. After setting up microk8s on the system, I started setting up several systems needed for the project.

3 most important setups that were necessary were:

  • volume manager
  • ingress controller
  • frontend / reverse proxy outside the k8s cluster

Once this was also done, I started my first "Hello World" service. Added my favorite snake game as a hosted application. Then proceeded to setup nextcloud. Some tweaks later, everything was up and running, thus concluding my experiment.

I had a lot to learn and this project gave me a lot to play around with too.

This project that is uploaded here, is a sample of how I had things setup. After pushing the code to the repository, I had the whole device wiped out, reinstalled Ubuntu Server on it and redid the whole setup from scratch, this time with a media server, nextcloud and metrics server.

I have also added the shell script through which these YAMLs were auto-generated. Since I did not create everything from YAMLs ( sometimes from HELM, sometimes from CLI ) I did not have the YAMLs with me and had to generate them to document what I had created.

Hope you enjoy this and get some inspiration to start your own homelab.

Cheers!

homelab-k8s's People

Contributors

mihirvijdeshpande avatar

Watchers

 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.