apiVersion: apps/v1 kind: Deployment metadata: name: nginx-mycelium namespace: default labels: app: nginx-mycelium network: mycelium spec: replicas: 3 selector: matchLabels: app: nginx-mycelium template: metadata: labels: app: nginx-mycelium network: mycelium spec: containers: - name: nginx image: nginx:alpine ports: - containerPort: 80 volumeMounts: - name: html-content mountPath: /usr/share/nginx/html/index.html subPath: index.html resources: requests: memory: "32Mi" cpu: "100m" limits: memory: "64Mi" cpu: "200m" livenessProbe: httpGet: path: / port: 80 initialDelaySeconds: 5 periodSeconds: 10 readinessProbe: httpGet: path: / port: 80 initialDelaySeconds: 3 periodSeconds: 5 volumes: - name: html-content configMap: name: nginx-mycelium-content --- apiVersion: v1 kind: ConfigMap metadata: name: nginx-mycelium-content namespace: default data: index.html: |
This website is globally accessible via Mycelium Cloud!
This demonstrates that you can host a real website that anyone with Mycelium can access from anywhere in the world.
Your website is accessible via any Mycelium IPv6:
http://[51d:3596:6cc3:81e7:ff0f:d546:3737:4c8c]:30090http://[476:c4f:b4cb:7205:ff0f:f56e:abea:6905]:30090http://[538:964a:a1e1:4057:ff0f:63c7:960b:7c27]:30090http://[552:5984:2d97:72dc:ff0f:39ef:6ec:a48c]:30090http://[437:9faf:1f1a:e2b1:ff0f:1fd9:7fd5:1095]:30090http://[5c3:a162:45ab:6c53:ff0f:8c55:36b0:24af]:30090Anyone with Mycelium can access your website from anywhere!
Test if load balancing is working:
curl -H "Cache-Control: no-cache" http://[51d:3596:6cc3:81e7:ff0f:d546:3737:4c8c]:30090
Try multiple requests to see traffic distribute across different pods!
Mycelium Cloud • Real Global Internet Infrastructure
Deploy once, access worldwide! 🌍