- 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
14 lines
182 B
YAML
14 lines
182 B
YAML
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: myapp-canary
|
|
labels:
|
|
app: myapp
|
|
managed-by: argocd
|
|
spec:
|
|
selector:
|
|
app: myapp
|
|
ports:
|
|
- port: 80
|
|
targetPort: 80
|