feat: Add final deployment report, verification docs, and testing scripts for nginx-mycelium IPv6 hosting

This commit is contained in:
mik-tf
2025-11-05 22:17:41 -05:00
parent 7271107890
commit de267609d9
5 changed files with 745 additions and 0 deletions

View File

@@ -0,0 +1,49 @@
#!/bin/bash
# Mycelium IPv6 Website Testing Script
echo "🌐 Testing Mycelium IPv6 Website Accessibility"
echo "============================================="
# Get IPv6 addresses
echo "🔍 Discovering Mycelium IPv6 addresses..."
IPV6_ADDRESSES=$(kubectl get nodes -o jsonpath='{.items[*].metadata.annotations.mycelium\.cloud/ip}' | tr ' ' '\n')
if [ -z "$IPV6_ADDRESSES" ]; then
echo "❌ No IPv6 addresses found!"
exit 1
fi
echo "✅ Found IPv6 addresses:"
echo "$IPV6_ADDRESSES" | nl
# Test first address
FIRST_IP=$(echo "$IPV6_ADDRESSES" | head -1)
URL="http://[$FIRST_IP]:8080"
echo ""
echo "🧪 Testing website access..."
echo "Testing URL: $URL"
# Test HTTP response
if curl -s --connect-timeout 10 --max-time 15 -H "User-Agent: Mycelium-IPv6-Test" "$URL" > /dev/null; then
echo "✅ SUCCESS: Website is accessible!"
echo ""
echo "📄 Website content preview:"
echo "---"
curl -s --connect-timeout 10 --max-time 15 "$URL" | head -20
echo "---"
echo ""
echo "🎯 All working URLs:"
echo "$IPV6_ADDRESSES" | while read ip; do
echo " http://[$ip]:8080"
done
else
echo "❌ FAILED: Cannot connect to $URL"
echo "This might be due to Mycelium network connectivity or routing issues."
fi
echo ""
echo "📋 Summary:"
echo " Deployment: mycelium-website (running on port 8080)"
echo " Access URLs: http://[ipv6]:8080"
echo " IPv6 Count: $(echo "$IPV6_ADDRESSES" | wc -l) addresses available"