apiVersion: apps/v1 kind: Deployment metadata: name: nginx-global-access namespace: default labels: app: nginx-global-access network: mycelium-ipv6 spec: replicas: 3 selector: matchLabels: app: nginx-global-access template: metadata: labels: app: nginx-global-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-global-access topologyKey: kubernetes.io/hostname containers: - name: nginx-global image: nginx:alpine # Different ports on different nodes - keep it simple ports: - containerPort: 8080 hostPort: 8080 - containerPort: 8081 hostPort: 8081 - containerPort: 8082 hostPort: 8082 # Create a simple HTML file directly in the container command: - /bin/sh - -c - | mkdir -p /usr/share/nginx/html cat > /usr/share/nginx/html/index.html << 'EOF'
If you're 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's global IPv6 network.
This nginx server is running with hostNetwork: true, which means it's directly bound to the host's network interfaces - including Mycelium's IPv6 addresses.
Try accessing any of these URLs - they should all show this page:
Port 8080:
http://[51d:3596:6cc3:81e7:ff0f:d546:3737:4c8c]:8080http://[476:c4f:b4cb:7205:ff0f:f56e:abea:6905]:8080Port 8081:
http://[538:964a:a1e1:4057:ff0f:63c7:960b:7c27]:8081http://[552:5984:2d97:72dc:ff0f:39ef:6ec:a48c]:8081Port 8082:
http://[437:9faf:1f1a:e2b1:ff0f:1fd9:7fd5:1095]:8082http://[5c3:a162:45ab:6c53:ff0f:8c55:36b0:24af]:8082All these URLs should show this same page from anywhere with Mycelium access!
Test with curl from any Mycelium client:
curl http://[51d:3596:6cc3:81e7:ff0f:d546:3737:4c8c]:8080
Or test multiple ports:
curl http://[51d:3596:6cc3:81e7:ff0f:d546:3737:4c8c]:8080
curl http://[538:964a:a1e1:4057:ff0f:63c7:960b:7c27]:8081
curl http://[437:9faf:1f1a:e2b1:ff0f:1fd9:7fd5:1095]:8082
Mycelium Cloud โข Direct IPv6 Web Hosting
๐ฏ 100% Working โข Global Access โข No Centralized Servers! ๐