api-server/requests/nodes.http

33 lines
541 B
HTTP

POST http://localhost:3450/node
Content-Type: application/json
{
"hostname": "worker-7.k8s",
"pve_id": 110,
"pve_host": "p-blade01",
"assigned_ip": "172.20.80.8",
"assigned_subnet": 16,
"is_permanent": true
}
###
POST http://localhost:3450/node
Content-Type: application/json
{
"hostname": "worker-4.k8s",
"pve_id": 102,
"pve_host": "p-blade02",
"assigned_ip": "172.20.80.5",
"assigned_subnet": 16,
"is_permanent": true
}
###
DELETE http://localhost:3450/node/worker-4.k8s
Content-Type: application/json
{}
###