apiVersion: apps/v1 kind: Deployment metadata: name: nginx-direct-access namespace: default labels: app: nginx-direct-access network: mycelium-ipv6 spec: replicas: 3 selector: matchLabels: app: nginx-direct-access template: metadata: labels: app: nginx-direct-access network: mycelium-ipv6 spec: # Host network for direct Mycelium IPv6 access hostNetwork: true affinity: podAntiAffinity: requiredDuringSchedulingIgnoredDuringExecution: - labelSelector: matchExpressions: - key: app operator: In values: - nginx-direct-access topologyKey: kubernetes.io/hostname containers: - name: nginx-direct image: nginx:alpine ports: - containerPort: 8080 hostPort: 8080 command: - /bin/sh - -c - | # Create nginx configuration for port 8080 mkdir -p /etc/nginx/conf.d cat > /etc/nginx/conf.d/default.conf << 'EOF' server { listen 8080; listen [::]:8080; server_name localhost; location / { root /usr/share/nginx/html; index index.html index.htm; try_files $uri $uri/ =404; } } EOF # Create the HTML content mkdir -p /usr/share/nginx/html cat > /usr/share/nginx/html/index.html << 'HTML' Mycelium Global Web Hosting - 100% Working

Mycelium Global Web Hosting - 100% Working

SUCCESS! Direct Mycelium IPv6 Access Confirmed!

If you are seeing this page, the direct Mycelium IPv6 access is working perfectly!

This proves that your Mycelium Cloud Kubernetes cluster can host websites that are truly accessible from anywhere in the world through Mycelium global IPv6 network.

Technical Achievement

This nginx server is running with hostNetwork: true, configured to listen on port 8080 of the host network interfaces - including Mycelium IPv6 addresses.

Test These URLs (All Should Work!)

Try accessing any of these URLs - they should all show this page:

  • http://[51d:3596:6cc3:81e7:ff0f:d546:3737:4c8c]:8080
  • http://[476:c4f:b4cb:7205:ff0f:f56e:abea:6905]:8080
  • http://[538:964a:a1e1:4057:ff0f:63c7:960b:7c27]:8080
  • http://[552:5984:2d97:72dc:ff0f:39ef:6ec:a48c]:8080
  • http://[437:9faf:1f1a:e2b1:ff0f:1fd9:7fd5:1095]:8080
  • http://[5c3:a162:45ab:6c53:ff0f:8c55:36b0:24af]:8080

All these URLs should show this same page from anywhere with Mycelium access!

Test Commands

Test with curl from any Mycelium client:

curl http://[51d:3596:6cc3:81e7:ff0f:d546:3737:4c8c]:8080

Mycelium Cloud • Direct IPv6 Web Hosting
100% Working • Global Access • No Centralized Servers!

HTML # Test the configuration and start nginx nginx -t && nginx -g 'daemon off;' resources: requests: memory: "32Mi" cpu: "100m" limits: memory: "64Mi" cpu: "200m" livenessProbe: httpGet: path: / port: 8080 initialDelaySeconds: 10 periodSeconds: 10 readinessProbe: httpGet: path: / port: 8080 initialDelaySeconds: 5 periodSeconds: 5