-
Notifications
You must be signed in to change notification settings - Fork 111
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding a chRoot for provided zookeepers. #62
Conversation
Signed-off-by: Houston Putman <hputman1@bloomberg.net>
Signed-off-by: Houston Putman <hputman1@bloomberg.net>
@sepulworld want to give this a shot? I'm not running a solr w/ a provided zookeeper right now, but I could spin one up with that if you don't have the time. |
Ill test it out! ty! |
#### v0.2.0 | ||
- Uses `gomod` instead of `dep` | ||
- `SolrCloud.zookeeperRef.provided.zookeeper.persistentVolumeClaimSpec` has been deprecated in favor of the `SolrCloud.zookeeperRef.provided.zookeeper.persistence` option. | ||
This option is backwards compatible, but will be removed in a future version. | ||
- An upgrade to the ZKOperator version `0.2.4` is required. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good call, perhaps update https://github.com/bloomberg/solr-operator/blob/master/example/dependencies/operators.yaml#L50 to 0.2.4 as well?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good call for sure.
Signed-off-by: Houston Putman <hputman1@bloomberg.net>
Signed-off-by: Houston Putman <hputman1@bloomberg.net>
Signed-off-by: Houston Putman <houstonputman@gmail.com>
Signed-off-by: Houston Putman <houstonputman@gmail.com>
Signed-off-by: Houston Putman <houstonputman@gmail.com>
Signed-off-by: Houston Putman <houstonputman@gmail.com>
Signed-off-by: Houston Putman <houstonputman@gmail.com>
Signed-off-by: Houston Putman <houstonputman@gmail.com>
Ok I think this is ready to go. I have tested it on my end with new chRoots for both external ZKs and provided ZKs. |
This is great! Thank you! |
Signed-off-by: Houston Putman <houstonputman@gmail.com>
Signed-off-by: Houston Putman <houstonputman@gmail.com>
*Issue number of the reported bug or feature request: #61 *
Describe your changes
Added the possiblity to use chRoot for a provided zookeeper.
The zookeeperConnectionString for provided zookeepers was also changed to use the service name instead of the ip address. This should lower the number of restarts caused by service IP changes, if there were any in the first place.
Testing performed
Added tests around this functionality. Also added tests for other environment variables.