[!NOTE] Learn how to setup the fully kubernetes cluster inside your local environment
Vargrant
to configuration the VM with providerkind
kind
clustercilium
and ebpf
- The powerful kernal service of kubewekend clusterKubewekend
Cluster.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
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
[!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>
For install helm-charts from kubewekend
, you can use command
helm repo add kubewekend https://kubewekend.xeusnguyen.xyz/kubernetes/charts
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 setupkubernetes
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
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
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
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
Cluster[!NOTE] This session is really pleasant when we talk about how can create HA cluster with
kubewekend
, learn more the components insidekubernetes
and try figure out aboutnetwork
,security
,configuration
,container runtime
andsystem
via this session
Read full article about session at Kubewekend Session 5: Build HA Cluster
[!NOTE] This session is covered about topic storage inside
Kubernetes
cluster, how can they work withCSI
Architecture and why we need toCSI Driver
for handle this stuff. Furthermore, I try to practice withCeph
- one of popular storage opensource forKubewekend
cluster
Read full article about session at Kubewekend 6: CSI and Ceph with Kubewekend
[!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 aboutiSCSI
,nfs-ganesha
and techniquerdma
Read full article about session at Kubewekend Session Extra 1: Longhorn and the story about NFS in Kubernetes
[!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