Created via MCP
This commit is contained in:
22
apps/nginx-weighted/traefikservice.yaml
Normal file
22
apps/nginx-weighted/traefikservice.yaml
Normal file
@@ -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
|
||||||
Reference in New Issue
Block a user