skupper icon indicating copy to clipboard operation
skupper copied to clipboard

"Compatibility Issues Due to Outdated Kubernetes Client Version"

Open adibrastegarnia opened this issue 1 year ago • 2 comments

It appears that the Kubernetes client version currently in use is outdated, which is causing compatibility issues within our codebase and resulting in errors. Would you please update k8s client version in your codebase?

# github.com/skupperproject/skupper/pkg/kube
../../../../go/pkg/mod/github.com/skupperproject/[email protected]/pkg/kube/containers.go:37:3: unknown field Handler in struct literal of type "k8s.io/api/core/v1".Probe
../../../../go/pkg/mod/github.com/skupperproject/[email protected]/pkg/kube/containers.go:37:19: undefined: corev1.Handler
../../../../go/pkg/mod/github.com/skupperproject/[email protected]/pkg/kube/containers.go:49:3: unknown field Handler in struct literal of type "k8s.io/api/core/v1".Probe
../../../../go/pkg/mod/github.com/skupperproject/[email protected]/pkg/kube/containers.go:49:19: undefined: corev1.Handler
../../../../go/pkg/mod/github.com/skupperproject/[email protected]/pkg/kube/containers.go:62:3: unknown field Handler in struct literal of type "k8s.io/api/core/v1".Probe
../../../../go/pkg/mod/github.com/skupperproject/[email protected]/pkg/kube/containers.go:62:19: undefined: corev1.Handler
../../../../go/pkg/mod/github.com/skupperproject/[email protected]/pkg/kube/containers.go:106:3: unknown field Handler in struct literal of type "k8s.io/api/core/v1".Probe
../../../../go/pkg/mod/github.com/skupperproject/[email protected]/pkg/kube/containers.go:106:19: undefined: corev1.Handler
../../../../go/pkg/mod/github.com/skupperproject/[email protected]/pkg/kube/containers.go:118:3: unknown field Handler in struct literal of type "k8s.io/api/core/v1".Probe
../../../../go/pkg/mod/github.com/skupperproject/[email protected]/pkg/kube/containers.go:118:19: undefined: corev1.Handler
../../../../go/pkg/mod/github.com/skupperproject/[email protected]/pkg/kube/containers.go:118:3: too many errors

adibrastegarnia avatar Oct 02 '24 18:10 adibrastegarnia

Seeing the same issue, was wondering if this is something the team is looking to get done or all the efforts are concentrated towards v2 atm? Thanks!

slavapashaliuk avatar Jan 22 '25 19:01 slavapashaliuk

The v1 code is not intended to be imported as a library.

grs avatar Jan 22 '25 19:01 grs