kubernetes - kube-proxy build on windows machine fails with errors -
i trying build kube-proxy binary windows server 2016 guidance provided on link: https://kubernetes.io/docs/getting-started-guides/windows/
while have been successful in building kubelet binary earlier, when building kube-proxy binary, following errors:
# k8s.io/kubernetes/federation/apis/federation/v1beta1 federation\apis\federation\v1beta1\types.generated.go:365: cannot use e (type *"k8s.io/kubernetes/vendor/github.com/ugor ji/go/codec".encoder) type *"github.com/ugorji/go/codec".encoder in argument x.secretref.codecencodeself federation\apis\federation\v1beta1\types.generated.go:378: cannot use e (type *"k8s.io/kubernetes/vendor/github.com/ugor ji/go/codec".encoder) type *"github.com/ugorji/go/codec".encoder in argument x.secretref.codecencodeself federation\apis\federation\v1beta1\types.generated.go:464: cannot use d (type *"k8s.io/kubernetes/vendor/github.com/ugor ji/go/codec".decoder) type *"github.com/ugorji/go/codec".decoder in argument x.secretref.codecdecodeself federation\apis\federation\v1beta1\types.generated.go:521: cannot use d (type *"k8s.io/kubernetes/vendor/github.com/ugor ji/go/codec".decoder) type *"github.com/ugorji/go/codec".decoder in argument x.secretref.codecdecodeself federation\apis\federation\v1beta1\types.generated.go:611: cannot use e (type *"k8s.io/kubernetes/vendor/github.com/ugor ji/go/codec".encoder) type *"github.com/ugorji/go/codec".encoder in argument yysf7.codecencodeself federation\apis\federation\v1beta1\types.generated.go:617: cannot use e (type *"k8s.io/kubernetes/vendor/github.com/ugor ji/go/codec".encoder) type *"github.com/ugorji/go/codec".encoder in argument yysf8.codecencodeself federation\apis\federation\v1beta1\types.generated.go:816: cannot use d (type *"k8s.io/kubernetes/vendor/github.com/ugor ji/go/codec".decoder) type *"github.com/ugorji/go/codec".decoder in argument yyv5.codecdecodeself federation\apis\federation\v1beta1\types.generated.go:922: cannot use d (type *"k8s.io/kubernetes/vendor/github.com/ugor ji/go/codec".decoder) type *"github.com/ugorji/go/codec".decoder in argument yyv16.codecdecodeself # k8s.io/kubernetes/pkg/kubectl/cmd/util/openapi pkg\kubectl\cmd\util\openapi\openapi_cache.go:80: cannot use s (type *"github.com/googleapis/gnostic/openapiv2".document ) type *"k8s.io/kubernetes/vendor/github.com/googleapis/gnostic/openapiv2".document in argument newopenapidata
environment:
windows 10, golang 1.8.*, cloned latest k8s source github repo.
i couldn't find valid either documentation or through forums far. solution problem?
note: i'm novice dev on go programming language.
Comments
Post a Comment