- 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
22 lines
377 B
YAML
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
|