- 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
16 lines
224 B
YAML
16 lines
224 B
YAML
apiVersion: kustomize.config.k8s.io/v1beta1
|
|
kind: Kustomization
|
|
|
|
namespace: myapp-production
|
|
|
|
resources:
|
|
- ../../base
|
|
|
|
patches:
|
|
- path: rollout-patch.yaml
|
|
- path: httproute-patch.yaml
|
|
|
|
images:
|
|
- name: nginx
|
|
newTag: alpine
|