Fix MetalLB component checks to use correct label selectors

This commit is contained in:
2025-05-24 10:18:38 -07:00
parent bb925d56da
commit 696851298b

View File

@@ -290,10 +290,9 @@ show_component_logs() {
}
echo -e "${BLUE}=== Checking Core Components ===${NC}"
# Check MetalLB components - using direct specific label selectors
# We know from checking that our pods use app=metallb,component=speaker/controller labels
check_component "MetalLB Controller" "metallb-system" "app=metallb,component=controller"
check_component "MetalLB Speaker" "metallb-system" "app=metallb,component=speaker"
# Check MetalLB components - using correct label selectors
check_component "MetalLB Controller" "metallb-system" "app.kubernetes.io/component=controller,app.kubernetes.io/name=metallb"
check_component "MetalLB Speaker" "metallb-system" "app.kubernetes.io/component=speaker,app.kubernetes.io/name=metallb"
# Check MetalLB IP address pools
echo -e "${YELLOW}Checking MetalLB IP address pools...${NC}"