Skip to content
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion test/integration/manifests/noop-deployment-windows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ spec:
spec:
containers:
- name: noop
image: mcr.microsoft.com/windows/nanoserver:ltsc2022
image: mcr.microsoft.com/oss/kubernetes/pause:3.6
ports:
- containerPort: 80
nodeSelector:
Expand Down
2 changes: 2 additions & 0 deletions test/internal/k8sutils/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,8 @@ func WaitForPodDeployment(ctx context.Context, clientset *kubernetes.Clientset,
}

if deployment.Status.AvailableReplicas != int32(replicas) {
// Provide real-time deployment availability to console
log.Printf("deployment %s has %d replicas in available status, expected %d", deploymentName, deployment.Status.AvailableReplicas, replicas)
return errors.New("deployment does not have the expected number of available replicas")
}

Expand Down