2023-07-05 23:14:45 +00:00
|
|
|
{
|
|
|
|
"global": {
|
|
|
|
"application": {
|
|
|
|
"pveAPI": "https://pve.mydomain.example/api2/json",
|
|
|
|
"pveAPIToken": {
|
|
|
|
"user": "proxmoxaas-api",
|
|
|
|
"realm": "pve",
|
|
|
|
"id": "token",
|
|
|
|
"uuid": "token-secret-value"
|
|
|
|
},
|
|
|
|
"pveroot": {
|
|
|
|
"username": "root@pam",
|
|
|
|
"password": "rootpassword"
|
|
|
|
},
|
|
|
|
"listenPort": 80,
|
2023-10-13 18:01:53 +00:00
|
|
|
"hostname": "paas.mydomain.example",
|
2023-07-05 23:14:45 +00:00
|
|
|
"domain": "mydomain.example"
|
|
|
|
},
|
|
|
|
"resources": {
|
|
|
|
"cpu": {
|
|
|
|
"type": "list",
|
|
|
|
"whitelist": true,
|
|
|
|
"display": false
|
|
|
|
},
|
|
|
|
"cores": {
|
2023-09-08 20:48:33 +00:00
|
|
|
"name": "vCPU",
|
2023-07-05 23:14:45 +00:00
|
|
|
"type": "numeric",
|
|
|
|
"multiplier": 1,
|
|
|
|
"base": 1024,
|
|
|
|
"compact": false,
|
|
|
|
"unit": "Cores",
|
|
|
|
"display": true
|
|
|
|
},
|
|
|
|
"memory": {
|
2023-09-08 20:48:33 +00:00
|
|
|
"name": "RAM",
|
2023-07-05 23:14:45 +00:00
|
|
|
"type": "numeric",
|
|
|
|
"multiplier": 1048576,
|
|
|
|
"base": 1024,
|
|
|
|
"compact": true,
|
|
|
|
"unit": "B",
|
|
|
|
"display": true
|
|
|
|
},
|
|
|
|
"swap": {
|
2023-09-08 20:48:33 +00:00
|
|
|
"name": "SWAP",
|
2023-07-05 23:14:45 +00:00
|
|
|
"type": "numeric",
|
|
|
|
"multiplier": 1048576,
|
|
|
|
"base": 1024,
|
|
|
|
"compact": true,
|
|
|
|
"unit": "B",
|
|
|
|
"display": true
|
|
|
|
},
|
|
|
|
"local": {
|
2023-09-08 20:48:33 +00:00
|
|
|
"name": "local",
|
2023-07-05 23:14:45 +00:00
|
|
|
"type": "storage",
|
|
|
|
"multiplier": 1,
|
|
|
|
"base": 1024,
|
|
|
|
"compact": true,
|
|
|
|
"unit": "B",
|
|
|
|
"disks": [
|
|
|
|
"rootfs",
|
|
|
|
"mp",
|
|
|
|
"sata",
|
|
|
|
"unused"
|
|
|
|
],
|
|
|
|
"display": true
|
|
|
|
},
|
|
|
|
"cephpl": {
|
2023-09-08 20:48:33 +00:00
|
|
|
"name": "cephpl",
|
2023-07-05 23:14:45 +00:00
|
|
|
"type": "storage",
|
|
|
|
"multiplier": 1,
|
|
|
|
"base": 1024,
|
|
|
|
"compact": true,
|
|
|
|
"unit": "B",
|
|
|
|
"disks": [
|
|
|
|
"rootfs",
|
|
|
|
"mp",
|
|
|
|
"sata",
|
|
|
|
"unused"
|
|
|
|
],
|
|
|
|
"display": true
|
|
|
|
},
|
|
|
|
"network": {
|
2023-09-08 20:48:33 +00:00
|
|
|
"name": "Network",
|
|
|
|
"type": "numeric",
|
2023-07-05 23:14:45 +00:00
|
|
|
"multiplier": 1000000,
|
|
|
|
"base": 1000,
|
|
|
|
"compact": true,
|
|
|
|
"unit": "B/s",
|
|
|
|
"display": true
|
|
|
|
},
|
|
|
|
"pci": {
|
|
|
|
"type": "list",
|
|
|
|
"whitelist": true,
|
|
|
|
"display": true
|
|
|
|
}
|
2023-07-11 22:06:41 +00:00
|
|
|
},
|
|
|
|
"clientsync": {
|
2023-07-14 21:48:06 +00:00
|
|
|
"resourcetypes": [
|
|
|
|
"lxc",
|
|
|
|
"qemu",
|
|
|
|
"node"
|
|
|
|
],
|
|
|
|
"schemes": {
|
|
|
|
"always": {
|
|
|
|
"enabled": true
|
|
|
|
},
|
|
|
|
"hash": {
|
|
|
|
"enabled": true
|
|
|
|
},
|
|
|
|
"interrupt": {
|
|
|
|
"min-rate": 1,
|
|
|
|
"max-rate": 60,
|
|
|
|
"enabled": true
|
|
|
|
}
|
|
|
|
}
|
2023-07-25 19:26:14 +00:00
|
|
|
},
|
|
|
|
"useriso": {
|
|
|
|
"node": "examplenode1",
|
|
|
|
"storage": "cephfs"
|
2023-10-23 22:09:31 +00:00
|
|
|
},
|
|
|
|
"defaultuser": {
|
|
|
|
"resources": {
|
|
|
|
"cpu": [],
|
|
|
|
"cores": {
|
|
|
|
"max": 0
|
|
|
|
},
|
|
|
|
"memory": {
|
|
|
|
"max": 0
|
|
|
|
},
|
|
|
|
"swap": {
|
|
|
|
"max": 0
|
|
|
|
},
|
|
|
|
"local": {
|
|
|
|
"max": 0
|
|
|
|
},
|
|
|
|
"cephpl": {
|
|
|
|
"max": 0
|
|
|
|
},
|
|
|
|
"network": {
|
|
|
|
"max": 0
|
|
|
|
},
|
|
|
|
"pci": []
|
|
|
|
},
|
|
|
|
"nodes": [],
|
|
|
|
"cluster": {
|
|
|
|
"vmid": {
|
|
|
|
"min": -1,
|
|
|
|
"max": -1
|
|
|
|
},
|
|
|
|
"pool": ""
|
|
|
|
},
|
|
|
|
"templates": {
|
|
|
|
"instances": {
|
|
|
|
"lxc": {},
|
|
|
|
"qemu": {}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"network": {
|
|
|
|
"lxc": {
|
|
|
|
"type": "veth",
|
|
|
|
"bridge": "vmbr0",
|
|
|
|
"vlan": 10,
|
|
|
|
"ip": "dhcp",
|
|
|
|
"ip6": "dhcp"
|
|
|
|
},
|
|
|
|
"qemu": {
|
|
|
|
"type": "virtio",
|
|
|
|
"bridge": "vmbr0",
|
|
|
|
"vlan": 10
|
|
|
|
}
|
|
|
|
}
|
2023-07-05 23:14:45 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"users": {
|
|
|
|
"exampleuser@examplepool": {
|
|
|
|
"resources": {
|
2023-09-08 20:48:33 +00:00
|
|
|
"cpu": [
|
|
|
|
{
|
|
|
|
"match": "kvm64",
|
|
|
|
"name": "kvm64",
|
|
|
|
"max": 1
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"match": "host",
|
|
|
|
"name": "host",
|
|
|
|
"max": 1
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"cores": {
|
|
|
|
"max": 128
|
|
|
|
},
|
|
|
|
"memory": {
|
|
|
|
"max": 131072
|
|
|
|
},
|
|
|
|
"swap": {
|
|
|
|
"max": 131072
|
|
|
|
},
|
|
|
|
"local": {
|
|
|
|
"max": 1099511627776
|
|
|
|
},
|
|
|
|
"cephpl": {
|
|
|
|
"max": 1099511627776
|
|
|
|
},
|
|
|
|
"network": {
|
|
|
|
"max": 100000
|
|
|
|
},
|
|
|
|
"pci": [
|
|
|
|
{
|
|
|
|
"match": "Device Name Matcher 1",
|
|
|
|
"name": "Device Display Name",
|
|
|
|
"max": 1
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"match": "Device Name Matcher 2",
|
|
|
|
"name": "Device Display Name",
|
|
|
|
"max": 1
|
|
|
|
}
|
|
|
|
]
|
2023-07-05 23:14:45 +00:00
|
|
|
},
|
|
|
|
"nodes": [
|
|
|
|
"examplenode1",
|
|
|
|
"examplenode2"
|
|
|
|
],
|
|
|
|
"cluster": {
|
|
|
|
"vmid": {
|
|
|
|
"min": 100,
|
|
|
|
"max": 199
|
|
|
|
},
|
|
|
|
"pool": "examplepool"
|
|
|
|
},
|
|
|
|
"templates": {
|
|
|
|
"instances": {
|
|
|
|
"lxc": {
|
|
|
|
"net0": {
|
|
|
|
"value": "name=eth0,bridge=vmbr0,ip=dhcp,ip6=dhcp,tag=10,type=veth,rate=1000",
|
|
|
|
"resource": {
|
|
|
|
"name": "network",
|
|
|
|
"amount": 1000
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"qemu": {
|
|
|
|
"cpu": {
|
|
|
|
"value": "host",
|
|
|
|
"resource": null
|
|
|
|
},
|
|
|
|
"net0": {
|
|
|
|
"value": "virtio,bridge=vmbr0,tag=10,rate=1000",
|
|
|
|
"resource": {
|
|
|
|
"name": "network",
|
|
|
|
"amount": 1000
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"network": {
|
|
|
|
"lxc": {
|
|
|
|
"type": "veth",
|
|
|
|
"bridge": "vmbr0",
|
|
|
|
"vlan": 10,
|
|
|
|
"ip": "dhcp",
|
|
|
|
"ip6": "dhcp"
|
|
|
|
},
|
|
|
|
"qemu": {
|
|
|
|
"type": "virtio",
|
|
|
|
"bridge": "vmbr0",
|
|
|
|
"vlan": 10
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|