Skip to content

Scripts to spin up a Kubernetes cluster for learning purposes.

Notifications You must be signed in to change notification settings

Esteban-Cruz/K8s-in-incus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

K8s-in-incus

This project is meant to host a Kubernetes home lab for learning purposes, the project is currently being developed, for now it is only possible to spin up a Kubernetes cluster to play around, I will add more features soon such as worker nodes, a web interface, scripts to replicate real life problems, solutions, test cases, and more. The project has only been tested on Ubuntu 24.04 LTS.

Prerequisites:

  • incus (tested with version 6.0.0, minor updates should work fine)
  • yq (tested with version 4.2.0, minor updates should work fine)
  • Enable nested virtualization, more information on how to check if nested virtualization is enabled can be found here, you can also check it by running the following command too on Ubuntu:
     kvm-ok
    
    This will show you if the kvm module is enabled.

Instructions

Clone the repository and cd into the project's root directory.

Build the Kubernetes infrastructure

./actions/build/run_create-kubernetes-cluster.sh

Remove and clean up all incus resources previously created.

./actions/cleanup/run_cleanup-control-plane.sh

License

MIT Free Software, Hell Yeah!

About

Scripts to spin up a Kubernetes cluster for learning purposes.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages