Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
marcschier committed Nov 1, 2024
1 parent c3fc357 commit d53fe44
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion deploy/kind/kind-setup.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,12 @@ else {
Write-Host "Error: Unsupported cluster type $ClusterType" -ForegroundColor Red
exit -1
}
kubectl get nodes
$errOut = $($stdout = & {kubectl get nodes}) 2>&1
if ($LASTEXITCODE -ne 0) {
$stdout | Out-Host
throw "Cluster not reachable : $errOut"
}
$stdout | Out-Host


Write-Host "Registering the required resource providers..." -ForegroundColor Cyan
Expand Down

0 comments on commit d53fe44

Please sign in to comment.