Commit 2e27c49
committed
Default to down when defaulting to unknown [sc-15808]
When resources are overburdened, 'pgo test cluster' will show a pod to be
'unknown' and UP, while kubectl get pods will show a pending status. The
pod is not actually up under these conditions, so when we default to
labeling a pod as unknown, before it can be classified as a
primary or replica, we should also classify the pod as DOWN.1 parent 7c10511 commit 2e27c49
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
377 | 377 | | |
378 | 378 | | |
379 | 379 | | |
380 | | - | |
381 | | - | |
| 380 | + | |
382 | 381 | | |
383 | 382 | | |
384 | 383 | | |
| |||
440 | 439 | | |
441 | 440 | | |
442 | 441 | | |
| 442 | + | |
443 | 443 | | |
444 | 444 | | |
445 | 445 | | |
| |||
469 | 469 | | |
470 | 470 | | |
471 | 471 | | |
472 | | - | |
| 472 | + | |
473 | 473 | | |
474 | 474 | | |
475 | 475 | | |
| |||
0 commit comments