Giter Site home page Giter Site logo

Comments (11)

CaoShuFeng avatar CaoShuFeng commented on August 16, 2024 1

@xrmzju
This is closed by kubernetes/kubernetes#65265

from sample-controller.

mustafaakin avatar mustafaakin commented on August 16, 2024

Can confirm, checkout kubernetes-1.10.0 did not work as well, really need it what can we do?

from sample-controller.

jeffchanjunwei avatar jeffchanjunwei commented on August 16, 2024

@gogeof how do you solve it

from sample-controller.

cmoulliard avatar cmoulliard commented on August 16, 2024

Can this issue be fixed please ?

from sample-controller.

CaoShuFeng avatar CaoShuFeng commented on August 16, 2024

As kubernetes/kubernetes#65265 said:

go get k8s.io/sample-controller
cd $GOPATH/src/k8s.io/sample-controller
go build .

from sample-controller.

cmoulliard avatar cmoulliard commented on August 16, 2024

That works better now but there is still an issue as we can't run the test class

go get k8s.io/sample-controller
cd $GOPATH/src/k8s.io/sample-controller
go build .
./hack/update-codegen.sh 
go run *.go -kubeconfig=$HOME/.kube/config
go run: cannot run *_test.go files (controller_test.go)

and we can't run also the main.go

~/Code/go-workspace/src/k8s.io/sample-controller
go run main.go -kubeconfig=$HOME/.kube/config
# command-line-arguments
./main.go:64:16: undefined: NewController

from sample-controller.

CaoShuFeng avatar CaoShuFeng commented on August 16, 2024

Will go test . work?

from sample-controller.

cmoulliard avatar cmoulliard commented on August 16, 2024

go get k8s.io/sample-controller

Can you please update the doc to mention that we must use go get k8s.io/sample-controller instead of go get kubernetes/sample-controller as the git hub repo is defined as https://github.com/kubernetes/sample-controller.git?

from sample-controller.

cmoulliard avatar cmoulliard commented on August 16, 2024

work

Yes

go test .
ok      k8s.io/sample-controller        0.035s

from sample-controller.

nikhita avatar nikhita commented on August 16, 2024

Can you please update the doc to mention that we must use go get k8s.io/sample-controller instead of go get kubernetes/sample-controller as the git hub repo is defined as https://github.com/kubernetes/sample-controller.git?

@cmoulliard will be done as a part of kubernetes/kubernetes#65265 (comment). 👍

from sample-controller.

xrmzju avatar xrmzju commented on August 16, 2024

@cmoulliard have u fixed this problem? i tried and did not work as well...

from sample-controller.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.