Files
gitops/apps/myapp/base/httproute.yaml
Admin eaf56bc1b6 feat: convert Deployment to Rollout CRD with canary strategy
- Replace deployment.yaml with rollout.yaml
- Add canary-service.yaml for traffic splitting
- Add analysistemplate.yaml for Prometheus health checks
- Update HTTPRoute with dual backends (stable + canary)
- Update overlays with Rollout patches
- Add Rollout transformer configuration for Kustomize
2026-02-01 23:24:13 +00:00

22 lines
377 B
YAML

apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
metadata:
name: myapp-route
labels:
app: myapp
managed-by: argocd
spec:
parentRefs:
- name: cluster-gateway
namespace: traefik-system
rules:
- matches:
- path:
type: PathPrefix
value: /
backendRefs:
- name: myapp
port: 80
- name: myapp-canary
port: 80