Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
controller: Make it so that last-applied-configuration isn't hashed (#15
) * controller: Make it so that last-applied-configuration isn't hashed The annotation kubectl.kubernetes.io/last-applied-configuration holds information about replica count. Including this annotation makes it so that scaling operations (such as increasing or decreasing regionserver replica count) will erroneously trigger complete redeployment due to differing hash. Filter this annotation out during calculation of statefuleset hash. * controller: Make it so that last-applied-configuration isn't hashed The annotation kubectl.kubernetes.io/last-applied-configuration holds information about replica count. Including this annotation makes it so that scaling operations (such as increasing or decreasing regionserver replica count) will erroneously trigger complete redeployment due to differing hash. Filter this annotation out during calculation of statefuleset hash. * controller: Make it so that last-applied-configuration isn't hashed The annotation kubectl.kubernetes.io/last-applied-configuration holds information about replica count. Including this annotation makes it so that scaling operations (such as increasing or decreasing regionserver replica count) will erroneously trigger complete redeployment due to differing hash. Filter this annotation out during calculation of statefuleset hash. Co-authored-by: Michael Kwon <[email protected]>
- Loading branch information