Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update default AIO resource #163

Merged
merged 5 commits into from
Jan 5, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions tools/scripts/AksEdgeQuickStart/AksEdgeQuickStartForAio.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ param(
[string] $Tag
)
#Requires -RunAsAdministrator
New-Variable -Name gAksEdgeQuickStartForAioVersion -Value "1.0.231101.1400" -Option Constant -ErrorAction SilentlyContinue
New-Variable -Name gAksEdgeQuickStartForAioVersion -Value "1.0.231212.1400" -Option Constant -ErrorAction SilentlyContinue

# Specify only AIO supported regions
New-Variable -Option Constant -ErrorAction SilentlyContinue -Name arcLocations -Value @(
Expand Down Expand Up @@ -104,10 +104,10 @@ $aksedgeConfig = @"
"Machines": [
{
"LinuxNode": {
"CpuCount": 8,
"MemoryInMB": 8192,
"DataSizeInGB": 30,
"LogSizeInGB": 4
"CpuCount": 4,
"MemoryInMB": 10240,
"DataSizeInGB": 40,
"LogSizeInGB": 2
}
}
]
Expand Down Expand Up @@ -218,7 +218,7 @@ az connectedk8s connect -n $ClusterName -l $Location -g $ResourceGroupName --sub

# Enable custom location support on your cluster using az connectedk8s enable-features command
Write-Host "Associate Custom location with $ClusterName cluster"
$objectId = az ad sp show --id bc313c14-388c-4e7d-a58e-70017303ee3b --query id -o tsv | Out-Null
$objectId = az ad sp show --id bc313c14-388c-4e7d-a58e-70017303ee3b --query id -o tsv
az connectedk8s enable-features -n $ClusterName -g $ResourceGroupName --custom-locations-oid $objectId --features cluster-connect custom-locations | Out-Null

Write-Host "Step 4: Prep for AIO workload deployment" -ForegroundColor Cyan
Expand Down