88 lines
1.9 KiB
JSON
88 lines
1.9 KiB
JSON
{
|
|
"ContainerConfig": {
|
|
"auto_start": false,
|
|
"cpu_millicores": 1000,
|
|
"disk_gb": 10,
|
|
"image": "",
|
|
"memory_mb": 512,
|
|
"name": "",
|
|
"parent_vm": "",
|
|
"restart_policy": "unless_stopped",
|
|
"runtime": "containerd",
|
|
"tag": "latest"
|
|
},
|
|
"MultiTierDeployment": {
|
|
"containers": [],
|
|
"health_check_interval": 30,
|
|
"name": "",
|
|
"nested_vms": [],
|
|
"networks": [],
|
|
"parent_vms": [],
|
|
"replicas": 1,
|
|
"strategy": "rolling",
|
|
"version": "1.0.0",
|
|
"volumes": []
|
|
},
|
|
"NestedProvisioningPolicy": {
|
|
"default_network_type": "bridge",
|
|
"default_volume_type": "local",
|
|
"enable_ipv6": false,
|
|
"enable_network_isolation": true,
|
|
"enable_security_hardening": true,
|
|
"enable_vlan_tagging": false,
|
|
"max_containers_per_vm": 50,
|
|
"max_cpu_per_vm": 16,
|
|
"max_disk_per_vm": 500,
|
|
"max_memory_per_vm": 32768,
|
|
"max_nesting_depth": 3,
|
|
"max_vms_per_parent": 10,
|
|
"require_auth_between_tiers": false,
|
|
"snapshot_retention_days": 30
|
|
},
|
|
"NestedVmConfig": {
|
|
"auto_start": false,
|
|
"base_image": "ubuntu-22.04",
|
|
"cpu": 2,
|
|
"disk_gb": 20,
|
|
"memory_mb": 2048,
|
|
"name": "",
|
|
"nested_virt": true,
|
|
"networks": [],
|
|
"parent_vm": "",
|
|
"restart_policy": "always",
|
|
"start_order": 100
|
|
},
|
|
"NetworkConfig": {
|
|
"allow_inbound": false,
|
|
"allow_outbound": true,
|
|
"dhcp_enabled": true,
|
|
"mtu": 1500,
|
|
"name": "",
|
|
"subnet": "192.168.1.0/24",
|
|
"type": "bridge"
|
|
},
|
|
"NetworkPolicy": {
|
|
"action": "allow",
|
|
"direction": "both",
|
|
"name": "",
|
|
"priority": 100,
|
|
"protocol": "all"
|
|
},
|
|
"VolumeConfig": {
|
|
"mount_mode": "755",
|
|
"mount_path": "/",
|
|
"name": "",
|
|
"provider": "aws",
|
|
"readonly": false,
|
|
"type": "local"
|
|
},
|
|
"VolumeSnapshot": {
|
|
"auto_delete": true,
|
|
"checksum": "",
|
|
"created_at": "1970-01-01T00:00:00Z",
|
|
"name": "",
|
|
"retention_days": 30,
|
|
"size_gb": 0,
|
|
"volume_name": ""
|
|
}
|
|
}
|