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

Use https://github.com/StatCan/kubeflow-apis instead of importing them from https://github.com/StatCan/kubeflow-controller #4

Open
zachomedia opened this issue Apr 12, 2022 · 1 comment

Comments

@zachomedia
Copy link

You may want to use https://github.com/StatCan/kubeflow-apis instead of kubeflow-controller, it's cleaner and has just the APIs.

@saffaalvi saffaalvi self-assigned this Apr 12, 2022
@saffaalvi
Copy link
Contributor

Running into issues when trying to use kubeflow-apis instead of kubelow-controller

When we used kubeflow-controller to list the profiles, we used:

existingProfile, err := c.profileInformerLister.Lister().Get(namespace)

but when trying to use kubeflow-apis, the Get() isn’t under the ProfileLister anymore, it has Profiles() instead. I tried to do something like:

existingProfile, err := c.profileInformerLister.Lister().Profiles(namespace).Get(namespace)

but when i do that i just keep getting this error for every profile:

[go:deploy] time="2022-05-11T00:58:59-04:00" level=error msg="failed to get profile - rb: profile.kubeflow.org \"alice\" not found"
[go:deploy] time="2022-05-11T00:58:59-04:00" level=info msg="starting workers"
[go:deploy] time="2022-05-11T00:58:59-04:00" level=info msg="started workers"
[go:deploy] time="2022-05-11T00:58:59-04:00" level=error msg="failed to get profile: profile.kubeflow.org \"alice\" not found"
[go:deploy] E0511 00:58:59.251866   40508 controller.go:205] error synching "alice": profile.kubeflow.org "alice" not found, requeing

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

No branches or pull requests

2 participants