From ce8ca097f3b8fa030607145825cb1295dca69b7d Mon Sep 17 00:00:00 2001 From: noasaunders219 <117283483+noasaunders219@users.noreply.github.com> Date: Mon, 2 Oct 2023 17:27:45 +0300 Subject: [PATCH] feature/CON-22742_supportPodSubnetIds (#536) --- .../schemas/ocean-nodePoolProperties.yaml | 40 +++++++++++++------ 1 file changed, 27 insertions(+), 13 deletions(-) diff --git a/api/services/ocean/aksV2/schemas/ocean-nodePoolProperties.yaml b/api/services/ocean/aksV2/schemas/ocean-nodePoolProperties.yaml index af92898fe..cbcffe4c3 100644 --- a/api/services/ocean/aksV2/schemas/ocean-nodePoolProperties.yaml +++ b/api/services/ocean/aksV2/schemas/ocean-nodePoolProperties.yaml @@ -16,18 +16,18 @@ properties: type: boolean example: true osDiskSizeGB: - type: integer - description: | - The size of the OS disk in GB. - For Linux OS, the minimum size is 32GB and for Windows OS the minimum is 128GB. - maximum: 1023 - example: 64 + type: integer + description: | + The size of the OS disk in GB. + For Linux OS, the minimum size is 32GB and for Windows OS the minimum is 128GB. + maximum: 1023 + example: 64 osDiskType: - type: string - description: | - The type of the OS disk. - enum: [ Managed, Ephemeral ] - example: Managed + type: string + description: | + The type of the OS disk. + enum: [ Managed, Ephemeral ] + example: Managed osType: type: string description: | @@ -43,7 +43,21 @@ properties: kubernetesVersion: type: string description: | - The desired Kubernetes version of the luanched nodes. + The desired Kubernetes version of the launched nodes. In case the value is null, the Kubernetes version of the control plane is used. - example: 1.26 \ No newline at end of file + example: 1.26 + vnetSubnetIDs: + type: array + description: | + The IDs of subnets in an existing VNet into which to assign nodes in the cluster (requires azure network-plugin). + items: + type: string + example: [ "/subscriptions/123456-1234-1234-1234-123456789/resourceGroups/ExampleResourceGroup/providers/Microsoft.Network/virtualNetworks/ExampleVirtualNetwork/subnets/default" ] + podSubnetIDs: + type: array + description: | + The IDs of subnets in an existing VNet into which to assign pods in the cluster (requires azure network-plugin). + items: + type: string + example: [ "/subscriptions/123456-1234-1234-1234-123456789/resourceGroups/ExampleResourceGroup/providers/Microsoft.Network/virtualNetworks/ExampleVirtualNetwork/subnets/default" ] \ No newline at end of file