kubernetes-sigs / scheduler-plugins

Repository for out-of-tree scheduler plugins based on scheduler framework.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Move generated client code to a new repo

KunWuLuan opened this issue · comments

We want to import pod group's api in out project. But go module will import k8s.io/kubernetes if we do this.
Can we create a new repo to maintain all apis in the repo?

But go module will import k8s.io/kubernetes if we do this

I doubt it. Are you sure it's b/c of vendoring of PodGroup?

mpi-operator actually vendors PodGroup api w/o vendoring k8s.io/kubernetes.

Hi, thanks for replying.

I think the reason why I met the problem is I'm working on the fork of kubernetes. When I use hack/update-vendor.sh to update my vendor, self reference in go.mod would be broken in k8s 1.22.

mpi-operator actually vendors PodGroup api w/o vendoring k8s.io/kubernetes.

Yes, you are right. I will try to vendors the api in 1.28 to see if the problem still exists, thanks very much.