Skip to content

Fast and forward way to learn and create completely kubernetes cluster on locally, cloud on the weekend

Notifications You must be signed in to change notification settings

Xeus-Territory/kubewekend

Repository files navigation

Setup the fully kubernetes cluster inside the locally hosted

Table of Contents

Usage

Requirements tools

Step by step

  1. Location on the root of project
  2. Set environment from file .env or manually configure
# Manually
export SSH_USER="vargrant-user"
export SSH_PRIV_KEY_PATH="~/.ssh/vmbox"

# Use .env file
cp -r template.env .env
set -o allexport && source .env && set +o allexport
  1. Up your vagrant via virtualbox by
# Use can use another provider: https://developer.hashicorp.com/vagrant/docs/providers
# Provision 1 master and 1 worker
vagrant up k8s-master-machine k8s-worker-machine-1 --provider=virtualbox

# You can provision more worker with regex pattern
vagrant up "/k8s-worker-machine-[2-3]/" --provider=virtualbox

Specific Vagrantfile

Important

In repositories will be defined some Vagrantfile for two type K8s for base and ceph, for specific the Vagrantfile you should specific them via environment variables. Explore more at: StackOverFlow - Specify Vagrantfile path explicity, if not plugin

# Run as usual for base version
vagrant up <name-machine>

# Run specific Vagrantfile for CEPH version
VAGRANT_VAGRANTFILE=Vagrantfile.ceph vagrant up <name-machine>

Kubewekend Major Session

Kubewekend Session 1: Use Vargrant to configuration the VM with provider

Note

This lab is take the topic around play and practice with vagrant - the software can help you provide the virtual machine in your host. First step way to setup kubernetes cluster inside your machine, and play with on next session

Read full article about session at Kubewekend Session 1: Build up your host with Vagrant

Kubewekend Session 2: Ansible - To setup and run script and bring up kubernetes cluster on locally, Use kind

Note

This lab is practice with ansible the configuration for setup kind cluster inside machine on the previous session

Read full article about session at Kubewekend Session 2: Setup Kind cluster with Ansible

Kubewekend Session 3: Exploring, understanding and provisioning require components inside the kind cluster

Note

This session talk about basically architecture and learn more fundamental components inside kubernetes, and what the structure of them inside clusters

Read full article about session at Kubewekend Session 3: Basically about Kubernetes architecture

Kubewekend Session 4: cilium and ebpf - The powerful kernal service of kubewekend cluster

Note

This session will talk and learn about eBPF and the especially representation of eBPF are cilium and hubble to become main CNI of Kubewekend and talk about Observability of them

Read full article about session at Kubewekend Session 4: Learn about ebpf with hubble and cilium

Kubewekend Session 5: Build and Operate High Availability (HA) Kubewekend Cluster

Note

This session is really pleasant when we talk about how can create HA cluster with kubewekend, learn more the components inside kubernetes and try figure out about network, security, configuration, container runtime and system via this session

Read full article about session at Kubewekend Session 5: Build HA Cluster

Kubewekend Session 6: CSI and Ceph with Kubewekend

Note

This session is covered about topic storage inside Kubernetes cluster, how can they work with CSI Architecture and why we need to CSI Driver for handle this stuff. Furthermore, I try to practice with Ceph - one of popular storage opensource for Kubewekend cluster

Read full article about session at Kubewekend 6: CSI and Ceph with Kubewekend

Kubewekend Extra Session

Kubewekend Session Extra 1: Longhorn and the story about NFS in Kubernetes

Note

This lab is try to take you to journey to learn about new CSI for Kubernetes, Longhorn and deliver you to new method to handle transfer large file via network by NFS protocol. I also provide more information about iSCSI, nfs-ganesha and technique rdma

Read full article about session at Kubewekend Session Extra 1: Longhorn and the story about NFS in Kubernetes

Kubewekend Session Extra 2: Rebuild Cluster with RKE2 or K3S

Note

This article aims to provide you with insights into alternatives for self-hosting a full Kubernetes cluster. Both K3s and RKE2 are strong contenders worth considering to guide your decision. Focusing on the self-hosted approach with RKE2, I want to share more about my experiences working with it over the past four months.

Read full article about session at Kubewekend Session Extra 2: Rebuild Cluster with RKE2 or K3S

About

Fast and forward way to learn and create completely kubernetes cluster on locally, cloud on the weekend

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •