Make java-test-image usable for testing in k8s#10102
Merged
sijie merged 1 commit intoapache:masterfrom Apr 1, 2021
Merged
Conversation
- nc and nslookup are required by the pulsar helm charts
lhotari
added a commit
to lhotari/pulsar-playground
that referenced
this pull request
Mar 31, 2021
Member
Author
|
/pulsarbot run-failure-checks |
3 similar comments
Member
Author
|
/pulsarbot run-failure-checks |
Member
Author
|
/pulsarbot run-failure-checks |
Member
Author
|
/pulsarbot run-failure-checks |
sijie
approved these changes
Apr 1, 2021
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Motivation
When developing and testing Pulsar, it is very slow to build the pulsar-all image.
The java-test-image can be built in less than 1.5 minutes on most laptops.
When attempting to use the apachepulsar/java-test-image:latest with a local k8s setup (microk8s), it was found out that startup fails since the Pulsar helm charts expect that
ncandnslookupare installed.Modifications
Make
ncandnslookupavailable to the java-test-image by adding netcat, dnsutils and iputils-ping to the packages to be installed. These packages are installed to the pulsar image and were missing from the java-test-image.This change makes java-test-image usable for k8s installations (for developing and testing Pulsar itself).