From f776474f04d4bdda961c304c245602dd36664d26 Mon Sep 17 00:00:00 2001 From: admin Date: Sun, 1 Mar 2026 20:37:45 +0000 Subject: [PATCH] Created via MCP --- apps/nginx-weighted/traefikservice.yaml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 apps/nginx-weighted/traefikservice.yaml diff --git a/apps/nginx-weighted/traefikservice.yaml b/apps/nginx-weighted/traefikservice.yaml new file mode 100644 index 0000000..f9029a4 --- /dev/null +++ b/apps/nginx-weighted/traefikservice.yaml @@ -0,0 +1,22 @@ +--- +# TraefikService — weighted load balancer между stable и canary +# Меняй weight чтобы управлять % трафика на canary +# stable: 90, canary: 10 → 10% на canary +# stable: 50, canary: 50 → 50% на canary (blue/green) +# stable: 0, canary: 100 → полный promote canary → stable +apiVersion: traefik.io/v1alpha1 +kind: TraefikService +metadata: + name: nginx-weighted + namespace: nginx-mcp +spec: + weighted: + services: + - name: nginx-mcp + namespace: nginx-mcp + port: 80 + weight: 90 + - name: nginx-canary + namespace: nginx-canary + port: 80 + weight: 10