зеркало из https://github.com/Azure/ARO-RP.git
Filter for the system node pool for cases when there are more than one deployed.
This commit is contained in:
Родитель
cf18e45c73
Коммит
010a95210f
|
@ -28,7 +28,7 @@ fi
|
|||
|
||||
echo "Node RG: ${NODE_RESOURCEGROUP}"
|
||||
|
||||
NODE_VMSS=$( az vmss list -g "$NODE_RESOURCEGROUP" --query '[].name' -otsv )
|
||||
NODE_VMSS=$( az vmss list -g "$NODE_RESOURCEGROUP" --query "[?contains(name, 'system')].name" -otsv )
|
||||
if [[ $(grep -c . <<<"$NODE_VMSS") -ne 1 ]]; then
|
||||
echo "VMSS not found in the node resource group ${NODE_RESOURCEGROUP}"
|
||||
usage
|
||||
|
|
Загрузка…
Ссылка в новой задаче