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

K0-314: Added support for batch scale-down #279

Merged
merged 8 commits into from
Apr 17, 2024
Merged

K0-314: Added support for batch scale-down #279

merged 8 commits into from
Apr 17, 2024

Conversation

abhishekdwivedi3060
Copy link
Collaborator

No description provided.


podName := getSTSPodName(found.Name, *found.Spec.Replicas-1)
podsBatchList := r.getPodBatchToScaleDown(oldPodList[:diffPods], len(oldPodList))
Copy link
Contributor

Choose a reason for hiding this comment

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

can use existing getPodBatchToRestart

@@ -940,7 +960,7 @@ func (r *SingleClusterReconciler) scaleDownRack(

// No need for these checks if pod was not running.
Copy link
Contributor

Choose a reason for hiding this comment

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

can change comments like pod -> pods etc..

api/v1/aerospikecluster_types.go Outdated Show resolved Hide resolved
controllers/rack.go Outdated Show resolved Hide resolved
test/batch_scaledown_pods_test.go Outdated Show resolved Hide resolved
controllers/rack.go Outdated Show resolved Hide resolved
@sud82 sud82 merged commit fec77eb into master Apr 17, 2024
8 checks passed
@sud82 sud82 deleted the KO-314 branch November 15, 2024 07:39
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