Skip to content
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

Merged
merged 17 commits into from
Jan 10, 2020

Conversation

HoustonPutman
Copy link
Contributor

*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.

Signed-off-by: Houston Putman <hputman1@bloomberg.net>
Signed-off-by: Houston Putman <hputman1@bloomberg.net>
@HoustonPutman
Copy link
Contributor Author

@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.

@sepulworld
Copy link
Contributor

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.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good call for sure.

HoustonPutman and others added 12 commits January 6, 2020 16:38
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>
Signed-off-by: Houston Putman <houstonputman@gmail.com>
@HoustonPutman
Copy link
Contributor Author

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.

@sepulworld
Copy link
Contributor

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!

@sepulworld
Copy link
Contributor

Works well!

  zookeeperRef:
    provided:
      chroot: "example"

Screen Shot 2020-01-09 at 3 32 14 PM

Signed-off-by: Houston Putman <houstonputman@gmail.com>
Signed-off-by: Houston Putman <houstonputman@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants