Below works for me. k8s.io/api v0.0.0-20181221193117-173ce66c1e39 k8s.io/apimachinery v0.0.0-20190111195121-fa6ddc151d63 k8s.io/client-go v10.0.0+incompatible
Regards, Venky On Mon, Jul 1, 2019 at 12:42 PM <raphaeld...@granular.ag> wrote: > Can anyone share a working go module file that gets client-go and > apimachinery to play nicely? I tried letting go mod determine the versions > and I get: > > > k8s.io/apimachinery v0.0.0-20181127025237-2b1284ed4c93 > k8s.io/client-go v10.0.0+incompatible > > > Which are incompatible and produce the error from here: > https://github.com/kubernetes/client-go/issues/584. > > So I tried switching the apimachinery line in my go.mod to > > > k8s.io/apimachinery v1.14.3 > > > But then I get: > > > $ go build > go: finding k8s.io/apimachinery v1.14.3 > go: k8s.io/apimachinery@v1.14.3: unknown revision v1.14.3 > go: error loading module requirements > > > But that release exists here: > https://github.com/kubernetes/apimachinery/releases/tag/kubernetes-1.14.3 > > I also tried the below two options for apimachinery in go.mod which also > both produced errors: > > k8s.io/apimachinery/kubernetes v1.14.3 > k8s.io/apimachinery kubernetes-v1.14.3 > > -- > You received this message because you are subscribed to the Google Groups > "golang-nuts" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to golang-nuts+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/golang-nuts/d1cb3cba-3dbf-4cf9-b899-86e67419aa09%40googlegroups.com > <https://groups.google.com/d/msgid/golang-nuts/d1cb3cba-3dbf-4cf9-b899-86e67419aa09%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/CALhoXtPfLY5a%3DXk-LWon61Vy97juoNPze2BYKbfKLtFr2kvL_Q%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.