apiVersion: apps/v1 kind: Deployment metadata: name: nginx-mycelium-global labels: app: nginx-mycelium-global network: mycelium spec: replicas: 3 selector: matchLabels: app: nginx-mycelium-global template: metadata: labels: app: nginx-mycelium-global network: mycelium spec: hostNetwork: true # Direct access to Mycelium IPv6 interfaces containers: - name: nginx image: nginx:alpine ports: - containerPort: 8080 # Using 8080 instead of 80 to avoid conflicts hostPort: 8080 resources: limits: cpu: 200m memory: 64Mi requests: cpu: 100m memory: 32Mi livenessProbe: httpGet: path: / port: 8080 initialDelaySeconds: 5 periodSeconds: 10 readinessProbe: httpGet: path: / port: 8080 initialDelaySeconds: 3 periodSeconds: 5 volumeMounts: - name: html-content mountPath: /usr/share/nginx/html/index.html subPath: index.html volumes: - name: html-content configMap: name: nginx-mycelium-content