Client-go: k8s.io/[email protected]+incompatible

Created on 10 Sep 2019  路  2Comments  路  Source: kubernetes/client-go

na1/go/pkg/mod/k8s.io/[email protected]+incompatible/rest/request.go:598:31: not enough arguments in call to watch.NewStreamWatcher
have (*versioned.Decoder)
want (watch.Decoder, watch.Reporter)

require {
k8s.io/api v0.0.0-20190813180838-e711354a0280
k8s.io/apimachinery v0.0.0-20190813060636-0c17871ad6fd
k8s.io/client-go v11.0.0+incompatible
)
any idea on this issue, started happening from today

Most helpful comment

That likely means you have other dependencies that are pulling in newer versions of some libraries causing a mismatch

I'd suggest updating your requires statements to matching levels, like the following:

require (
k8s.io/api kubernetes-1.15.3
k8s.io/apimachinery kubernetes-1.15.3
k8s.io/client-go kubernetes-1.15.3
)

All 2 comments

I followed this - https://github.com/kubernetes/client-go/blob/master/INSTALL.md but I still see this issue. This was working earlier.

That likely means you have other dependencies that are pulling in newer versions of some libraries causing a mismatch

I'd suggest updating your requires statements to matching levels, like the following:

require (
k8s.io/api kubernetes-1.15.3
k8s.io/apimachinery kubernetes-1.15.3
k8s.io/client-go kubernetes-1.15.3
)
Was this page helpful?
0 / 5 - 0 ratings

Related issues

gtaylor picture gtaylor  路  6Comments

strugglingyouth picture strugglingyouth  路  5Comments

prestonvanloon picture prestonvanloon  路  6Comments

jgrobbel picture jgrobbel  路  3Comments

alexec picture alexec  路  5Comments