Skip to content

Commit

Permalink
testing
Browse files Browse the repository at this point in the history
  • Loading branch information
sebassem committed Jul 8, 2024
1 parent 6b56f9e commit 3460755
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions azure_jumpstart_arcbox/artifacts/DataOpsLogonScript.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -371,14 +371,14 @@ $clusters | Foreach-Object -ThrottleLimit 5 -Parallel {
Start-Sleep -Seconds 10

Write-Host "Creating custom location on $clusterName"
kubectx $cluster.context | Out-Null
az connectedk8s enable-features -n $clusterName -g $Env:resourceGroup --custom-locations-oid $Env:customLocationRPOID --features cluster-connect custom-locations --only-show-errors
#kubectx $cluster.context | Out-Null
az connectedk8s enable-features -n $clusterName -g $Env:resourceGroup --kube-config $cluster.kubeConfig --kube-context $cluster.context --custom-locations-oid $Env:customLocationRPOID --features cluster-connect custom-locations --only-show-errors

Start-Sleep -Seconds 20
Start-Sleep -Seconds 10

az customlocation create --name $customLocation --resource-group $Env:resourceGroup --namespace arc --host-resource-id $connectedClusterId --cluster-extension-ids $extensionId --only-show-errors
az customlocation create --name $customLocation --resource-group $Env:resourceGroup --kubeconfig $cluster.kubeConfig --namespace arc --host-resource-id $connectedClusterId --cluster-extension-ids $extensionId --only-show-errors

Start-Sleep -Seconds 30
Start-Sleep -Seconds 10

# Deploying the Azure Arc Data Controller
$context = $cluster.context
Expand Down

0 comments on commit 3460755

Please sign in to comment.