Issue 287: Deleting SegmentStore Services after Scaledown #298
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Signed-off-by: SrishT [email protected]
Change log description
When we deploy PravegaCluster with external access enabled and scale down the segmentstore to a lower instance count, the service entries for the segmentstore were not getting deleted.
Purpose of the change
Fixes #287
How to verify it
To reproduce the issue, deployed a sample Pravega Cluster with 3 segmentstore replicas and with external access enabled. Updated the number of segmentstore replicas in the spec to 1 and observed that while the extra segmentstore replicas were getting deleted, the extra segmentstore services were left behind.
Created a new operator image with the fix and tested the same scenario. This time, the extra segmentstore service entries were also deleted, as expected.