Commit 2924a9b
authored
use headless service for upload server (#4052)
apparently there's no k8s API that says
"kube-proxy has synced iptables rules for this service on all nodes"
so pod readiness/healthz (even endpointslices) could all report
success but the client would still face a connection refused.
we faced something similar in virtctl
#3545
arguably, a headless service was the right fit for us anyway
and cuts the above overhead out of the equation.
Signed-off-by: Alex Kalenyuk <[email protected]>1 parent 047a824 commit 2924a9b
2 files changed
Lines changed: 9 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
592 | 592 | | |
593 | 593 | | |
594 | 594 | | |
| 595 | + | |
595 | 596 | | |
596 | 597 | | |
597 | | - | |
598 | | - | |
599 | | - | |
600 | | - | |
601 | | - | |
602 | | - | |
| 598 | + | |
| 599 | + | |
| 600 | + | |
603 | 601 | | |
604 | 602 | | |
605 | 603 | | |
| |||
765 | 763 | | |
766 | 764 | | |
767 | 765 | | |
768 | | - | |
| 766 | + | |
769 | 767 | | |
770 | 768 | | |
771 | 769 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
867 | 867 | | |
868 | 868 | | |
869 | 869 | | |
| 870 | + | |
870 | 871 | | |
871 | 872 | | |
872 | | - | |
873 | | - | |
874 | | - | |
875 | | - | |
876 | | - | |
877 | | - | |
| 873 | + | |
| 874 | + | |
| 875 | + | |
878 | 876 | | |
879 | 877 | | |
880 | 878 | | |
| |||
0 commit comments