From 4c2cc9b5c5f05eff576211cddf83db7a903cd990 Mon Sep 17 00:00:00 2001 From: Claude AI Date: Mon, 2 Mar 2026 14:00:45 +0000 Subject: [PATCH] feat: add nginx-mcp deployment - 3 replicas stable v1 --- apps/nginx-mcp/deployment.yaml | 65 ++++++++++++++++++++++++++++++++++ 1 file changed, 65 insertions(+) create mode 100644 apps/nginx-mcp/deployment.yaml diff --git a/apps/nginx-mcp/deployment.yaml b/apps/nginx-mcp/deployment.yaml new file mode 100644 index 0000000..6e1be0f --- /dev/null +++ b/apps/nginx-mcp/deployment.yaml @@ -0,0 +1,65 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + name: nginx-mcp + namespace: nginx-mcp + labels: + app: nginx-mcp + version: v1-stable +spec: + replicas: 3 + selector: + matchLabels: + app: nginx-mcp + template: + metadata: + labels: + app: nginx-mcp + version: v1-stable + spec: + containers: + - name: nginx + image: nginx:1.25-alpine + ports: + - containerPort: 80 + resources: + requests: + cpu: 50m + memory: 64Mi + limits: + cpu: 200m + memory: 128Mi + readinessProbe: + httpGet: + path: /healthz + port: 80 + initialDelaySeconds: 5 + periodSeconds: 10 + failureThreshold: 3 + livenessProbe: + httpGet: + path: /healthz + port: 80 + initialDelaySeconds: 10 + periodSeconds: 20 + failureThreshold: 3 + volumeMounts: + - name: html + mountPath: /usr/share/nginx/html/index.html + subPath: index.html + - name: config + mountPath: /etc/nginx/conf.d/default.conf + subPath: nginx.conf + volumes: + - name: html + configMap: + name: nginx-mcp-config + items: + - key: index.html + path: index.html + - name: config + configMap: + name: nginx-mcp-config + items: + - key: nginx.conf + path: nginx.conf