forked from arturscheiner/kuberverse
-
Notifications
You must be signed in to change notification settings - Fork 0
/
kvlab.conf.rb
50 lines (40 loc) · 1.55 KB
/
kvlab.conf.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# kuberverse kubernetes cluster lab
# version: 0.5.0
# description: this Vagrantfile creates a cluster with masters and workers
# created by Artur Scheiner - artur.scheiner@gmail.com
# Is not recommended, but you can change the base box.
# This means that all the VMs will use the same image.
# For vmware_desktop provider use
# BOX_IMAGE = "bento/ubuntu-18.04"
# For virtualbox provider you can choose to use
# bento or kuberverse images. The difference is
# that kuberverse images are pre-loaded with
# the packages needed to create the cluster
# that means less time to build the cluster.
BOX_IMAGE = "kuberverse/ubuntu-18.04"
# Define the k8s version to be used on this lab.
KUBE_VERSION = "1.22.3"
# Define the container runtime that will be used on
# your lab. From k8s v1.22 the default runtime is containerd.
# You can choose between containerd|docker
CONTAINER_RUNTIME = "containerd"
# Define CNI Provider
# Choose between calico|weave|flannel
CNI_PROVIDER = "weave"
# Change these values if you wish to play with the
# cluster size. Do this before starting your cluster
# provisioning.
MASTER_COUNT = 2
WORKER_COUNT = 2
# Change these values if you wish to play with the
# VMs memory resources.
# Kubernetes pre-flight for the MASTER_NODES now requires 1700+ of memory.
SCALER_MEMORY = 512
MASTER_MEMORY = 2048
WORKER_MEMORY = 1024
# Change these values if you wish to play with the
# networking settings of your cluster
KV_LAB_NETWORK = "10.8.8.0"
# This value changes the intra-pod network
POD_CIDR = "172.18.0.0/16"
KVMSG = "Kuberverse Kubernetes Cluster Lab"