Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

多批次发布是否可以支持同时控制多个版本的发布 #227

Open
lizhipeng629 opened this issue Aug 6, 2024 · 0 comments
Open

Comments

@lizhipeng629
Copy link

例如我有一个kruise StatefulSet的负载,10个副本,初始镜像为v1,并且使用了多批次发布,分3批更新。我的负载可能同时存在v1,v2,v3等版本的副本。
例如

  • 先更新为v2,发布的step2,此时5个副本为v1,5个副本为v2,
  • 然后此时更新为v3,1个副本为v3,4个副本为v2,5个副本为v1
  • 此时我想继续v2的发布,将剩余的v1副本都更新为v2,能支持吗
apiVersion: rollouts.kruise.io/v1beta1
kind: Rollout
metadata:
  name: rollouts-demo
spec:
  workloadRef:
    apiVersion: apps.kruise.io/v1beta1
    kind: StatefulSet
    name:  volern-gs
  strategy:
    canary:
      enableExtraWorkloadForCanary: false
      steps:
      - replicas: 1
      - replicas: 50%
      - replicas: 100%
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant