View Code? Open in Web Editor
NEW
本项目废弃,请使用 [sealos](https://github.com/fanux/sealos)
License: Apache License 2.0
kubeinit's Introduction
When I was in college, I wrote Tetris based on the terminal. I didn't rely on any UI library, and I played color blocks on the screen, erased color blocks, and moved the cursor. . .
The first project with more than 500 stars is lhttp is a websocket framework. At that time, golang basically had no very useful frameworks. .
I like Go so I wrote a Go project webgo using canvas. .
Founder of sealos , a cloud operating system with kubernetes as the core.
The founder of sealer
laf is a FaaS platform.
kubeinit's People
Contributors
Watchers
kubeinit's Issues
大佬你好,我在release中下载了1.9.0的版本后在centos7上面进行初始化后然后apply -bie了之后出现了一些问题。
Loaded image: gcr.io/google_containers/pause-amd64:3.0
panic: runtime error: slice bounds out of range
goroutine 1 [running]:
github.com/fanux/kubeinit/pkg.Apply ()
/usr/local/go/src/github.com/fanux/kubeinit/pkg/apply.go:278 +0x88c
github.com/fanux/kubeinit/cmd.glob..func1(0xa6d2e0, 0xc4200a2e00, 0x0, 0x1)
/usr/local/go/src/github.com/fanux/kubeinit/cmd/apply.go:34 +0x6c
github.com/fanux/kubeinit/vendor/github.com/spf13/cobra.(* Command).execute(0xa6d2e0, 0xc4200a2dc0, 0x1, 0x1, 0xa6d2e0, 0xc4200a2dc0)
/usr/local/go/src/github.com/fanux/kubeinit/vendor/github.com/spf13/cobra/command.go:565 +0x20d
github.com/fanux/kubeinit/vendor/github.com/spf13/cobra.(* Command).ExecuteC(0xa6d8e0, 0xc4200fe000, 0x0, 0x0)
/usr/local/go/src/github.com/fanux/kubeinit/vendor/github.com/spf13/cobra/command.go:651 +0x2fe
github.com/fanux/kubeinit/vendor/github.com/spf13/cobra.(* Command).Execute(0xa6d8e0, 0xc4200ae008, 0xc420079f60)
/usr/local/go/src/github.com/fanux/kubeinit/vendor/github.com/spf13/cobra/command.go:610 +0x2b
github.com/fanux/kubeinit/cmd.Execute ()
/usr/local/go/src/github.com/fanux/kubeinit/cmd/root.go:45 +0x31
main.main ()
/usr/local/go/src/github.com/fanux/kubeinit/main.go:45 +0x84
我是只有一个master,4个node,3个etcd。etcd在node上面。总共5台主机。
在执行的过程中master出了这个问题,其他的都没出现这个问题,请问这个怎么解决?