docs: archive entra materials and simplify deployment docs

This commit is contained in:
defiQUG
2026-04-18 12:05:55 -07:00
parent 0f600e6a31
commit bbb6ce6a6c
256 changed files with 4188 additions and 3881 deletions
+15 -24
View File
@@ -16,31 +16,23 @@ log_info "=========================================="
# 14.1 Health Checks
log_step "14.1 Running health checks..."
if ! kubectl cluster-info &> /dev/null; then
az aks get-credentials --resource-group "${AKS_RESOURCE_GROUP}" \
--name "${AKS_NAME}" \
--overwrite-existing
fi
check_proxmox_access
# Check all pods
log_info "Checking pod status..."
kubectl get pods -n "${NAMESPACE}" || log_warning "Failed to get pods"
curl -fsS "http://${ORDER_PORTAL_PUBLIC_IP}:${ORDER_PORTAL_PUBLIC_PORT}/api/health" >/dev/null \
&& log_success "Direct Order CT health check passed" \
|| log_warning "Direct Order CT health check failed"
# Check service endpoints
log_info "Checking service endpoints..."
for service in "${SERVICES[@]}"; do
if kubectl get svc "${service}" -n "${NAMESPACE}" &> /dev/null; then
PORT="${SERVICE_PORTS[$service]}"
log_info "Testing ${service} health endpoint..."
kubectl run test-${service}-health \
--image=curlimages/curl \
--rm -i --restart=Never \
-- curl -f "http://${service}:${PORT}/health" \
-n "${NAMESPACE}" 2>/dev/null && \
log_success "${service} health check passed" || \
log_warning "${service} health check failed"
fi
done
curl -fsS -H "Host: the-order.sankofa.nexus" "http://${ORDER_HAPROXY_IP}/api/health" >/dev/null \
&& log_success "Order HAProxy health check passed" \
|| log_warning "Order HAProxy health check failed"
curl -fsS "${THE_ORDER_PUBLIC_URL}/api/health" >/dev/null \
&& log_success "Public The Order health check passed" \
|| log_warning "Public The Order health check failed"
curl -fsS "${SANKOFA_PHOENIX_URL}/health" >/dev/null \
&& log_success "Phoenix public health check passed" \
|| log_warning "Phoenix public health check failed"
# 14.2 Integration Testing
log_step "14.2 Running integration tests..."
@@ -66,4 +58,3 @@ save_state "phase14" "complete"
log_success "=========================================="
log_success "Phase 14: Testing & Validation - COMPLETE"
log_success "=========================================="