-
Notifications
You must be signed in to change notification settings - Fork 657
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
Support testing on minikube. #485
Conversation
* When using minikube we don't want call configure_kubectl which calls gcloud container clusters get-credentials. * Instead we just need to call load_kube_config to load the kube config file. * Related to kubeflow/testing#6
/lgtm |
/approve |
/retest |
Hi Jeremy, I pushed a patch to fix code linting problems in the code #498 , I think you could rebase and run the test again. |
py/test_runner.py
Outdated
# as part of GKE cluster creation and store the config in the NFS directory. | ||
# This would make the handling of credentials | ||
# and KUBECONFIG more consistent between GKE and minikube and eventually | ||
# this could be extended to other K8s deployments. |
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.
************* Module py.test_runner
C:124, 0: Trailing whitespace (trailing-whitespace)
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.
Thanks.
/retest |
/retest |
1 similar comment
/retest |
I believe that we could pass the test now. |
@lluunn Can you LGTM please? |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jlewi, lluunn The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
* Support testing on minikube. * When using minikube we don't want call configure_kubectl which calls gcloud container clusters get-credentials. * Instead we just need to call load_kube_config to load the kube config file. * Related to kubeflow/testing#6 * Add a TODO. * Fix lint issue.
When using minikube we don't want call configure_kubectl which calls
gcloud container clusters get-credentials.
Instead we just need to call load_kube_config to load the kube config file.
Related to minikube testing testing#6
This change is![Reviewable](https://camo.githubusercontent.com/23b05f5fb48215c989e92cc44cf6512512d083132bd3daf689867c8d9d386888/68747470733a2f2f72657669657761626c652e696f2f7265766965775f627574746f6e2e737667)