-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix pods rolling restart when number of replicas changed (#25)
* Remove filtered annotations from Pod Template Spec Annotation change cause changes of controller-hash-revision of the StatefulSet. It caused unnesesary restars of all pods. "kubectl.kubernetes.io/last-applied-configuration" is updated with every update of the HBase CRD including just replicas count update. It should not be included into pod temlpate metadata to avoid unnesesary pods restart. ensureStatefulSet function logging is more clear. Minor changes with logging messages and test fixes. * Fix typos, detailed logging for # of pod replicas
- Loading branch information
1 parent
8a814c9
commit d0b77bf
Showing
2 changed files
with
45 additions
and
39 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
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