Skip to content
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

Update Katib SDK to be compatible with kfp-tekton #1567

Closed
peterhaddad3121 opened this issue Jun 29, 2021 · 3 comments · Fixed by #1572
Closed

Update Katib SDK to be compatible with kfp-tekton #1567

peterhaddad3121 opened this issue Jun 29, 2021 · 3 comments · Fixed by #1572
Labels

Comments

@peterhaddad3121
Copy link

/kind bug

What steps did you take and what happened:
[A clear and concise description of what the bug is.]
Hello, I am utilizing Kubeflow with Kabit and kfp-tekton.

It is known that the Kabit SDK requires Kubernetes 10.0.1 and kfp-tekton requires 1.18 for Kubernetes.

What did you expect to happen:

I expect Kabit to be compatible with a later version of Kubernetes

Anything else you would like to add:
[Miscellaneous information that will assist in solving the issue.]

Environment:

  • Kubeflow version (kfctl version): kfctl v1.2.0-0-gbc038f9
  • Minikube version (minikube version): No using Minikube
  • Kubernetes version: (use kubectl version):
  • OS (e.g. from /etc/os-release):

NAME="Ubuntu"
VERSION="18.04.5 LTS (Bionic Beaver)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 18.04.5 LTS"
VERSION_ID="18.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=bionic
UBUNTU_CODENAME=bionic

@andreyvelich
Copy link
Member

Thank you for creating this @peterhaddad3121.
Please try to use latest version of Katib SDK: 0.11.0.
In that version we should support the latest Kubernetes version.

@peterhaddad3121
Copy link
Author

peterhaddad3121 commented Jun 30, 2021

Hi Audrey, I did try to use the latest version. Additionally when I install it says the following: Successfully installed kubeflow-katib-0.11.0 kubernetes-10.0.1

I run a kubernetes uninstall which removes kubernetes, but then I get the following error:
AttributeError: 'V1beta1Experiment' object has no attribute 'openapi_types'

This error gets resolved when downgrading back to the older kubernetes version that is showing in the above logs.

https://github.com/kubeflow/katib/blob/release-0.11/sdk/python/v1beta1/requirements.txt
^ showing that it is equal to a specific version

https://pypi.org/project/kubernetes/

Thank you for this!

@andreyvelich
Copy link
Member

@peterhaddad3121 What if you try to use kubeflow-katib-0.11.0 Python package with the newer version of kubernetes package ?
Are you getting the error above ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants