feat: remove installation scripts for CoreDNS, ExternalDNS, Headlamp, MetalLB, and NVIDIA Device Plugin; update manifests for deployment configurations

This commit is contained in:
2026-05-18 02:46:00 +00:00
parent 872a804aa7
commit b52e76eeeb
11 changed files with 32 additions and 295 deletions

View File

@@ -1,51 +0,0 @@
#!/bin/bash
set -e
set -o pipefail
if [ -z "${WILD_INSTANCE}" ]; then
echo "ERROR: WILD_INSTANCE is not set"
exit 1
fi
if [ -z "${WILD_API_DATA_DIR}" ]; then
echo "ERROR: WILD_API_DATA_DIR is not set"
exit 1
fi
if [ -z "${KUBECONFIG}" ]; then
echo "ERROR: KUBECONFIG is not set"
exit 1
fi
INSTANCE_DIR="${WILD_API_DATA_DIR}/instances/${WILD_INSTANCE}"
METALLB_DIR="${INSTANCE_DIR}/apps/metallb"
echo "=== Setting up MetalLB ==="
echo ""
echo "Using compiled MetalLB templates..."
if [ ! -f "${METALLB_DIR}/kustomization.yaml" ]; then
echo "ERROR: Compiled templates not found at ${METALLB_DIR}"
echo "Templates should be compiled before deployment."
exit 1
fi
echo "Deploying MetalLB installation..."
kubectl apply -k ${METALLB_DIR}/installation
echo "Waiting for MetalLB controller to be ready..."
kubectl wait --for=condition=Available deployment/controller -n metallb-system --timeout=60s
echo "Extra buffer for webhook initialization..."
sleep 10
echo "Applying MetalLB configuration..."
kubectl apply -k ${METALLB_DIR}/configuration
echo ""
echo "MetalLB installed and configured successfully"
echo ""
echo "To verify the installation:"
echo " kubectl get pods -n metallb-system"
echo " kubectl get ipaddresspools.metallb.io -n metallb-system"
echo ""
echo "MetalLB will now provide LoadBalancer IPs for your services"

View File

@@ -8,3 +8,10 @@ defaultConfig:
namespace: metallb-system
ipAddressPool: "192.168.1.240-192.168.1.250"
loadBalancerIp: "192.168.1.240"
deploy:
phases:
- path: installation
waitFor:
name: controller
timeout: "60s"
- path: configuration