apiVersion: standard.oam.dev/v1alpha1
kind: Rollout
metadata:
  name: rolling-test
spec:
  # application (revision) reference
  targetRevisionName: metrics-provider-v1
  # HPA reference (optional)
  componentName: metrics-provider
  rolloutPlan:
    rolloutStrategy: "IncreaseFirst"
    rolloutBatches:
      - replicas: 3
      - replicas: 2
    targetSize: 5