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: 80 hostPort: 80 resources: limits: cpu: 200m memory: 64Mi requests: cpu: 100m memory: 32Mi livenessProbe: httpGet: path: / port: 80 initialDelaySeconds: 5 periodSeconds: 10 readinessProbe: httpGet: path: / port: 80 initialDelaySeconds: 3 periodSeconds: 5 volumeMounts: - name: html-content mountPath: /usr/share/nginx/html/index.html subPath: index.html - name: nginx-config mountPath: /etc/nginx/conf.d/default.conf subPath: default.conf volumes: - name: html-content configMap: name: nginx-mycelium-content - name: nginx-config configMap: name: nginx-mycelium-config