config related to proxmox setup
127.0.0.1 the proxmox API hostnamei/dns or IP address
127.0.0.1 will work on any host running proxmox
8006 port to connect to proxmox API endpoint
8006 is the default
root@pam - user to connect as
See SETUP.md
kopsrox - see api key section above
See SETUP.md
icjecjeijciejceinceini
See SETUP.md
proxmox the proxmox node that kopsrox will work on - the image and all nodes are created on this host
local-lvm shared storage also works
600 - the proxmox id used for the kopsrox image/template
Kopsrox uses a simple static id/ip assignments based on proximgid and network settings eg
[proxmox]
...
proximgid = 620
...
[kopsrox]
...
network = 192.168.0.170
...
| - | vmid | ip | type |
|---|---|---|---|
| 0 | 620 | - | image |
| 1 | 621 | 192.168.0.171 | master 1 |
| 2 | 622 | 192.168.0.172 | master 2 |
| 3 | 623 | 192.168.0.173 | master 3 |
| 4 | 624 | - | spare |
| 5 | 625 | 192.168.0.175 | worker 1 |
| 6 | 626 | 192.168.0.176 | worker 2 |
| 7 | 627 | 192.168.0.177 | worker 3 |
| 8 | 628 | 192.168.0.178 | worker 4 |
| 9 | 629 | 192.168.0.179 | worker 5 |
https://cloud-images.ubuntu.com/minimal/daily/mantic/current/mantic-minimal-cloudimg-amd64.img - url to the cloud image you want to use as the base image
vmbr0 - the bridge to use - must have internet access via the networkgw defined below
20G - size of the disk for each node in Gigs
1 - number of vcpus for each vm
2 - amount of ram in G
admin - a user account for access to the vm
you can use this user name / password to login on the vm if required
password - a password for the cloudinituser - you can use this user name / password to login on the vm if required
sshkey.pub
"network" address of proxmox cluster
Kopsrox uses a simple static id/ip assignments based on proximgid and network settings eg
[proxmox]
...
proximgid = 620
...
[kopsrox]
...
network = 192.168.0.170
...
| - | vmid | ip | type |
|---|---|---|---|
| 0 | 620 | - | image |
| 1 | 621 | 192.168.0.171 | master 1 |
| 2 | 622 | 192.168.0.172 | master 2 |
| 3 | 623 | 192.168.0.173 | master 3 |
| 4 | 624 | - | spare |
| 5 | 625 | 192.168.0.175 | worker 1 |
| 6 | 626 | 192.168.0.176 | worker 2 |
| 7 | 627 | 192.168.0.177 | worker 3 |
| 8 | 628 | 192.168.0.178 | worker 4 |
| 9 | 629 | 192.168.0.179 | worker 5 |
192.168.0.1 the default gateway for the network ( must provide internet access )
24 cdir netmask for the network
This is equal to '255.255.255.0'
config relating to the cluster
kopsrox name of the cluster
the name is displayed in the cli output
nodes are named eg kopsrox-m1
v1.24.6+k3s1 - the version of k3s installed
1 number of master nodes - only other supported value is 3
0 number of worker nodes in the cluster - values upto 5 are supported
config values for s3 etcd snapshot/restore operations.
If you're not using this you can leave these blank.
eg s3.yourprovider.com
optional
393893894389
ioewioeiowe - the access secret for your s3 provider
kopsrox - bucket name