forked from minio/operator
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve the zone addition process (minio#150)
Currently the operator deletes existing statefulset and creates a fresh new statefulset, during zone addition. This is not ideal because this requires a downtime of MinIO cluster. This PR attempts to improve this process by using the update statefulset API to add new pods and then deletes only the pods that were part of existing statefulset. As the pods are deleted Kubernetes spawns new pods. This means at any point, more than quorum number of MinIO pods are available. This allows a better, seamless zone addition flow. Also improve the minioinstance status update flow and cleanup KES flow in controller.
- Loading branch information
Showing
1 changed file
with
81 additions
and
73 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters