-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
[fix #9315] Add downloadDirectory support to function k8s runtime #9377
[fix #9315] Add downloadDirectory support to function k8s runtime #9377
Conversation
69ff4ce
to
10dc0bd
Compare
/pulsarbot run-failure-checks |
@nlu90 Can you review this pull request? |
10dc0bd
to
992aa0e
Compare
/pulsarbot run-failure-checks |
1 similar comment
/pulsarbot run-failure-checks |
/pulsarbot run-failure-checks |
4 similar comments
/pulsarbot run-failure-checks |
/pulsarbot run-failure-checks |
/pulsarbot run-failure-checks |
/pulsarbot run-failure-checks |
3c7d0cf
to
e907cc0
Compare
/pulsarbot run-failure-checks |
.../runtime/src/main/java/org/apache/pulsar/functions/runtime/kubernetes/KubernetesRuntime.java
Outdated
Show resolved
Hide resolved
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.
LGTM except for the minor comment
f6afec5
to
ab8ef03
Compare
/pulsarbot run-failure-checks |
/pulsarbot run-failure-checks |
30e5ac0
to
2fa7434
Compare
d568a44
to
a3a8406
Compare
/pulsarbot run-failure-checks |
@freeznet Could you help push a PR based on branch-2.7? |
…me (apache#9377) Fixes apache#9315 ### Motivation k8s runtime not using `downloadDirectory` defined from `functions_worker.yml`, so user cannot self define the download directory for k8s runtime. ### Modifications - add `downloadDirectory` from `WorkerConfig` - add backward compatibles - add tests ### Verifying this change - [x] Make sure that the change passes the CI checks. # Conflicts: # pulsar-client-admin/src/main/java/org/apache/pulsar/client/admin/internal/PackagesImpl.java # pulsar-functions/runtime/src/test/java/org/apache/pulsar/functions/runtime/kubernetes/KubernetesRuntimeTest.java
@codelipenghui I have created a new pr #9619, PTAL, thanks. |
…me (apache#9377) Fixes apache#9315 ### Motivation k8s runtime not using `downloadDirectory` defined from `functions_worker.yml`, so user cannot self define the download directory for k8s runtime. ### Modifications - add `downloadDirectory` from `WorkerConfig` - add backward compatibles - add tests ### Verifying this change - [x] Make sure that the change passes the CI checks. # Conflicts: # pulsar-client-admin/src/main/java/org/apache/pulsar/client/admin/internal/PackagesImpl.java # pulsar-functions/runtime/src/test/java/org/apache/pulsar/functions/runtime/kubernetes/KubernetesRuntimeTest.java
…9619) Fixes #9315 ### Motivation per request from @codelipenghui in #9377, this pr is cherry pick #9377 to branch 2.7 and resolved conflicts. ### Modifications - cherry pick pr - resolve conflicts in tests - remove `package` related code
We have another PR for fixing this issue on branch 2.7. So I will remove the |
Fixes #9315
Motivation
k8s runtime not using
downloadDirectory
defined fromfunctions_worker.yml
, so user cannot self define the download directory for k8s runtime.Modifications
downloadDirectory
fromWorkerConfig
Verifying this change