-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.yaml
More file actions
98 lines (96 loc) · 3.11 KB
/
config.yaml
File metadata and controls
98 lines (96 loc) · 3.11 KB
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
x-base: &baseconfig
# with these specs, the vm will get the same specs each other.
cpu: 1
ram:
size: 1048
shared: true
image: bionic-server-cloudimg-amd64.img
timezone: Asia/Jakarta
users:
- name: sofyan
password: sofyan
ssh_key:
- ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDL2YN5r7+Ec4lGJPerj4AFJwW3E6l4y1cg9nSq5LHPJd3Et3dWHUvph3oiUlEsw3C3OfC6k/W1QFBwQJvrw7dszgotzxhtsD0zpf2WUHoRqBym1Vwd4TfLlON51KP+hPHc1/dTbGqMLqm5mOE99gvjVsbDUrdlqoINC1ER8aoXAzrmBNLkX26HIz6SAuKDye+0NG7Po323IgPomVLUmO0ID2pyKMM1AGvzmrqfpZxWMoscKyRDrZqYcW8qXys9Gouqje5B8ExUz7BF5PGoE+0S8RwsxTZU9qy5fqfInLo9XMvmqHrgnXqBN+CPXUK9fcyG1sPKagsAb9fvCq0rrw/ShgBwl0iMthFDpC2YCH1syxkvAE03QEkCnLr8/iT7ORj3S/VQ0aDsAghGkmULcrHiCK6IilIRLyb1Br0l8kfmZDjcYBAp04vWVUCAE6gBHvFJ/AncCPcLgMNOH4/q0Ljb66w8qxoiQc3H4Y9vIoRZjrTguyeUds7Go7bQPAzTuaU= altintop@ideapad-3
network-init:
version: 2
ethernets:
enp1s0:
vlans:
en-k8s:
id: 130
link: enp1s0
dhcp4: yes
version: 1.2
libvirt:
# name of pool where your vm storages will be saved on
vm-pool: home-vm
# name of pool where you save the ISO / baseimage of VM
iso-pool: isos
networks:
# define your networks that will be used in vm services
k8s-net:
# set to external: true if you want to use already
# defined network in libvirt
external: true
oam:
ipCidr: 10.10.10.1/24
# mode: one of: nat, route, isolated
mode: nat
dhcp:
enabled: true
start: 10.10.10.2
end: 10.10.10.254
net-10.97.100:
ipCidr: 10.97.100.1/24
mode: route
dhcp:
enabled: true
start: 10.97.100.2
end: 10.97.100.254
services:
ubuntu-testing-01:
fqdn: ubuntu-testing-01
volumes:
- type: root
size: 20G
- type: additional
size: 20G
- type: additional
size: 20G
networks:
- name: oam
ipAddr: 10.10.10.211
<<: *baseconfig
ubuntu-testing-02:
fqdn: ubuntu-testing-02
volumes:
- type: root
size: 30G
- type: additional
size: 20G
- type: additional
size: 20G
networks:
- name: oam
ipAddr: 10.10.10.212
- name: k8s-net
<<: *baseconfig
# ubuntu-testing-03:
# fqdn: ubuntu-testing-03
# volumes:
# - type: root
# size: 30G
# networks:
# - name: oam
# ipAddr: 10.10.10.213
# cpu: 3
# ram:
# size: 3192
# shared: true
# image: focal-server-cloudimg-amd64.img
# timezone: Asia/Jakarta
# users:
# - name: sofyan
# password: sofyan
# ssh_key:
# - ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDL2YN5r7+Ec4lGJPerj4AFJwW3E6l4y1cg9nSq5LHPJd3Et3dWHUvph3oiUlEsw3C3OfC6k/W1QFBwQJvrw7dszgotzxhtsD0zpf2WUHoRqBym1Vwd4TfLlON51KP+hPHc1/dTbGqMLqm5mOE99gvjVsbDUrdlqoINC1ER8aoXAzrmBNLkX26HIz6SAuKDye+0NG7Po323IgPomVLUmO0ID2pyKMM1AGvzmrqfpZxWMoscKyRDrZqYcW8qXys9Gouqje5B8ExUz7BF5PGoE+0S8RwsxTZU9qy5fqfInLo9XMvmqHrgnXqBN+CPXUK9fcyG1sPKagsAb9fvCq0rrw/ShgBwl0iMthFDpC2YCH1syxkvAE03QEkCnLr8/iT7ORj3S/VQ0aDsAghGkmULcrHiCK6IilIRLyb1Br0l8kfmZDjcYBAp04vWVUCAE6gBHvFJ/AncCPcLgMNOH4/q0Ljb66w8qxoiQc3H4Y9vIoRZjrTguyeUds7Go7bQPAzTuaU= altintop@ideapad-3