From dc6cc8f3351da7ad519c796da2d9a1fd2a4af1cc Mon Sep 17 00:00:00 2001 From: admin Date: Sun, 1 Mar 2026 20:25:20 +0000 Subject: [PATCH] Created via MCP --- apps/nginx-canary/deployment.yaml | 56 +++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 apps/nginx-canary/deployment.yaml diff --git a/apps/nginx-canary/deployment.yaml b/apps/nginx-canary/deployment.yaml new file mode 100644 index 0000000..0e5b363 --- /dev/null +++ b/apps/nginx-canary/deployment.yaml @@ -0,0 +1,56 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + name: nginx-canary + namespace: nginx-canary + labels: + app: nginx-canary + track: canary + version: v2.0.0 +spec: + replicas: 2 + selector: + matchLabels: + app: nginx-canary + template: + metadata: + labels: + app: nginx-canary + track: canary + version: v2.0.0 + spec: + containers: + - name: nginx + image: nginx:1.25-alpine + ports: + - containerPort: 80 + volumeMounts: + - name: html + mountPath: /usr/share/nginx/html/index.html + subPath: index.html + - name: html + mountPath: /etc/nginx/conf.d/default.conf + subPath: nginx.conf + resources: + requests: + cpu: 50m + memory: 64Mi + limits: + cpu: 200m + memory: 128Mi + readinessProbe: + httpGet: + path: / + port: 80 + initialDelaySeconds: 5 + periodSeconds: 10 + livenessProbe: + httpGet: + path: / + port: 80 + initialDelaySeconds: 10 + periodSeconds: 20 + volumes: + - name: html + configMap: + name: nginx-canary-html