Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pasiol/edunetes
Kubernetes self-study environment for the Ubuntu 22.04
https://github.com/pasiol/edunetes
ansible kubernetes kvm-hypervisor ubuntu2204
Last synced: 9 days ago
JSON representation
Kubernetes self-study environment for the Ubuntu 22.04
- Host: GitHub
- URL: https://github.com/pasiol/edunetes
- Owner: pasiol
- License: gpl-3.0
- Created: 2024-08-10T09:33:58.000Z (about 2 months ago)
- Default Branch: main
- Last Pushed: 2024-09-14T20:30:57.000Z (21 days ago)
- Last Synced: 2024-09-16T05:03:41.199Z (19 days ago)
- Topics: ansible, kubernetes, kvm-hypervisor, ubuntu2204
- Language: Jinja
- Homepage:
- Size: 122 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Edunetes - Kubernetes self-study environment on the Ubuntu 22.04 laptop
Run the latest release of Vanilla Kubernetes on your Linux laptop.
## Cluster configuration
[Configuration](group_vars/all/main.yaml)
## Nodes
Ansible playbook, which creates KVM-based Ubuntu 22.04 virtual machine nodes
ansible-playbook playbook-kvm-nodes-create.yaml -c local -K
## Cluster configuration
Configure a Kubernetes cluster on the nodes.
ansible-playbook playbook-cluster-nodes-prepare.yaml --private-key=.ssh/id_edunetes -u kubeadmin
ansible-playbook playbook-cluster-nodes-control-node-set-up.yaml --private-key=.ssh/id_edunetes -u kubeadmin
ansible-playbook playbook-cluster-nodes-workers-join.yaml --private-key=.ssh/id_edunetes -u kubeadmin
ansible-playbook playbook-cluster-finalize.yaml --private-key=.ssh/id_edunetes -u kubeadmin## Requirements
- KVM host on Ubuntu 22.04
- Python 3.10 virtual environment
- modern multithread laptop 16gb memory for 2 nodes, 32gb memory for 4 nodesPrepare KVM host running the following commands.
./set-up-ubuntu22.04-host.sh
git clone https://github.com/pasiol/edunetes.git
cd edunetes
python3.10 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
ansible-galaxy install -r requirements.yaml
ansible-playbook playbook-kvm-host-set-up.yaml -K## Features
- Vanilla Kubernetes from pkgs.k8s.io repository
- Flannel or Calico CNI plugin
- MetalLB loadbalander
- one control plane and multiple worker nodesUnder development, on the Alpha stage