Files
gitops/apps/myapp/overlays/production/rollout-patch.yaml

25 lines
479 B
YAML

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:
- name: myapp
image: nginx:alpine
resources:
requests:
memory: "256Mi"
cpu: "200m"
limits:
memory: "512Mi"
cpu: "500m"