Skip to content

Conversation

xinWeiWei24
Copy link
Contributor

Extracted rollingUpdateFn() from DeployAndRepeatRollingUpdateDeployments() to enable future support for batching deployments and customizing the number of deployments to roll out.

Extracted rollingUpdateFn() from DeployAndRepeatRollingUpdateDeployments()
to enable future support for batching deployments and customizing the number of deployments to roll out.
@xinWeiWei24 xinWeiWei24 requested a review from fuweid June 18, 2025 06:36
for i := 0; i < total; i++ {
name := fmt.Sprintf("%s-%d", namePattern, i)
ns := name
func RollingUpdateDeployments(ctx context.Context, total int, namePattern string, kubeCfgPath string, internal time.Duration) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not blocker: you can help it in the follow-up

func RollingUpdateDeployments(ctx context.Context, kubeCfgPath string, namePattern string, total int, internal time.Duration)

@fuweid fuweid merged commit b371116 into Azure:main Jul 11, 2025
4 checks passed
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

Successfully merging this pull request may close these issues.

3 participants