Coder Social home page Coder Social logo

homekube / homekube Goto Github PK

View Code? Open in Web Editor NEW
17.0 4.0 10.0 11.78 MB

Install and learn Kubernetes at home with hands-on examples and live demos for popular add-ons like Dashboard, Ingress, Grafana, Prometheus, Nfs, Cert-manager and more

Home Page: https://homekube.org

License: MIT License

Shell 86.99% HTML 10.02% SCSS 3.00%
kubernetes tutorial bare-metal small-scale grafana prometheus ingress ingress-nginx no-cloud zero-cost

homekube's Introduction

Kubernetes at home for fun and education

Homekube.org aims to set up a full operational kubernetes environment on a baremetal Ubuntu server. The focus is getting something done first and improve your kubernetes skills step by step along a happy path.

Following this tutorial you should have Kubernetes and a sample application installed along with the most useful and popular administration components on your local Ubuntu server(s):

App Tutorial Service (AMD64) Service (ARM64 /Raspberry)
'Who am I' echo service whoami.md live live
Kubernetes dashboard dashboard.md login demo/demo login demo/demo
Grafana monitoring grafana.md login demo/demo login demo/demo
Prometheus metrics prometheus.md live live
Testing payloads and response times workload-testing.md Grafana open 'Request Handling Performance'

Project philosophy

There are many ways to install Kubernetes locally but for simplicity we'll follow Ubuntu's recommended MicroK8s installation recipes. With just a few commands we will setup a Kubernetes single node locally. For all further installs we'll primarily use helm commands so we are very close to what you'd do in a cloud environment. For more complex setups including Multi-Host Multi-Cluster on a pile of Raspberrys see also the installation variants.

Requirements

Server requirements are:

  • A 64bit PC or arm64 (e.g. Raspberry 4) or a Virtual Machine on any supporting OS
  • An Ubuntu 22.04 LTS (20.04 LTS or 18.04 LTS will do also or alternatives linux distros supporting snapd)
  • At least 20G of disk space and 4G of memory are recommended
  • An internet connection

Base Installation

Host Container
-> Host installation -> 1) Setup environment
-> 2) Provision container(s)
Read more about Linux containers
Very easy A few simple steps required
Single host / Single node Single host / multiple clusters
Not extendible Extendible see installation variants

Service installation

Quick tour

Dashboard -> Helm I -> Helm / Echo Service -> Echo service II

Advanced tour

Quick tour -> Ingress -> Dashboard II -> Nfs -> Prometheus Metrics -> Grafana

Pro tour

Advanced tour -> Cert manager -> Testing response times and payloads

homekube's People

Contributors

a-hahn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  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.