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
This commit is contained in:
@@ -7,7 +7,7 @@ resources:
|
||||
- ../../base
|
||||
|
||||
patches:
|
||||
- path: deployment-patch.yaml
|
||||
- path: rollout-patch.yaml
|
||||
- path: httproute-patch.yaml
|
||||
|
||||
images:
|
||||
|
||||
@@ -1,9 +1,15 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Rollout
|
||||
metadata:
|
||||
name: myapp
|
||||
spec:
|
||||
replicas: 2
|
||||
strategy:
|
||||
canary:
|
||||
trafficRouting:
|
||||
plugins:
|
||||
argoproj-labs/gatewayAPI:
|
||||
namespace: myapp-production
|
||||
template:
|
||||
spec:
|
||||
containers:
|
||||
Reference in New Issue
Block a user