forked from openstack-k8s-operators/cinder-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.
Revert "Restart services when their NodeSelector changes"
This reverts commit df33f3e. PR openstack-k8s-operators#353 was thought to be the solution to a problem observed while testing updates to how we manage cinder's LVM backend. This pertained to the use of a nodeSelector label that pins the c-vol pod to the k8s node where the LVM backend data is stored. Unfortunately, two subsequent issues were uncovered. First, the nodeSelector already affects a service's statefulset, which in turn causes pods to be restarted automatically, There's no need to add the nodeSelector to the collection of hashes we use to restart pods when their configuration changes. Second, the actual problem scenario we hoped to solve was getting a pod to be recreated when it got stuck in the Pending state due to a bad nodeSelector value. Currently we use an "Ordered" pod management policy, which means a Pending pod will need to be manually deleted. Hashing the nodeSelector has no impact on pods stuck in the Pending state.
- Loading branch information
Showing
5 changed files
with
0 additions
and
67 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
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
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