-
Notifications
You must be signed in to change notification settings - Fork 40k
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
Use KubeletPort from API object, salt changes, take 2 #17760
Conversation
Labelling this PR as size/S |
GCE e2e build/test failed for commit 1468861f2c9ad88da755c4c1ce1b62e0e228840f. |
@k8s-bot test this |
GCE e2e test build/test passed for commit 1468861f2c9ad88da755c4c1ce1b62e0e228840f. |
1468861
to
7645384
Compare
GCE e2e test build/test passed for commit 7645384f5f4303869d4d1a70014ebbc7d589d1d2. |
7645384
to
4bd00a1
Compare
GCE e2e test build/test passed for commit 4bd00a1b5f2a39f4876b04f38ee60b93902642ad. |
@k8s-bot unit test this |
@@ -287,6 +287,7 @@ manifest_url: '$(echo "$MANIFEST_URL" | sed -e "s/'/''/g")' | |||
manifest_url_header: '$(echo "$MANIFEST_URL_HEADER" | sed -e "s/'/''/g")' | |||
num_nodes: $(echo "${NUM_NODES}") | |||
e2e_storage_test_environment: '$(echo "$E2E_STORAGE_TEST_ENVIRONMENT" | sed -e "s/'/''/g")' | |||
kubelet_port: '$(echo "$KUBELET_PORT")' |
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.
this should be passed through sed like the other lines.
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.
Not all lines are passed though the sed, e.g. two lines above there's a NUM_NODES variable which is not. I can add sed to all lines that are missing it, if you think it's needed.
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.
4bd00a1
to
9e4636a
Compare
GCE e2e build/test failed for commit 9e4636aa91bfb35e0e721a6964994759953c44e3. |
9e4636a
to
4cf2a11
Compare
GCE e2e test build/test passed for commit 4cf2a11e71d5ebaed58e2dc9e3713bced8c08f6f. |
@@ -121,5 +121,10 @@ | |||
{% set network_plugin = "--network-plugin=opencontrail" %} | |||
{% endif -%} | |||
|
|||
{% set kubelet_port = "10250" -%} |
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.
This looks broken. If the pillar isn't defined, this won't pass --port=10250
but will just pass 10250
on the command line. It'd be better to make the default just be an empty string so that we pick up the default value compiled in (with a shorter command line) if a different port isn't explicitly set.
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.
You're right. Done.
4cf2a11
to
e0cbe80
Compare
GCE e2e build/test failed for commit e0cbe808eb796fe910edf14a3989bace6a2c1e1f. |
e0cbe80
to
d99dac5
Compare
Labelling this PR as size/M |
d99dac5
to
28da3f0
Compare
GCE e2e test build/test passed for commit d99dac56ccaea998acdb1ef7d39dec9127318f29. |
GCE e2e test build/test passed for commit 28da3f0746ad62a53cd4b4f259a09a2b462c8189. |
@@ -1303,6 +1303,11 @@ OPENCONTRAIL_KUBERNETES_TAG: $(yaml-quote ${OPENCONTRAIL_KUBERNETES_TAG:-}) | |||
OPENCONTRAIL_PUBLIC_SUBNET: $(yaml-quote ${OPENCONTRAIL_PUBLIC_SUBNET:-}) | |||
E2E_STORAGE_TEST_ENVIRONMENT: $(yaml-quote ${E2E_STORAGE_TEST_ENVIRONMENT:-}) | |||
EOF | |||
if [ -n "${KUBELET_PORT:-}" ]; then | |||
cat >>$file <<EOF | |||
KUBELET_PORT: $(yaml-quote ${KUBELET_PORT:-}) |
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.
nit: you shouldn't need the :- on this line since right above you check that the var isn't empty.
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.
Done.
One minor issue; otherwise looks good. |
28da3f0
to
4060eba
Compare
GCE e2e test build/test passed for commit 4060eba. |
LGTM. |
@k8s-bot test this [submit-queue is verifying that this PR is safe to merge] |
GCE e2e test build/test passed for commit 4060eba. |
@k8s-bot test this [submit-queue is verifying that this PR is safe to merge] |
GCE e2e test build/test passed for commit 4060eba. |
@k8s-bot test this [submit-queue is verifying that this PR is safe to merge] |
GCE e2e test build/test passed for commit 4060eba. |
@k8s-bot test this [submit-queue is verifying that this PR is safe to merge] |
GCE e2e test build/test passed for commit 4060eba. |
Automatic merge from submit-queue |
Auto commit by PR queue bot
This reverts commit a7425bf, reversing
changes made to 4a9b0fc.