-
Notifications
You must be signed in to change notification settings - Fork 2
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
Merge KF-5945-configure-proxy-dev-branch
into main
#106
Conversation
* add poddefault and configure kfp tests * kfp: use dict.get to avoid KeyError * configure katib uats * configure training uats * add testing with proxy instructions to README
* Prefetch mnist dataset in tfjob to solve proxy problems
* tests: add proxy option to test file for driver Adding a proxy option to the driver/test_kubeflow_workloads.py script, will allow users to tell the driver it will run in a proxied environment. With this, a PodDefault will be used for setting environment variables (NO_PROXY, HTTP_PROXY, HTTPS_PROXY) in the Pod(s) that execute the Job for UATs. Fixes #96
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.
Thx @DnPlas, there are some small changes we need to make. Left 2 comments.
Testing
I was able to see the CKF uats pass by first configuring knative-serving
and kserve-controller
:
juju config knative-serving http-proxy=http://10.0.13.50:3128/ https-proxy=http://10.0.13.50:3128/ no-proxy=10.1.0.0/16,10.152.183.0/24,127.0.0.1,10.0.2.0/24,ip-10-0-2-157,.svc,.local,localhost
juju config kserve-controller http-proxy=http://10.0.13.50:3128/ https-proxy=http://10.0.13.50:3128/ no-proxy=10.1.0.0/16,10.152.183.0/24,127.0.0.1,10.0.2.0/24,ip-10-0-2-157,.svc,.local,localhost
then run the uats (excluding mlflow):
tox -e uats-local -- --filter "not mlflow" --proxy http_proxy="http://10.0.13.50:3128/" https_proxy="http://10.0.13.50:3128/" no_proxy="10.1.0.0/16,10.152.183.0/24,127.0.0.1,10.0.2.0/24,ip-10-0-2-157,.svc,.local,localhost"
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
This PR merges
KF-5945-configure-proxy-dev-branch
intomain
to support the proxy configuration for UATs.Fixes #75