diff --git a/index.html b/index.html index d84a856f9..42b8ea559 100644 --- a/index.html +++ b/index.html @@ -3621,16 +3621,16 @@
An object used to specify times when the cluster will turn off. Once the shutdown time will be over, the cluster will return to its previous state.
{- "cluster": {
- "name": "test",
- "controllerClusterId": "test-123124",
- "aks": {
- "clusterName": "test-cluster",
- "resourceGroupName": "TestResourceGroup",
- "region": "eastus",
- "infrastructureResourceGroupName": "MC_TestResourceGroup_test-cluster_eastus"
}, - "autoScaler": {
- "isEnabled": true,
- "resourceLimits": {
- "maxVCpu": 750,
- "maxMemoryGib": 1500
}, - "down": {
- "maxScaleDownPercentage": 30
}, - "headroom": {
- "automatic": {
- "percentage": 5
}
}
}, - "scheduling": {
- "shutdownHours": {
- "timeWindows": [
- "Sat:08:00-Sun:08:00"
], - "isEnabled": true
}
}, - "health": {
- "gracePeriod": 600
}, - "virtualNodeGroupTemplate": {
- "availabilityZones": [
- "1",
- "2",
- "3"
], - "nodePoolProperties": {
- "maxPodsPerNode": 30,
- "enableNodePublicIP": true,
- "osDiskSizeGB": 64,
- "osDiskType": "Managed",
- "osType": "Linux",
- "osSKU": "Ubuntu",
- "kubernetesVersion": 1.26
}, - "nodeCountLimits": {
- "minCount": 1,
- "maxCount": 100
}, - "strategy": {
- "spotPercentage": 50,
- "fallbackToOd": true
}, - "autoScale": {
- "headrooms": [
- {
- "cpuPerUnit": 1024,
- "memoryPerUnit": 512,
- "gpuPerUnit": 0,
- "numOfUnits": 2
}
]
}, - "labels": [
- {
- "key": "value"
}
], - "taints": [
- {
- "key": "taintKey",
- "value": "taintValue",
- "effect": "NoSchedule"
}
], - "tags": { },
- "vmSizes": {
- "filters": {
- "minVCpu": 2,
- "maxVCpu": 16,
- "minMemoryGiB": 8,
- "maxMemoryGiB": 16,
- "architectures": [
- "x86_64"
], - "series": [
- "D v3",
- "F",
- "E v4"
], - "excludeSeries": [
- "Bs",
- "Da v4"
], - "minData": 1,
- "minGpu": 1,
- "maxGpu": 2,
- "diskPerformance": "Standard",
- "acceleratedNetworking": "Enabled",
- "minNICs": 4,
- "vmTypes": [
- "memoryOptimized"
]
}
}
}
}
}
{- "request": {
- "id": "e593ff58-067d-4340-92f9-8b1c0bad70d7",
- "url": "/ocean/azure/np/cluster",
- "method": "POST",
- "timestamp": "2018-06-20T11:35:01.745Z"
}, - "response": {
- "status": {
- "code": 200,
- "message": "OK"
}, - "items": [
- {
- "id": "o-134abcd",
- "name": "test",
- "controllerClusterId": "test-123124",
- "aks": {
- "clusterName": "test-cluster",
- "resourceGroupName": "TestResourceGroup",
- "region": "eastus",
- "infrastructureResourceGroupName": "MC_TestResourceGroup_test-cluster_eastus"
}, - "autoScaler": {
- "isEnabled": true,
- "resourceLimits": {
- "maxVCpu": 750,
- "maxMemoryGib": 1500
}, - "down": {
- "maxScaleDownPercentage": 30
}, - "headroom": {
- "automatic": {
- "percentage": 5
}
}
}, - "scheduling": {
- "shutdownHours": {
- "timeWindows": [
- "Sat:08:00-Sun:08:00"
], - "isEnabled": true
}
}, - "health": {
- "gracePeriod": 600
}, - "virtualNodeGroupTemplate": {
- "availabilityZones": [
- "1",
- "2",
- "3"
], - "nodePoolProperties": {
- "maxPodsPerNode": 30,
- "enableNodePublicIP": true,
- "osDiskSizeGB": 64,
- "osDiskType": "Managed",
- "osType": "Linux",
- "osSKU": "Ubuntu",
- "kubernetesVersion": 1.26
}, - "nodeCountLimits": {
- "minCount": 1,
- "maxCount": 100
}, - "strategy": {
- "spotPercentage": 50,
- "fallbackToOd": true
}, - "autoScale": {
- "headrooms": [
- {
- "cpuPerUnit": 1024,
- "memoryPerUnit": 512,
- "gpuPerUnit": 0,
- "numOfUnits": 2
}
]
}, - "labels": [
- {
- "key": "value"
}
], - "taints": [
- {
- "key": "taintKey",
- "value": "taintValue",
- "effect": "NoSchedule"
}
], - "tags": { },
- "vmSizes": {
- "filters": {
- "minVCpu": 2,
- "maxVCpu": 16,
- "minMemoryGiB": 8,
- "maxMemoryGiB": 16,
- "architectures": [
- "x86_64"
], - "series": [
- "D v3",
- "F",
- "E v4"
], - "excludeSeries": [
- "Bs",
- "Da v4"
], - "minData": 1,
- "minGpu": 1,
- "maxGpu": 2,
- "diskPerformance": "Standard",
- "acceleratedNetworking": "Enabled",
- "minNICs": 4,
- "vmTypes": [
- "memoryOptimized"
]
}
}
}, - "createdAt": "2021-03-17T08:13:08.000Z",
- "updatedAt": "2021-03-17T15:06:13.000Z"
}
], - "count": 1,
- "kind": "spotinst:ocean:azure:np"
}
}
{- "cluster": {
- "name": "test",
- "controllerClusterId": "test-123124",
- "aks": {
- "clusterName": "test-cluster",
- "resourceGroupName": "TestResourceGroup",
- "region": "eastus",
- "infrastructureResourceGroupName": "MC_TestResourceGroup_test-cluster_eastus"
}, - "autoScaler": {
- "isEnabled": true,
- "resourceLimits": {
- "maxVCpu": 750,
- "maxMemoryGib": 1500
}, - "down": {
- "maxScaleDownPercentage": 30
}, - "headroom": {
- "automatic": {
- "percentage": 5
}
}
}, - "scheduling": {
- "shutdownHours": {
- "timeWindows": [
- "Sat:08:00-Sun:08:00"
], - "isEnabled": true
}
}, - "health": {
- "gracePeriod": 600
}, - "virtualNodeGroupTemplate": {
- "availabilityZones": [
- "1",
- "2",
- "3"
], - "nodePoolProperties": {
- "maxPodsPerNode": 30,
- "enableNodePublicIP": true,
- "osDiskSizeGB": 64,
- "osDiskType": "Managed",
- "osType": "Linux",
- "osSKU": "Ubuntu",
- "kubernetesVersion": 1.26,
- "vnetSubnetIDs": [
- "/subscriptions/123456-1234-1234-1234-123456789/resourceGroups/ExampleResourceGroup/providers/Microsoft.Network/virtualNetworks/ExampleVirtualNetwork/subnets/default"
], - "podSubnetIDs": [
- "/subscriptions/123456-1234-1234-1234-123456789/resourceGroups/ExampleResourceGroup/providers/Microsoft.Network/virtualNetworks/ExampleVirtualNetwork/subnets/default"
]
}, - "nodeCountLimits": {
- "minCount": 1,
- "maxCount": 100
}, - "strategy": {
- "spotPercentage": 50,
- "fallbackToOd": true
}, - "autoScale": {
- "headrooms": [
- {
- "cpuPerUnit": 1024,
- "memoryPerUnit": 512,
- "gpuPerUnit": 0,
- "numOfUnits": 2
}
]
}, - "labels": [
- {
- "key": "value"
}
], - "taints": [
- {
- "key": "taintKey",
- "value": "taintValue",
- "effect": "NoSchedule"
}
], - "tags": { },
- "vmSizes": {
- "filters": {
- "minVCpu": 2,
- "maxVCpu": 16,
- "minMemoryGiB": 8,
- "maxMemoryGiB": 16,
- "architectures": [
- "x86_64"
], - "series": [
- "D v3",
- "F",
- "E v4"
], - "excludeSeries": [
- "Bs",
- "Da v4"
], - "minData": 1,
- "minGpu": 1,
- "maxGpu": 2,
- "diskPerformance": "Standard",
- "acceleratedNetworking": "Enabled",
- "minNICs": 4,
- "vmTypes": [
- "memoryOptimized"
]
}
}
}
}
}
{- "request": {
- "id": "e593ff58-067d-4340-92f9-8b1c0bad70d7",
- "url": "/ocean/azure/np/cluster",
- "method": "POST",
- "timestamp": "2018-06-20T11:35:01.745Z"
}, - "response": {
- "status": {
- "code": 200,
- "message": "OK"
}, - "items": [
- {
- "id": "o-134abcd",
- "name": "test",
- "controllerClusterId": "test-123124",
- "aks": {
- "clusterName": "test-cluster",
- "resourceGroupName": "TestResourceGroup",
- "region": "eastus",
- "infrastructureResourceGroupName": "MC_TestResourceGroup_test-cluster_eastus"
}, - "autoScaler": {
- "isEnabled": true,
- "resourceLimits": {
- "maxVCpu": 750,
- "maxMemoryGib": 1500
}, - "down": {
- "maxScaleDownPercentage": 30
}, - "headroom": {
- "automatic": {
- "percentage": 5
}
}
}, - "scheduling": {
- "shutdownHours": {
- "timeWindows": [
- "Sat:08:00-Sun:08:00"
], - "isEnabled": true
}
}, - "health": {
- "gracePeriod": 600
}, - "virtualNodeGroupTemplate": {
- "availabilityZones": [
- "1",
- "2",
- "3"
], - "nodePoolProperties": {
- "maxPodsPerNode": 30,
- "enableNodePublicIP": true,
- "osDiskSizeGB": 64,
- "osDiskType": "Managed",
- "osType": "Linux",
- "osSKU": "Ubuntu",
- "kubernetesVersion": 1.26,
- "vnetSubnetIDs": [
- "/subscriptions/123456-1234-1234-1234-123456789/resourceGroups/ExampleResourceGroup/providers/Microsoft.Network/virtualNetworks/ExampleVirtualNetwork/subnets/default"
], - "podSubnetIDs": [
- "/subscriptions/123456-1234-1234-1234-123456789/resourceGroups/ExampleResourceGroup/providers/Microsoft.Network/virtualNetworks/ExampleVirtualNetwork/subnets/default"
]
}, - "nodeCountLimits": {
- "minCount": 1,
- "maxCount": 100
}, - "strategy": {
- "spotPercentage": 50,
- "fallbackToOd": true
}, - "autoScale": {
- "headrooms": [
- {
- "cpuPerUnit": 1024,
- "memoryPerUnit": 512,
- "gpuPerUnit": 0,
- "numOfUnits": 2
}
]
}, - "labels": [
- {
- "key": "value"
}
], - "taints": [
- {
- "key": "taintKey",
- "value": "taintValue",
- "effect": "NoSchedule"
}
], - "tags": { },
- "vmSizes": {
- "filters": {
- "minVCpu": 2,
- "maxVCpu": 16,
- "minMemoryGiB": 8,
- "maxMemoryGiB": 16,
- "architectures": [
- "x86_64"
], - "series": [
- "D v3",
- "F",
- "E v4"
], - "excludeSeries": [
- "Bs",
- "Da v4"
], - "minData": 1,
- "minGpu": 1,
- "maxGpu": 2,
- "diskPerformance": "Standard",
- "acceleratedNetworking": "Enabled",
- "minNICs": 4,
- "vmTypes": [
- "memoryOptimized"
]
}
}
}, - "createdAt": "2021-03-17T08:13:08.000Z",
- "updatedAt": "2021-03-17T15:06:13.000Z"
}
], - "count": 1,
- "kind": "spotinst:ocean:azure:np"
}
}
List the configurations for all Ocean clusters in the specified account.
accountId required | string Example: accountId=act-123456789 The ID of the account associated with your token. |
{- "request": {
- "id": "e593ff58-067d-4340-92f9-8b1c0bad70d7",
- "url": "/ocean/azure/np/cluster",
- "method": "GET",
- "timestamp": "2018-06-20T11:35:01.745Z"
}, - "response": {
- "status": {
- "code": 200,
- "message": "OK"
}, - "items": [
- {
- "id": "o-134abcd",
- "name": "test",
- "controllerClusterId": "test-123124",
- "aks": {
- "clusterName": "test-cluster",
- "resourceGroupName": "TestResourceGroup",
- "region": "eastus",
- "infrastructureResourceGroupName": "MC_TestResourceGroup_test-cluster_eastus"
}, - "autoScaler": {
- "isEnabled": true,
- "resourceLimits": {
- "maxVCpu": 750,
- "maxMemoryGib": 1500
}, - "down": {
- "maxScaleDownPercentage": 30
}, - "headroom": {
- "automatic": {
- "percentage": 5
}
}
}, - "scheduling": {
- "shutdownHours": {
- "timeWindows": [
- "Sat:08:00-Sun:08:00"
], - "isEnabled": true
}
}, - "health": {
- "gracePeriod": 600
}, - "virtualNodeGroupTemplate": {
- "availabilityZones": [
- "1",
- "2",
- "3"
], - "nodePoolProperties": {
- "maxPodsPerNode": 30,
- "enableNodePublicIP": true,
- "osDiskSizeGB": 64,
- "osDiskType": "Managed",
- "osType": "Linux",
- "osSKU": "Ubuntu",
- "kubernetesVersion": 1.26
}, - "nodeCountLimits": {
- "minCount": 1,
- "maxCount": 100
}, - "strategy": {
- "spotPercentage": 50,
- "fallbackToOd": true
}, - "autoScale": {
- "headrooms": [
- {
- "cpuPerUnit": 1024,
- "memoryPerUnit": 512,
- "gpuPerUnit": 0,
- "numOfUnits": 2
}
]
}, - "labels": [
- {
- "key": "value"
}
], - "taints": [
- {
- "key": "taintKey",
- "value": "taintValue",
- "effect": "NoSchedule"
}
], - "tags": { },
- "vmSizes": {
- "filters": {
- "minVCpu": 2,
- "maxVCpu": 16,
- "minMemoryGiB": 8,
- "maxMemoryGiB": 16,
- "architectures": [
- "x86_64"
], - "series": [
- "D v3",
- "F",
- "E v4"
], - "excludeSeries": [
- "Bs",
- "Da v4"
], - "minData": 1,
- "minGpu": 1,
- "maxGpu": 2,
- "diskPerformance": "Standard",
- "acceleratedNetworking": "Enabled",
- "minNICs": 4,
- "vmTypes": [
- "memoryOptimized"
]
}
}
}, - "createdAt": "2021-03-17T08:13:08.000Z",
- "updatedAt": "2021-03-17T15:06:13.000Z"
}
], - "count": 1,
- "kind": "spotinst:ocean:azure:np"
}
}
{- "request": {
- "id": "e593ff58-067d-4340-92f9-8b1c0bad70d7",
- "url": "/ocean/azure/np/cluster",
- "method": "GET",
- "timestamp": "2018-06-20T11:35:01.745Z"
}, - "response": {
- "status": {
- "code": 200,
- "message": "OK"
}, - "items": [
- {
- "id": "o-134abcd",
- "name": "test",
- "controllerClusterId": "test-123124",
- "aks": {
- "clusterName": "test-cluster",
- "resourceGroupName": "TestResourceGroup",
- "region": "eastus",
- "infrastructureResourceGroupName": "MC_TestResourceGroup_test-cluster_eastus"
}, - "autoScaler": {
- "isEnabled": true,
- "resourceLimits": {
- "maxVCpu": 750,
- "maxMemoryGib": 1500
}, - "down": {
- "maxScaleDownPercentage": 30
}, - "headroom": {
- "automatic": {
- "percentage": 5
}
}
}, - "scheduling": {
- "shutdownHours": {
- "timeWindows": [
- "Sat:08:00-Sun:08:00"
], - "isEnabled": true
}
}, - "health": {
- "gracePeriod": 600
}, - "virtualNodeGroupTemplate": {
- "availabilityZones": [
- "1",
- "2",
- "3"
], - "nodePoolProperties": {
- "maxPodsPerNode": 30,
- "enableNodePublicIP": true,
- "osDiskSizeGB": 64,
- "osDiskType": "Managed",
- "osType": "Linux",
- "osSKU": "Ubuntu",
- "kubernetesVersion": 1.26,
- "vnetSubnetIDs": [
- "/subscriptions/123456-1234-1234-1234-123456789/resourceGroups/ExampleResourceGroup/providers/Microsoft.Network/virtualNetworks/ExampleVirtualNetwork/subnets/default"
], - "podSubnetIDs": [
- "/subscriptions/123456-1234-1234-1234-123456789/resourceGroups/ExampleResourceGroup/providers/Microsoft.Network/virtualNetworks/ExampleVirtualNetwork/subnets/default"
]
}, - "nodeCountLimits": {
- "minCount": 1,
- "maxCount": 100
}, - "strategy": {
- "spotPercentage": 50,
- "fallbackToOd": true
}, - "autoScale": {
- "headrooms": [
- {
- "cpuPerUnit": 1024,
- "memoryPerUnit": 512,
- "gpuPerUnit": 0,
- "numOfUnits": 2
}
]
}, - "labels": [
- {
- "key": "value"
}
], - "taints": [
- {
- "key": "taintKey",
- "value": "taintValue",
- "effect": "NoSchedule"
}
], - "tags": { },
- "vmSizes": {
- "filters": {
- "minVCpu": 2,
- "maxVCpu": 16,
- "minMemoryGiB": 8,
- "maxMemoryGiB": 16,
- "architectures": [
- "x86_64"
], - "series": [
- "D v3",
- "F",
- "E v4"
], - "excludeSeries": [
- "Bs",
- "Da v4"
], - "minData": 1,
- "minGpu": 1,
- "maxGpu": 2,
- "diskPerformance": "Standard",
- "acceleratedNetworking": "Enabled",
- "minNICs": 4,
- "vmTypes": [
- "memoryOptimized"
]
}
}
}, - "createdAt": "2021-03-17T08:13:08.000Z",
- "updatedAt": "2021-03-17T15:06:13.000Z"
}
], - "count": 1,
- "kind": "spotinst:ocean:azure:np"
}
}
Get the configurations for a specified Ocean cluster.
oceanClusterId required | string Example: o-12345abc Identifier of the Ocean cluster. |
accountId required | string Example: accountId=act-123456789 The ID of the account associated with your token. |
{- "request": {
- "id": "e593ff58-067d-4340-92f9-8b1c0bad70d7",
- "url": "/ocean/azure/np/cluster/o-12345abc",
- "method": "GET",
- "timestamp": "2018-06-20T11:35:01.745Z"
}, - "response": {
- "status": {
- "code": 200,
- "message": "OK"
}, - "items": [
- {
- "id": "o-134abcd",
- "name": "test",
- "controllerClusterId": "test-123124",
- "aks": {
- "clusterName": "test-cluster",
- "resourceGroupName": "TestResourceGroup",
- "region": "eastus",
- "infrastructureResourceGroupName": "MC_TestResourceGroup_test-cluster_eastus"
}, - "autoScaler": {
- "isEnabled": true,
- "resourceLimits": {
- "maxVCpu": 750,
- "maxMemoryGib": 1500
}, - "down": {
- "maxScaleDownPercentage": 30
}, - "headroom": {
- "automatic": {
- "percentage": 5
}
}
}, - "scheduling": {
- "shutdownHours": {
- "timeWindows": [
- "Sat:08:00-Sun:08:00"
], - "isEnabled": true
}
}, - "health": {
- "gracePeriod": 600
}, - "virtualNodeGroupTemplate": {
- "availabilityZones": [
- "1",
- "2",
- "3"
], - "nodePoolProperties": {
- "maxPodsPerNode": 30,
- "enableNodePublicIP": true,
- "osDiskSizeGB": 64,
- "osDiskType": "Managed",
- "osType": "Linux",
- "osSKU": "Ubuntu",
- "kubernetesVersion": 1.26
}, - "nodeCountLimits": {
- "minCount": 1,
- "maxCount": 100
}, - "strategy": {
- "spotPercentage": 50,
- "fallbackToOd": true
}, - "autoScale": {
- "headrooms": [
- {
- "cpuPerUnit": 1024,
- "memoryPerUnit": 512,
- "gpuPerUnit": 0,
- "numOfUnits": 2
}
]
}, - "labels": [
- {
- "key": "value"
}
], - "taints": [
- {
- "key": "taintKey",
- "value": "taintValue",
- "effect": "NoSchedule"
}
], - "tags": { },
- "vmSizes": {
- "filters": {
- "minVCpu": 2,
- "maxVCpu": 16,
- "minMemoryGiB": 8,
- "maxMemoryGiB": 16,
- "architectures": [
- "x86_64"
], - "series": [
- "D v3",
- "F",
- "E v4"
], - "excludeSeries": [
- "Bs",
- "Da v4"
], - "minData": 1,
- "minGpu": 1,
- "maxGpu": 2,
- "diskPerformance": "Standard",
- "acceleratedNetworking": "Enabled",
- "minNICs": 4,
- "vmTypes": [
- "memoryOptimized"
]
}
}
}, - "createdAt": "2021-03-17T08:13:08.000Z",
- "updatedAt": "2021-03-17T15:06:13.000Z"
}
], - "count": 1,
- "kind": "spotinst:ocean:azure:np"
}
}
{- "request": {
- "id": "e593ff58-067d-4340-92f9-8b1c0bad70d7",
- "url": "/ocean/azure/np/cluster/o-12345abc",
- "method": "GET",
- "timestamp": "2018-06-20T11:35:01.745Z"
}, - "response": {
- "status": {
- "code": 200,
- "message": "OK"
}, - "items": [
- {
- "id": "o-134abcd",
- "name": "test",
- "controllerClusterId": "test-123124",
- "aks": {
- "clusterName": "test-cluster",
- "resourceGroupName": "TestResourceGroup",
- "region": "eastus",
- "infrastructureResourceGroupName": "MC_TestResourceGroup_test-cluster_eastus"
}, - "autoScaler": {
- "isEnabled": true,
- "resourceLimits": {
- "maxVCpu": 750,
- "maxMemoryGib": 1500
}, - "down": {
- "maxScaleDownPercentage": 30
}, - "headroom": {
- "automatic": {
- "percentage": 5
}
}
}, - "scheduling": {
- "shutdownHours": {
- "timeWindows": [
- "Sat:08:00-Sun:08:00"
], - "isEnabled": true
}
}, - "health": {
- "gracePeriod": 600
}, - "virtualNodeGroupTemplate": {
- "availabilityZones": [
- "1",
- "2",
- "3"
], - "nodePoolProperties": {
- "maxPodsPerNode": 30,
- "enableNodePublicIP": true,
- "osDiskSizeGB": 64,
- "osDiskType": "Managed",
- "osType": "Linux",
- "osSKU": "Ubuntu",
- "kubernetesVersion": 1.26,
- "vnetSubnetIDs": [
- "/subscriptions/123456-1234-1234-1234-123456789/resourceGroups/ExampleResourceGroup/providers/Microsoft.Network/virtualNetworks/ExampleVirtualNetwork/subnets/default"
], - "podSubnetIDs": [
- "/subscriptions/123456-1234-1234-1234-123456789/resourceGroups/ExampleResourceGroup/providers/Microsoft.Network/virtualNetworks/ExampleVirtualNetwork/subnets/default"
]
}, - "nodeCountLimits": {
- "minCount": 1,
- "maxCount": 100
}, - "strategy": {
- "spotPercentage": 50,
- "fallbackToOd": true
}, - "autoScale": {
- "headrooms": [
- {
- "cpuPerUnit": 1024,
- "memoryPerUnit": 512,
- "gpuPerUnit": 0,
- "numOfUnits": 2
}
]
}, - "labels": [
- {
- "key": "value"
}
], - "taints": [
- {
- "key": "taintKey",
- "value": "taintValue",
- "effect": "NoSchedule"
}
], - "tags": { },
- "vmSizes": {
- "filters": {
- "minVCpu": 2,
- "maxVCpu": 16,
- "minMemoryGiB": 8,
- "maxMemoryGiB": 16,
- "architectures": [
- "x86_64"
], - "series": [
- "D v3",
- "F",
- "E v4"
], - "excludeSeries": [
- "Bs",
- "Da v4"
], - "minData": 1,
- "minGpu": 1,
- "maxGpu": 2,
- "diskPerformance": "Standard",
- "acceleratedNetworking": "Enabled",
- "minNICs": 4,
- "vmTypes": [
- "memoryOptimized"
]
}
}
}, - "createdAt": "2021-03-17T08:13:08.000Z",
- "updatedAt": "2021-03-17T15:06:13.000Z"
}
], - "count": 1,
- "kind": "spotinst:ocean:azure:np"
}
}
Update a specified Ocean cluster.
This API supports partial updates, so specific fields can be updated separately.
Notes: @@ -3646,7 +3646,7 @@
An object used to specify times when the cluster will turn off. Once the shutdown time will be over, the cluster will return to its previous state.
{- "cluster": {
- "name": "test",
- "autoScaler": {
- "isEnabled": true,
- "resourceLimits": {
- "maxVCpu": 750,
- "maxMemoryGib": 1500
}, - "down": {
- "maxScaleDownPercentage": 30
}, - "headroom": {
- "automatic": {
- "percentage": 5
}
}
}, - "scheduling": {
- "shutdownHours": {
- "timeWindows": [
- "Sat:08:00-Sun:08:00"
], - "isEnabled": true
}
}, - "health": {
- "gracePeriod": 600
}, - "virtualNodeGroupTemplate": {
- "availabilityZones": [
- "1",
- "2",
- "3"
], - "nodePoolProperties": {
- "maxPodsPerNode": 30,
- "enableNodePublicIP": true,
- "osDiskSizeGB": 64,
- "osDiskType": "Managed",
- "osSKU": "Ubuntu",
- "kubernetesVersion": 1.26
}, - "nodeCountLimits": {
- "minCount": 1,
- "maxCount": 100
}, - "strategy": {
- "spotPercentage": 50,
- "fallbackToOd": true
}, - "autoScale": {
- "headrooms": [
- {
- "cpuPerUnit": 1024,
- "memoryPerUnit": 512,
- "gpuPerUnit": 0,
- "numOfUnits": 2
}
]
}, - "labels": [
- {
- "key": "value"
}
], - "taints": [
- {
- "key": "taintKey",
- "value": "taintValue",
- "effect": "NoSchedule"
}
], - "tags": { },
- "vmSizes": {
- "filters": {
- "minVCpu": 2,
- "maxVCpu": 16,
- "minMemoryGiB": 8,
- "maxMemoryGiB": 16,
- "architectures": [
- "x86_64"
], - "series": [
- "D v3",
- "F",
- "E v4"
], - "excludeSeries": [
- "Bs",
- "Da v4"
], - "minData": 1,
- "minGpu": 1,
- "maxGpu": 2,
- "diskPerformance": "Standard",
- "acceleratedNetworking": "Enabled",
- "minNICs": 4,
- "vmTypes": [
- "memoryOptimized"
]
}
}
}
}
}
{- "request": {
- "id": "e593ff58-067d-4340-92f9-8b1c0bad70d7",
- "url": "/ocean/azure/np/cluster/o-12345abc",
- "method": "PUT",
- "timestamp": "2018-06-20T11:35:01.745Z"
}, - "response": {
- "status": {
- "code": 200,
- "message": "OK"
}, - "items": [
- {
- "id": "o-134abcd",
- "name": "test",
- "controllerClusterId": "test-123124",
- "aks": {
- "clusterName": "test-cluster",
- "resourceGroupName": "TestResourceGroup",
- "region": "eastus",
- "infrastructureResourceGroupName": "MC_TestResourceGroup_test-cluster_eastus"
}, - "autoScaler": {
- "isEnabled": true,
- "resourceLimits": {
- "maxVCpu": 750,
- "maxMemoryGib": 1500
}, - "down": {
- "maxScaleDownPercentage": 30
}, - "headroom": {
- "automatic": {
- "percentage": 5
}
}
}, - "scheduling": {
- "shutdownHours": {
- "timeWindows": [
- "Sat:08:00-Sun:08:00"
], - "isEnabled": true
}
}, - "health": {
- "gracePeriod": 600
}, - "virtualNodeGroupTemplate": {
- "availabilityZones": [
- "1",
- "2",
- "3"
], - "nodePoolProperties": {
- "maxPodsPerNode": 30,
- "enableNodePublicIP": true,
- "osDiskSizeGB": 64,
- "osDiskType": "Managed",
- "osType": "Linux",
- "osSKU": "Ubuntu",
- "kubernetesVersion": 1.26
}, - "nodeCountLimits": {
- "minCount": 1,
- "maxCount": 100
}, - "strategy": {
- "spotPercentage": 50,
- "fallbackToOd": true
}, - "autoScale": {
- "headrooms": [
- {
- "cpuPerUnit": 1024,
- "memoryPerUnit": 512,
- "gpuPerUnit": 0,
- "numOfUnits": 2
}
]
}, - "labels": [
- {
- "key": "value"
}
], - "taints": [
- {
- "key": "taintKey",
- "value": "taintValue",
- "effect": "NoSchedule"
}
], - "tags": { },
- "vmSizes": {
- "filters": {
- "minVCpu": 2,
- "maxVCpu": 16,
- "minMemoryGiB": 8,
- "maxMemoryGiB": 16,
- "architectures": [
- "x86_64"
], - "series": [
- "D v3",
- "F",
- "E v4"
], - "excludeSeries": [
- "Bs",
- "Da v4"
], - "minData": 1,
- "minGpu": 1,
- "maxGpu": 2,
- "diskPerformance": "Standard",
- "acceleratedNetworking": "Enabled",
- "minNICs": 4,
- "vmTypes": [
- "memoryOptimized"
]
}
}
}, - "createdAt": "2021-03-17T08:13:08.000Z",
- "updatedAt": "2021-03-17T15:06:13.000Z"
}
], - "count": 1,
- "kind": "spotinst:ocean:azure:np"
}
}
{- "cluster": {
- "name": "test",
- "autoScaler": {
- "isEnabled": true,
- "resourceLimits": {
- "maxVCpu": 750,
- "maxMemoryGib": 1500
}, - "down": {
- "maxScaleDownPercentage": 30
}, - "headroom": {
- "automatic": {
- "percentage": 5
}
}
}, - "scheduling": {
- "shutdownHours": {
- "timeWindows": [
- "Sat:08:00-Sun:08:00"
], - "isEnabled": true
}
}, - "health": {
- "gracePeriod": 600
}, - "virtualNodeGroupTemplate": {
- "availabilityZones": [
- "1",
- "2",
- "3"
], - "nodePoolProperties": {
- "maxPodsPerNode": 30,
- "enableNodePublicIP": true,
- "osDiskSizeGB": 64,
- "osDiskType": "Managed",
- "osSKU": "Ubuntu",
- "kubernetesVersion": 1.26
}, - "nodeCountLimits": {
- "minCount": 1,
- "maxCount": 100
}, - "strategy": {
- "spotPercentage": 50,
- "fallbackToOd": true
}, - "autoScale": {
- "headrooms": [
- {
- "cpuPerUnit": 1024,
- "memoryPerUnit": 512,
- "gpuPerUnit": 0,
- "numOfUnits": 2
}
]
}, - "labels": [
- {
- "key": "value"
}
], - "taints": [
- {
- "key": "taintKey",
- "value": "taintValue",
- "effect": "NoSchedule"
}
], - "tags": { },
- "vmSizes": {
- "filters": {
- "minVCpu": 2,
- "maxVCpu": 16,
- "minMemoryGiB": 8,
- "maxMemoryGiB": 16,
- "architectures": [
- "x86_64"
], - "series": [
- "D v3",
- "F",
- "E v4"
], - "excludeSeries": [
- "Bs",
- "Da v4"
], - "minData": 1,
- "minGpu": 1,
- "maxGpu": 2,
- "diskPerformance": "Standard",
- "acceleratedNetworking": "Enabled",
- "minNICs": 4,
- "vmTypes": [
- "memoryOptimized"
]
}
}
}
}
}
{- "request": {
- "id": "e593ff58-067d-4340-92f9-8b1c0bad70d7",
- "url": "/ocean/azure/np/cluster/o-12345abc",
- "method": "PUT",
- "timestamp": "2018-06-20T11:35:01.745Z"
}, - "response": {
- "status": {
- "code": 200,
- "message": "OK"
}, - "items": [
- {
- "id": "o-134abcd",
- "name": "test",
- "controllerClusterId": "test-123124",
- "aks": {
- "clusterName": "test-cluster",
- "resourceGroupName": "TestResourceGroup",
- "region": "eastus",
- "infrastructureResourceGroupName": "MC_TestResourceGroup_test-cluster_eastus"
}, - "autoScaler": {
- "isEnabled": true,
- "resourceLimits": {
- "maxVCpu": 750,
- "maxMemoryGib": 1500
}, - "down": {
- "maxScaleDownPercentage": 30
}, - "headroom": {
- "automatic": {
- "percentage": 5
}
}
}, - "scheduling": {
- "shutdownHours": {
- "timeWindows": [
- "Sat:08:00-Sun:08:00"
], - "isEnabled": true
}
}, - "health": {
- "gracePeriod": 600
}, - "virtualNodeGroupTemplate": {
- "availabilityZones": [
- "1",
- "2",
- "3"
], - "nodePoolProperties": {
- "maxPodsPerNode": 30,
- "enableNodePublicIP": true,
- "osDiskSizeGB": 64,
- "osDiskType": "Managed",
- "osType": "Linux",
- "osSKU": "Ubuntu",
- "kubernetesVersion": 1.26,
- "vnetSubnetIDs": [
- "/subscriptions/123456-1234-1234-1234-123456789/resourceGroups/ExampleResourceGroup/providers/Microsoft.Network/virtualNetworks/ExampleVirtualNetwork/subnets/default"
], - "podSubnetIDs": [
- "/subscriptions/123456-1234-1234-1234-123456789/resourceGroups/ExampleResourceGroup/providers/Microsoft.Network/virtualNetworks/ExampleVirtualNetwork/subnets/default"
]
}, - "nodeCountLimits": {
- "minCount": 1,
- "maxCount": 100
}, - "strategy": {
- "spotPercentage": 50,
- "fallbackToOd": true
}, - "autoScale": {
- "headrooms": [
- {
- "cpuPerUnit": 1024,
- "memoryPerUnit": 512,
- "gpuPerUnit": 0,
- "numOfUnits": 2
}
]
}, - "labels": [
- {
- "key": "value"
}
], - "taints": [
- {
- "key": "taintKey",
- "value": "taintValue",
- "effect": "NoSchedule"
}
], - "tags": { },
- "vmSizes": {
- "filters": {
- "minVCpu": 2,
- "maxVCpu": 16,
- "minMemoryGiB": 8,
- "maxMemoryGiB": 16,
- "architectures": [
- "x86_64"
], - "series": [
- "D v3",
- "F",
- "E v4"
], - "excludeSeries": [
- "Bs",
- "Da v4"
], - "minData": 1,
- "minGpu": 1,
- "maxGpu": 2,
- "diskPerformance": "Standard",
- "acceleratedNetworking": "Enabled",
- "minNICs": 4,
- "vmTypes": [
- "memoryOptimized"
]
}
}
}, - "createdAt": "2021-03-17T08:13:08.000Z",
- "updatedAt": "2021-03-17T15:06:13.000Z"
}
], - "count": 1,
- "kind": "spotinst:ocean:azure:np"
}
}
Delete a specified Ocean cluster.
oceanClusterId required | string Example: o-12345abc Identifier of the Ocean cluster. |
accountId required | string Example: accountId=act-123456789 The ID of the account associated with your token. |
The name of the resource group of the AKS cluster.
{- "request": {
- "id": "e593ff58-067d-4340-92f9-8b1c0bad70d7",
- "url": "/ocean/azure/np/cluster/aks/import",
- "method": "POST",
- "timestamp": "2018-06-20T11:35:01.745Z"
}, - "response": {
- "status": {
- "code": 200,
- "message": "OK"
}, - "items": [
- {
- "cluster": {
- "id": "o-134abcd",
- "name": "test",
- "controllerClusterId": "test-123124",
- "aks": {
- "clusterName": "test-cluster",
- "resourceGroupName": "TestResourceGroup",
- "region": "eastus",
- "infrastructureResourceGroupName": "MC_TestResourceGroup_test-cluster_eastus"
}, - "autoScaler": {
- "isEnabled": true,
- "resourceLimits": {
- "maxVCpu": 750,
- "maxMemoryGib": 1500
}, - "down": {
- "maxScaleDownPercentage": 30
}, - "headroom": {
- "automatic": {
- "percentage": 5
}
}
}, - "scheduling": {
- "shutdownHours": {
- "timeWindows": [
- "Sat:08:00-Sun:08:00"
], - "isEnabled": true
}
}, - "health": {
- "gracePeriod": 600
}, - "virtualNodeGroupTemplate": {
- "availabilityZones": [
- "1",
- "2",
- "3"
], - "nodePoolProperties": {
- "maxPodsPerNode": 30,
- "enableNodePublicIP": true,
- "osDiskSizeGB": 64,
- "osDiskType": "Managed",
- "osType": "Linux",
- "osSKU": "Ubuntu",
- "kubernetesVersion": 1.26
}, - "nodeCountLimits": {
- "minCount": 1,
- "maxCount": 100
}, - "strategy": {
- "spotPercentage": 50,
- "fallbackToOd": true
}, - "labels": [
- {
- "key": "value"
}
], - "taints": [
- {
- "key": "taintKey",
- "value": "taintValue",
- "effect": "NoSchedule"
}
], - "tags": { }
}
}
}
], - "count": 1,
- "kind": "spotinst:ocean:azure:np"
}
}
{- "request": {
- "id": "e593ff58-067d-4340-92f9-8b1c0bad70d7",
- "url": "/ocean/azure/np/cluster/aks/import",
- "method": "POST",
- "timestamp": "2018-06-20T11:35:01.745Z"
}, - "response": {
- "status": {
- "code": 200,
- "message": "OK"
}, - "items": [
- {
- "cluster": {
- "id": "o-134abcd",
- "name": "test",
- "controllerClusterId": "test-123124",
- "aks": {
- "clusterName": "test-cluster",
- "resourceGroupName": "TestResourceGroup",
- "region": "eastus",
- "infrastructureResourceGroupName": "MC_TestResourceGroup_test-cluster_eastus"
}, - "autoScaler": {
- "isEnabled": true,
- "resourceLimits": {
- "maxVCpu": 750,
- "maxMemoryGib": 1500
}, - "down": {
- "maxScaleDownPercentage": 30
}, - "headroom": {
- "automatic": {
- "percentage": 5
}
}
}, - "scheduling": {
- "shutdownHours": {
- "timeWindows": [
- "Sat:08:00-Sun:08:00"
], - "isEnabled": true
}
}, - "health": {
- "gracePeriod": 600
}, - "virtualNodeGroupTemplate": {
- "availabilityZones": [
- "1",
- "2",
- "3"
], - "nodePoolProperties": {
- "maxPodsPerNode": 30,
- "enableNodePublicIP": true,
- "osDiskSizeGB": 64,
- "osDiskType": "Managed",
- "osType": "Linux",
- "osSKU": "Ubuntu",
- "kubernetesVersion": 1.26,
- "vnetSubnetIDs": [
- "/subscriptions/123456-1234-1234-1234-123456789/resourceGroups/ExampleResourceGroup/providers/Microsoft.Network/virtualNetworks/ExampleVirtualNetwork/subnets/default"
], - "podSubnetIDs": [
- "/subscriptions/123456-1234-1234-1234-123456789/resourceGroups/ExampleResourceGroup/providers/Microsoft.Network/virtualNetworks/ExampleVirtualNetwork/subnets/default"
]
}, - "nodeCountLimits": {
- "minCount": 1,
- "maxCount": 100
}, - "strategy": {
- "spotPercentage": 50,
- "fallbackToOd": true
}, - "labels": [
- {
- "key": "value"
}
], - "taints": [
- {
- "key": "taintKey",
- "value": "taintValue",
- "effect": "NoSchedule"
}
], - "tags": { }
}
}
}
], - "count": 1,
- "kind": "spotinst:ocean:azure:np"
}
}
Launch new nodes for a cluster.
accountId required | string Example: accountId=act-123456789 The ID of the account associated with your token. |
adjustment required | integer >= 1 The number of nodes to launch. |
applicableVmSizes | Array of strings >= 1 |
availabilityZones | Array of strings An Array holding Availability Zones, this configures the availability zones the Ocean may launch instances in per VNG. @@ -3707,17 +3707,17 @@ |
object (Ocean AKS VM Sizes) The Ocean AKS VM Sizes object. |
{- "virtualNodeGroup": {
- "name": "testVng",
- "oceanId": "o-134abcd",
- "availabilityZones": [
- "1",
- "2",
- "3"
], - "nodePoolProperties": {
- "maxPodsPerNode": 30,
- "enableNodePublicIP": true,
- "osDiskSizeGB": 64,
- "osDiskType": "Managed",
- "osType": "Linux",
- "osSKU": "Ubuntu",
- "kubernetesVersion": 1.26
}, - "nodeCountLimits": {
- "minCount": 1,
- "maxCount": 100
}, - "strategy": {
- "spotPercentage": 50,
- "fallbackToOd": true
}, - "autoScale": {
- "headrooms": [
- {
- "cpuPerUnit": 1024,
- "memoryPerUnit": 512,
- "gpuPerUnit": 0,
- "numOfUnits": 2
}
]
}, - "labels": [
- {
- "key": "value"
}
], - "taints": [
- {
- "key": "taintKey",
- "value": "taintValue",
- "effect": "NoSchedule"
}
], - "tags": { },
- "vmSizes": {
- "filters": {
- "minVCpu": 2,
- "maxVCpu": 16,
- "minMemoryGiB": 8,
- "maxMemoryGiB": 16,
- "architectures": [
- "x86_64"
], - "series": [
- "D v3",
- "F",
- "E v4"
], - "excludeSeries": [
- "Bs",
- "Da v4"
], - "minData": 1,
- "minGpu": 1,
- "maxGpu": 2,
- "diskPerformance": "Standard",
- "acceleratedNetworking": "Enabled",
- "minNICs": 4,
- "vmTypes": [
- "memoryOptimized"
]
}
}
}
}
{- "request": {
- "id": "e593ff58-067d-4340-92f9-8b1c0bad70d7",
- "url": "/ocean/azure/np/virtualNodeGroup",
- "method": "POST",
- "timestamp": "2018-06-20T11:35:01.745Z"
}, - "response": {
- "status": {
- "code": 200,
- "message": "OK"
}, - "items": [
- {
- "id": "vng-134abcd",
- "name": "testVng",
- "oceanId": "o-134abcd",
- "availabilityZones": [
- "1",
- "2",
- "3"
], - "nodePoolProperties": {
- "maxPodsPerNode": 30,
- "enableNodePublicIP": true,
- "osDiskSizeGB": 64,
- "osDiskType": "Managed",
- "osType": "Linux",
- "osSKU": "Ubuntu",
- "kubernetesVersion": 1.26
}, - "nodeCountLimits": {
- "minCount": 1,
- "maxCount": 100
}, - "strategy": {
- "spotPercentage": 50,
- "fallbackToOd": true
}, - "autoScale": {
- "headrooms": [
- {
- "cpuPerUnit": 1024,
- "memoryPerUnit": 512,
- "gpuPerUnit": 0,
- "numOfUnits": 2
}
]
}, - "labels": [
- {
- "key": "value"
}
], - "taints": [
- {
- "key": "taintKey",
- "value": "taintValue",
- "effect": "NoSchedule"
}
], - "tags": { },
- "vmSizes": {
- "filters": {
- "minVCpu": 2,
- "maxVCpu": 16,
- "minMemoryGiB": 8,
- "maxMemoryGiB": 16,
- "architectures": [
- "x86_64"
], - "series": [
- "D v3",
- "F",
- "E v4"
], - "excludeSeries": [
- "Bs",
- "Da v4"
], - "minData": 1,
- "minGpu": 1,
- "maxGpu": 2,
- "diskPerformance": "Standard",
- "acceleratedNetworking": "Enabled",
- "minNICs": 4,
- "vmTypes": [
- "memoryOptimized"
]
}
}, - "createdAt": "2021-03-17T08:13:08.000Z",
- "updatedAt": "2021-03-17T15:06:13.000Z"
}
], - "count": 1,
- "kind": "spotinst:ocean:azure:np:virtualNodeGroup"
}
}
List the configurations for all virtual node groups in the account or in a specified cluster.
+{- "virtualNodeGroup": {
- "name": "testVng",
- "oceanId": "o-134abcd",
- "availabilityZones": [
- "1",
- "2",
- "3"
], - "nodePoolProperties": {
- "maxPodsPerNode": 30,
- "enableNodePublicIP": true,
- "osDiskSizeGB": 64,
- "osDiskType": "Managed",
- "osType": "Linux",
- "osSKU": "Ubuntu",
- "kubernetesVersion": 1.26,
- "vnetSubnetIDs": [
- "/subscriptions/123456-1234-1234-1234-123456789/resourceGroups/ExampleResourceGroup/providers/Microsoft.Network/virtualNetworks/ExampleVirtualNetwork/subnets/default"
], - "podSubnetIDs": [
- "/subscriptions/123456-1234-1234-1234-123456789/resourceGroups/ExampleResourceGroup/providers/Microsoft.Network/virtualNetworks/ExampleVirtualNetwork/subnets/default"
]
}, - "nodeCountLimits": {
- "minCount": 1,
- "maxCount": 100
}, - "strategy": {
- "spotPercentage": 50,
- "fallbackToOd": true
}, - "autoScale": {
- "headrooms": [
- {
- "cpuPerUnit": 1024,
- "memoryPerUnit": 512,
- "gpuPerUnit": 0,
- "numOfUnits": 2
}
]
}, - "labels": [
- {
- "key": "value"
}
], - "taints": [
- {
- "key": "taintKey",
- "value": "taintValue",
- "effect": "NoSchedule"
}
], - "tags": { },
- "vmSizes": {
- "filters": {
- "minVCpu": 2,
- "maxVCpu": 16,
- "minMemoryGiB": 8,
- "maxMemoryGiB": 16,
- "architectures": [
- "x86_64"
], - "series": [
- "D v3",
- "F",
- "E v4"
], - "excludeSeries": [
- "Bs",
- "Da v4"
], - "minData": 1,
- "minGpu": 1,
- "maxGpu": 2,
- "diskPerformance": "Standard",
- "acceleratedNetworking": "Enabled",
- "minNICs": 4,
- "vmTypes": [
- "memoryOptimized"
]
}
}
}
}
{- "request": {
- "id": "e593ff58-067d-4340-92f9-8b1c0bad70d7",
- "url": "/ocean/azure/np/virtualNodeGroup",
- "method": "POST",
- "timestamp": "2018-06-20T11:35:01.745Z"
}, - "response": {
- "status": {
- "code": 200,
- "message": "OK"
}, - "items": [
- {
- "id": "vng-134abcd",
- "name": "testVng",
- "oceanId": "o-134abcd",
- "availabilityZones": [
- "1",
- "2",
- "3"
], - "nodePoolProperties": {
- "maxPodsPerNode": 30,
- "enableNodePublicIP": true,
- "osDiskSizeGB": 64,
- "osDiskType": "Managed",
- "osType": "Linux",
- "osSKU": "Ubuntu",
- "kubernetesVersion": 1.26,
- "vnetSubnetIDs": [
- "/subscriptions/123456-1234-1234-1234-123456789/resourceGroups/ExampleResourceGroup/providers/Microsoft.Network/virtualNetworks/ExampleVirtualNetwork/subnets/default"
], - "podSubnetIDs": [
- "/subscriptions/123456-1234-1234-1234-123456789/resourceGroups/ExampleResourceGroup/providers/Microsoft.Network/virtualNetworks/ExampleVirtualNetwork/subnets/default"
]
}, - "nodeCountLimits": {
- "minCount": 1,
- "maxCount": 100
}, - "strategy": {
- "spotPercentage": 50,
- "fallbackToOd": true
}, - "autoScale": {
- "headrooms": [
- {
- "cpuPerUnit": 1024,
- "memoryPerUnit": 512,
- "gpuPerUnit": 0,
- "numOfUnits": 2
}
]
}, - "labels": [
- {
- "key": "value"
}
], - "taints": [
- {
- "key": "taintKey",
- "value": "taintValue",
- "effect": "NoSchedule"
}
], - "tags": { },
- "vmSizes": {
- "filters": {
- "minVCpu": 2,
- "maxVCpu": 16,
- "minMemoryGiB": 8,
- "maxMemoryGiB": 16,
- "architectures": [
- "x86_64"
], - "series": [
- "D v3",
- "F",
- "E v4"
], - "excludeSeries": [
- "Bs",
- "Da v4"
], - "minData": 1,
- "minGpu": 1,
- "maxGpu": 2,
- "diskPerformance": "Standard",
- "acceleratedNetworking": "Enabled",
- "minNICs": 4,
- "vmTypes": [
- "memoryOptimized"
]
}
}, - "createdAt": "2021-03-17T08:13:08.000Z",
- "updatedAt": "2021-03-17T15:06:13.000Z"
}
], - "count": 1,
- "kind": "spotinst:ocean:azure:np:virtualNodeGroup"
}
}
List the configurations for all virtual node groups in the account or in a specified cluster.
accountId required | string Example: accountId=act-123456789 The ID of the account associated with your token. |
oceanId required | string Example: oceanId=o-12345abc Identifier of the Ocean cluster. |
{- "request": {
- "id": "e593ff58-067d-4340-92f9-8b1c0bad70d7",
- "url": "/ocean/azure/np/virtualNodeGroup",
- "method": "GET",
- "timestamp": "2018-06-20T11:35:01.745Z"
}, - "response": {
- "status": {
- "code": 200,
- "message": "OK"
}, - "items": [
- {
- "id": "vng-134abcd",
- "name": "testVng",
- "oceanId": "o-134abcd",
- "availabilityZones": [
- "1",
- "2",
- "3"
], - "nodePoolProperties": {
- "maxPodsPerNode": 30,
- "enableNodePublicIP": true,
- "osDiskSizeGB": 64,
- "osDiskType": "Managed",
- "osType": "Linux",
- "osSKU": "Ubuntu",
- "kubernetesVersion": 1.26
}, - "nodeCountLimits": {
- "minCount": 1,
- "maxCount": 100
}, - "strategy": {
- "spotPercentage": 50,
- "fallbackToOd": true
}, - "autoScale": {
- "headrooms": [
- {
- "cpuPerUnit": 1024,
- "memoryPerUnit": 512,
- "gpuPerUnit": 0,
- "numOfUnits": 2
}
]
}, - "labels": [
- {
- "key": "value"
}
], - "taints": [
- {
- "key": "taintKey",
- "value": "taintValue",
- "effect": "NoSchedule"
}
], - "tags": { },
- "vmSizes": {
- "filters": {
- "minVCpu": 2,
- "maxVCpu": 16,
- "minMemoryGiB": 8,
- "maxMemoryGiB": 16,
- "architectures": [
- "x86_64"
], - "series": [
- "D v3",
- "F",
- "E v4"
], - "excludeSeries": [
- "Bs",
- "Da v4"
], - "minData": 1,
- "minGpu": 1,
- "maxGpu": 2,
- "diskPerformance": "Standard",
- "acceleratedNetworking": "Enabled",
- "minNICs": 4,
- "vmTypes": [
- "memoryOptimized"
]
}
}, - "createdAt": "2021-03-17T08:13:08.000Z",
- "updatedAt": "2021-03-17T15:06:13.000Z"
}
], - "count": 1,
- "kind": "spotinst:ocean:azure:np:virtualNodeGroup"
}
}
{- "request": {
- "id": "e593ff58-067d-4340-92f9-8b1c0bad70d7",
- "url": "/ocean/azure/np/virtualNodeGroup",
- "method": "GET",
- "timestamp": "2018-06-20T11:35:01.745Z"
}, - "response": {
- "status": {
- "code": 200,
- "message": "OK"
}, - "items": [
- {
- "id": "vng-134abcd",
- "name": "testVng",
- "oceanId": "o-134abcd",
- "availabilityZones": [
- "1",
- "2",
- "3"
], - "nodePoolProperties": {
- "maxPodsPerNode": 30,
- "enableNodePublicIP": true,
- "osDiskSizeGB": 64,
- "osDiskType": "Managed",
- "osType": "Linux",
- "osSKU": "Ubuntu",
- "kubernetesVersion": 1.26,
- "vnetSubnetIDs": [
- "/subscriptions/123456-1234-1234-1234-123456789/resourceGroups/ExampleResourceGroup/providers/Microsoft.Network/virtualNetworks/ExampleVirtualNetwork/subnets/default"
], - "podSubnetIDs": [
- "/subscriptions/123456-1234-1234-1234-123456789/resourceGroups/ExampleResourceGroup/providers/Microsoft.Network/virtualNetworks/ExampleVirtualNetwork/subnets/default"
]
}, - "nodeCountLimits": {
- "minCount": 1,
- "maxCount": 100
}, - "strategy": {
- "spotPercentage": 50,
- "fallbackToOd": true
}, - "autoScale": {
- "headrooms": [
- {
- "cpuPerUnit": 1024,
- "memoryPerUnit": 512,
- "gpuPerUnit": 0,
- "numOfUnits": 2
}
]
}, - "labels": [
- {
- "key": "value"
}
], - "taints": [
- {
- "key": "taintKey",
- "value": "taintValue",
- "effect": "NoSchedule"
}
], - "tags": { },
- "vmSizes": {
- "filters": {
- "minVCpu": 2,
- "maxVCpu": 16,
- "minMemoryGiB": 8,
- "maxMemoryGiB": 16,
- "architectures": [
- "x86_64"
], - "series": [
- "D v3",
- "F",
- "E v4"
], - "excludeSeries": [
- "Bs",
- "Da v4"
], - "minData": 1,
- "minGpu": 1,
- "maxGpu": 2,
- "diskPerformance": "Standard",
- "acceleratedNetworking": "Enabled",
- "minNICs": 4,
- "vmTypes": [
- "memoryOptimized"
]
}
}, - "createdAt": "2021-03-17T08:13:08.000Z",
- "updatedAt": "2021-03-17T15:06:13.000Z"
}
], - "count": 1,
- "kind": "spotinst:ocean:azure:np:virtualNodeGroup"
}
}
Get the configuration of a specified virtual node group.
virtualNodeGroupId required | string Example: vng-12345abc Ocean Virtual Node Group identifier. |
accountId required | string Example: accountId=act-123456789 The ID of the account associated with your token. |
{- "request": {
- "id": "e593ff58-067d-4340-92f9-8b1c0bad70d7",
- "url": "/ocean/azure/np/virtualNodeGroup/vng-12345abc",
- "method": "GET",
- "timestamp": "2018-06-20T11:35:01.745Z"
}, - "response": {
- "status": {
- "code": 200,
- "message": "OK"
}, - "items": [
- {
- "id": "vng-134abcd",
- "name": "testVng",
- "oceanId": "o-134abcd",
- "availabilityZones": [
- "1",
- "2",
- "3"
], - "nodePoolProperties": {
- "maxPodsPerNode": 30,
- "enableNodePublicIP": true,
- "osDiskSizeGB": 64,
- "osDiskType": "Managed",
- "osType": "Linux",
- "osSKU": "Ubuntu",
- "kubernetesVersion": 1.26
}, - "nodeCountLimits": {
- "minCount": 1,
- "maxCount": 100
}, - "strategy": {
- "spotPercentage": 50,
- "fallbackToOd": true
}, - "autoScale": {
- "headrooms": [
- {
- "cpuPerUnit": 1024,
- "memoryPerUnit": 512,
- "gpuPerUnit": 0,
- "numOfUnits": 2
}
]
}, - "labels": [
- {
- "key": "value"
}
], - "taints": [
- {
- "key": "taintKey",
- "value": "taintValue",
- "effect": "NoSchedule"
}
], - "tags": { },
- "vmSizes": {
- "filters": {
- "minVCpu": 2,
- "maxVCpu": 16,
- "minMemoryGiB": 8,
- "maxMemoryGiB": 16,
- "architectures": [
- "x86_64"
], - "series": [
- "D v3",
- "F",
- "E v4"
], - "excludeSeries": [
- "Bs",
- "Da v4"
], - "minData": 1,
- "minGpu": 1,
- "maxGpu": 2,
- "diskPerformance": "Standard",
- "acceleratedNetworking": "Enabled",
- "minNICs": 4,
- "vmTypes": [
- "memoryOptimized"
]
}
}, - "createdAt": "2021-03-17T08:13:08.000Z",
- "updatedAt": "2021-03-17T15:06:13.000Z"
}
], - "count": 1,
- "kind": "spotinst:ocean:azure:np:virtualNodeGroup"
}
}
{- "request": {
- "id": "e593ff58-067d-4340-92f9-8b1c0bad70d7",
- "url": "/ocean/azure/np/virtualNodeGroup/vng-12345abc",
- "method": "GET",
- "timestamp": "2018-06-20T11:35:01.745Z"
}, - "response": {
- "status": {
- "code": 200,
- "message": "OK"
}, - "items": [
- {
- "id": "vng-134abcd",
- "name": "testVng",
- "oceanId": "o-134abcd",
- "availabilityZones": [
- "1",
- "2",
- "3"
], - "nodePoolProperties": {
- "maxPodsPerNode": 30,
- "enableNodePublicIP": true,
- "osDiskSizeGB": 64,
- "osDiskType": "Managed",
- "osType": "Linux",
- "osSKU": "Ubuntu",
- "kubernetesVersion": 1.26,
- "vnetSubnetIDs": [
- "/subscriptions/123456-1234-1234-1234-123456789/resourceGroups/ExampleResourceGroup/providers/Microsoft.Network/virtualNetworks/ExampleVirtualNetwork/subnets/default"
], - "podSubnetIDs": [
- "/subscriptions/123456-1234-1234-1234-123456789/resourceGroups/ExampleResourceGroup/providers/Microsoft.Network/virtualNetworks/ExampleVirtualNetwork/subnets/default"
]
}, - "nodeCountLimits": {
- "minCount": 1,
- "maxCount": 100
}, - "strategy": {
- "spotPercentage": 50,
- "fallbackToOd": true
}, - "autoScale": {
- "headrooms": [
- {
- "cpuPerUnit": 1024,
- "memoryPerUnit": 512,
- "gpuPerUnit": 0,
- "numOfUnits": 2
}
]
}, - "labels": [
- {
- "key": "value"
}
], - "taints": [
- {
- "key": "taintKey",
- "value": "taintValue",
- "effect": "NoSchedule"
}
], - "tags": { },
- "vmSizes": {
- "filters": {
- "minVCpu": 2,
- "maxVCpu": 16,
- "minMemoryGiB": 8,
- "maxMemoryGiB": 16,
- "architectures": [
- "x86_64"
], - "series": [
- "D v3",
- "F",
- "E v4"
], - "excludeSeries": [
- "Bs",
- "Da v4"
], - "minData": 1,
- "minGpu": 1,
- "maxGpu": 2,
- "diskPerformance": "Standard",
- "acceleratedNetworking": "Enabled",
- "minNICs": 4,
- "vmTypes": [
- "memoryOptimized"
]
}
}, - "createdAt": "2021-03-17T08:13:08.000Z",
- "updatedAt": "2021-03-17T15:06:13.000Z"
}
], - "count": 1,
- "kind": "spotinst:ocean:azure:np:virtualNodeGroup"
}
}
Update a specified virtual node group in an Ocean cluster.
This API supports partial updates, so specific fields can be updated separately.
Notes: @@ -3760,7 +3760,7 @@
The Ocean AKS VM Sizes object.
{- "virtualNodeGroup": {
- "name": "testVng",
- "availabilityZones": [
- "1",
- "2",
- "3"
], - "nodePoolProperties": {
- "maxPodsPerNode": 30,
- "enableNodePublicIP": true,
- "osDiskSizeGB": 64,
- "osDiskType": "Managed",
- "osSKU": "Ubuntu",
- "kubernetesVersion": 1.26
}, - "nodeCountLimits": {
- "minCount": 1,
- "maxCount": 100
}, - "strategy": {
- "spotPercentage": 50,
- "fallbackToOd": true
}, - "autoScale": {
- "headrooms": [
- {
- "cpuPerUnit": 1024,
- "memoryPerUnit": 512,
- "gpuPerUnit": 0,
- "numOfUnits": 2
}
]
}, - "labels": [
- {
- "key": "value"
}
], - "taints": [
- {
- "key": "taintKey",
- "value": "taintValue",
- "effect": "NoSchedule"
}
], - "tags": { },
- "vmSizes": {
- "filters": {
- "minVCpu": 2,
- "maxVCpu": 16,
- "minMemoryGiB": 8,
- "maxMemoryGiB": 16,
- "architectures": [
- "x86_64"
], - "series": [
- "D v3",
- "F",
- "E v4"
], - "excludeSeries": [
- "Bs",
- "Da v4"
], - "minData": 1,
- "minGpu": 1,
- "maxGpu": 2,
- "diskPerformance": "Standard",
- "acceleratedNetworking": "Enabled",
- "minNICs": 4,
- "vmTypes": [
- "memoryOptimized"
]
}
}
}
}
{- "request": {
- "id": "e593ff58-067d-4340-92f9-8b1c0bad70d7",
- "url": "/ocean/azure/np/virtualNodeGroup/vng-12345abc",
- "method": "PUT",
- "timestamp": "2018-06-20T11:35:01.745Z"
}, - "response": {
- "status": {
- "code": 200,
- "message": "OK"
}, - "items": [
- {
- "id": "vng-134abcd",
- "name": "testVng",
- "oceanId": "o-134abcd",
- "availabilityZones": [
- "1",
- "2",
- "3"
], - "nodePoolProperties": {
- "maxPodsPerNode": 30,
- "enableNodePublicIP": true,
- "osDiskSizeGB": 64,
- "osDiskType": "Managed",
- "osType": "Linux",
- "osSKU": "Ubuntu",
- "kubernetesVersion": 1.26
}, - "nodeCountLimits": {
- "minCount": 1,
- "maxCount": 100
}, - "strategy": {
- "spotPercentage": 50,
- "fallbackToOd": true
}, - "autoScale": {
- "headrooms": [
- {
- "cpuPerUnit": 1024,
- "memoryPerUnit": 512,
- "gpuPerUnit": 0,
- "numOfUnits": 2
}
]
}, - "labels": [
- {
- "key": "value"
}
], - "taints": [
- {
- "key": "taintKey",
- "value": "taintValue",
- "effect": "NoSchedule"
}
], - "tags": { },
- "vmSizes": {
- "filters": {
- "minVCpu": 2,
- "maxVCpu": 16,
- "minMemoryGiB": 8,
- "maxMemoryGiB": 16,
- "architectures": [
- "x86_64"
], - "series": [
- "D v3",
- "F",
- "E v4"
], - "excludeSeries": [
- "Bs",
- "Da v4"
], - "minData": 1,
- "minGpu": 1,
- "maxGpu": 2,
- "diskPerformance": "Standard",
- "acceleratedNetworking": "Enabled",
- "minNICs": 4,
- "vmTypes": [
- "memoryOptimized"
]
}
}, - "createdAt": "2021-03-17T08:13:08.000Z",
- "updatedAt": "2021-03-17T15:06:13.000Z"
}
], - "count": 1,
- "kind": "spotinst:ocean:azure:np:virtualNodeGroup"
}
}
{- "virtualNodeGroup": {
- "name": "testVng",
- "availabilityZones": [
- "1",
- "2",
- "3"
], - "nodePoolProperties": {
- "maxPodsPerNode": 30,
- "enableNodePublicIP": true,
- "osDiskSizeGB": 64,
- "osDiskType": "Managed",
- "osSKU": "Ubuntu",
- "kubernetesVersion": 1.26
}, - "nodeCountLimits": {
- "minCount": 1,
- "maxCount": 100
}, - "strategy": {
- "spotPercentage": 50,
- "fallbackToOd": true
}, - "autoScale": {
- "headrooms": [
- {
- "cpuPerUnit": 1024,
- "memoryPerUnit": 512,
- "gpuPerUnit": 0,
- "numOfUnits": 2
}
]
}, - "labels": [
- {
- "key": "value"
}
], - "taints": [
- {
- "key": "taintKey",
- "value": "taintValue",
- "effect": "NoSchedule"
}
], - "tags": { },
- "vmSizes": {
- "filters": {
- "minVCpu": 2,
- "maxVCpu": 16,
- "minMemoryGiB": 8,
- "maxMemoryGiB": 16,
- "architectures": [
- "x86_64"
], - "series": [
- "D v3",
- "F",
- "E v4"
], - "excludeSeries": [
- "Bs",
- "Da v4"
], - "minData": 1,
- "minGpu": 1,
- "maxGpu": 2,
- "diskPerformance": "Standard",
- "acceleratedNetworking": "Enabled",
- "minNICs": 4,
- "vmTypes": [
- "memoryOptimized"
]
}
}
}
}
{- "request": {
- "id": "e593ff58-067d-4340-92f9-8b1c0bad70d7",
- "url": "/ocean/azure/np/virtualNodeGroup/vng-12345abc",
- "method": "PUT",
- "timestamp": "2018-06-20T11:35:01.745Z"
}, - "response": {
- "status": {
- "code": 200,
- "message": "OK"
}, - "items": [
- {
- "id": "vng-134abcd",
- "name": "testVng",
- "oceanId": "o-134abcd",
- "availabilityZones": [
- "1",
- "2",
- "3"
], - "nodePoolProperties": {
- "maxPodsPerNode": 30,
- "enableNodePublicIP": true,
- "osDiskSizeGB": 64,
- "osDiskType": "Managed",
- "osType": "Linux",
- "osSKU": "Ubuntu",
- "kubernetesVersion": 1.26,
- "vnetSubnetIDs": [
- "/subscriptions/123456-1234-1234-1234-123456789/resourceGroups/ExampleResourceGroup/providers/Microsoft.Network/virtualNetworks/ExampleVirtualNetwork/subnets/default"
], - "podSubnetIDs": [
- "/subscriptions/123456-1234-1234-1234-123456789/resourceGroups/ExampleResourceGroup/providers/Microsoft.Network/virtualNetworks/ExampleVirtualNetwork/subnets/default"
]
}, - "nodeCountLimits": {
- "minCount": 1,
- "maxCount": 100
}, - "strategy": {
- "spotPercentage": 50,
- "fallbackToOd": true
}, - "autoScale": {
- "headrooms": [
- {
- "cpuPerUnit": 1024,
- "memoryPerUnit": 512,
- "gpuPerUnit": 0,
- "numOfUnits": 2
}
]
}, - "labels": [
- {
- "key": "value"
}
], - "taints": [
- {
- "key": "taintKey",
- "value": "taintValue",
- "effect": "NoSchedule"
}
], - "tags": { },
- "vmSizes": {
- "filters": {
- "minVCpu": 2,
- "maxVCpu": 16,
- "minMemoryGiB": 8,
- "maxMemoryGiB": 16,
- "architectures": [
- "x86_64"
], - "series": [
- "D v3",
- "F",
- "E v4"
], - "excludeSeries": [
- "Bs",
- "Da v4"
], - "minData": 1,
- "minGpu": 1,
- "maxGpu": 2,
- "diskPerformance": "Standard",
- "acceleratedNetworking": "Enabled",
- "minNICs": 4,
- "vmTypes": [
- "memoryOptimized"
]
}
}, - "createdAt": "2021-03-17T08:13:08.000Z",
- "updatedAt": "2021-03-17T15:06:13.000Z"
}
], - "count": 1,
- "kind": "spotinst:ocean:azure:np:virtualNodeGroup"
}
}
Delete a specified virtual node group in an Ocean cluster.
virtualNodeGroupId required | string Example: vng-12345abc Ocean Virtual Node Group identifier. |
accountId required | string Example: accountId=act-123456789 The ID of the account associated with your token. |
deleteNodes | boolean Default: false Example: deleteNodes=true When set to "true", all instances belonging to the deleted launch specification will be drained, detached, and terminated. @@ -3773,7 +3773,7 @@ |
oceanId required | string Example: oceanId=o-12345abc Identifier of the Ocean cluster. |
{- "request": {
- "id": "e593ff58-067d-4340-92f9-8b1c0bad70d7",
- "url": "/ocean/azure/np/virtualNodeGroup/import",
- "method": "POST",
- "timestamp": "2018-06-20T11:35:01.745Z"
}, - "response": {
- "status": {
- "code": 200,
- "message": "OK"
}, - "items": [
- {
- "virtualNodeGroup": {
- "name": "testVng",
- "oceanId": "o-134abcd",
- "availabilityZones": [
- "1",
- "2",
- "3"
], - "nodePoolProperties": {
- "maxPodsPerNode": 30,
- "enableNodePublicIP": true,
- "osDiskSizeGB": 64,
- "osDiskType": "Managed",
- "osType": "Linux",
- "osSKU": "Ubuntu",
- "kubernetesVersion": 1.26
}, - "nodeCountLimits": {
- "minCount": 1,
- "maxCount": 100
}, - "strategy": {
- "spotPercentage": 50,
- "fallbackToOd": true
}, - "labels": [
- {
- "key": "value"
}
], - "taints": [
- {
- "key": "taintKey",
- "value": "taintValue",
- "effect": "NoSchedule"
}
], - "tags": { }
}
}
], - "count": 1,
- "kind": "spotinst:ocean:azure:np"
}
}
Get the allowed VM sizes that can be launched according to the virtual node group properties and selected VM size filters.
+{- "request": {
- "id": "e593ff58-067d-4340-92f9-8b1c0bad70d7",
- "url": "/ocean/azure/np/virtualNodeGroup/import",
- "method": "POST",
- "timestamp": "2018-06-20T11:35:01.745Z"
}, - "response": {
- "status": {
- "code": 200,
- "message": "OK"
}, - "items": [
- {
- "virtualNodeGroup": {
- "name": "testVng",
- "oceanId": "o-134abcd",
- "availabilityZones": [
- "1",
- "2",
- "3"
], - "nodePoolProperties": {
- "maxPodsPerNode": 30,
- "enableNodePublicIP": true,
- "osDiskSizeGB": 64,
- "osDiskType": "Managed",
- "osType": "Linux",
- "osSKU": "Ubuntu",
- "kubernetesVersion": 1.26,
- "vnetSubnetIDs": [
- "/subscriptions/123456-1234-1234-1234-123456789/resourceGroups/ExampleResourceGroup/providers/Microsoft.Network/virtualNetworks/ExampleVirtualNetwork/subnets/default"
], - "podSubnetIDs": [
- "/subscriptions/123456-1234-1234-1234-123456789/resourceGroups/ExampleResourceGroup/providers/Microsoft.Network/virtualNetworks/ExampleVirtualNetwork/subnets/default"
]
}, - "nodeCountLimits": {
- "minCount": 1,
- "maxCount": 100
}, - "strategy": {
- "spotPercentage": 50,
- "fallbackToOd": true
}, - "labels": [
- {
- "key": "value"
}
], - "taints": [
- {
- "key": "taintKey",
- "value": "taintValue",
- "effect": "NoSchedule"
}
], - "tags": { }
}
}
], - "count": 1,
- "kind": "spotinst:ocean:azure:np"
}
}
Get the allowed VM sizes that can be launched according to the virtual node group properties and selected VM size filters.
accountId required | string Example: accountId=act-123456789 The ID of the account associated with your token. |
virtualNodeGroupId required | string Example: virtualNodeGroupId=vng-12345abc Ocean Virtual Node Group identifier. |
accountId | string Example: accountId=act-123abc ID of the account associated with your token |
required | object Object defining the subscription parameters | ||||||
|