Adds reliability checks to cert-manager, externaldns, and traefik setup.
This commit is contained in:
@@ -16,6 +16,13 @@ TRAEFIK_DIR="${CLUSTER_SETUP_DIR}/traefik"
|
||||
|
||||
print_header "Setting up Traefik ingress controller"
|
||||
|
||||
# Check MetalLB dependency
|
||||
print_info "Verifying MetalLB is ready (required for Traefik LoadBalancer service)..."
|
||||
kubectl wait --for=condition=Ready pod -l component=controller -n metallb-system --timeout=60s 2>/dev/null || {
|
||||
print_warning "MetalLB controller not ready, but continuing with Traefik installation"
|
||||
print_info "Note: Traefik LoadBalancer service may not get external IP without MetalLB"
|
||||
}
|
||||
|
||||
# Install required CRDs first
|
||||
echo "Installing Gateway API CRDs..."
|
||||
kubectl apply -f https://github.com/kubernetes-sigs/gateway-api/releases/download/v1.0.0/standard-install.yaml
|
||||
|
||||
Reference in New Issue
Block a user