Add quickstart scripts for easy cluster setup

This commit is contained in:
Guillaume
2023-05-18 19:21:30 +02:00
parent 973db6fba8
commit 8675219622
13 changed files with 322 additions and 10 deletions

22
hosts.incl/common.yaml Normal file
View File

@ -0,0 +1,22 @@
bootstrap_config: node-bootstrap
config: node
kernel: 6.1.23
initrd: 2.1.0
versions:
init: 2.0.2
system: v23.15.0
kubernetes: v1.26.4_containerd.1.6.20
vars:
is_master: false
is_master_active: false
system_reserved:
cpu: 100m
memory: 256Mi
kube_reserved:
cpu: 200m
memory: 256Mi

12
hosts.incl/master.yaml Normal file
View File

@ -0,0 +1,12 @@
#!include hosts.incl/common
labels:
"node-role.novit.io/master": "true"
group: master
static_pods: master
vars:
is_master: true
is_master_active: true

8
hosts.incl/node.yaml Normal file
View File

@ -0,0 +1,8 @@
#!include hosts.incl/common
labels:
"node-role.novit.io/node": "true"
group: node
static_pods: node