Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

have not scheduler.go #2

Open
BlueYuQuan opened this issue May 31, 2017 · 3 comments
Open

have not scheduler.go #2

BlueYuQuan opened this issue May 31, 2017 · 3 comments

Comments

@BlueYuQuan
Copy link

have not scheduler.go

go run bestprice.go

command-line-arguments

./bestprice.go:20: undefined: Node
./bestprice.go:22: undefined: Node
go run kubernetes.go

command-line-arguments

./kubernetes.go:39: undefined: Event
./kubernetes.go:70: undefined: NodeList
./kubernetes.go:71: undefined: NodeList
./kubernetes.go:97: undefined: Pod
./kubernetes.go:150: undefined: Pod
./kubernetes.go:187: undefined: PodList
./kubernetes.go:221: undefined: Node
./kubernetes.go:221: undefined: Pod
./kubernetes.go:311: undefined: Pod
./kubernetes.go:311: undefined: Node
./kubernetes.go:71: too many errors

go run main.go

command-line-arguments

./main.go:33: undefined: monitorUnscheduledPods
./main.go:36: undefined: reconcileUnscheduledPods

go run types.go

command-line-arguments

runtime.main: call to external function main.main
runtime.main: main.main: not defined
runtime.main: undefined: main.main

go run processor.go

command-line-arguments

./processor.go:42: undefined: watchUnscheduledPods
./processor.go:64: undefined: Pod
./processor.go:65: undefined: fit
./processor.go:72: undefined: bestPrice
./processor.go:76: undefined: bind
./processor.go:86: undefined: getUnscheduledPods

@yumingc
Copy link

yumingc commented Jan 9, 2019

have not scheduler.go
same problems

@p-greg
Copy link

p-greg commented Jun 4, 2019

I am having this same issue. What do you mean when you say "Run the best price scheduler"? There is no scheduler.go and like @BlueYuQuan stated above it go run bestprice.go returns the error:
# command-line-arguments
./bestprice.go:20:24: undefined: Node
./bestprice.go:22:9: undefined: Node
Could you please clarify?
Thanks!

@bennythejudge
Copy link

Try:

sh ./build

This builds the scheduler binary:

ls -l scheduler
-rwxr-xr-x  1 neo  staff  7261468 Sep 20 22:48 scheduler

then run the scheduler (while kubectl proxy is running):

 ./scheduler
2019/09/20 22:48:40 Starting custom scheduler...

The nginx pod will be created and started.

ksaur added a commit to ksaur/scheduler that referenced this issue Mar 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants