first commit
This commit is contained in:
commit
ba848e218d
1001 changed files with 152333 additions and 0 deletions
19
CloudNative/Kubernetes/Kubebuilder/搭建环境.md
Normal file
19
CloudNative/Kubernetes/Kubebuilder/搭建环境.md
Normal file
|
@ -0,0 +1,19 @@
|
|||
### 配置go
|
||||
在环境变量中配置GO与GOPATH
|
||||
```
|
||||
GO=/item/go/bin
|
||||
GOPATH=$HOME/source
|
||||
PATH=$PATH:$GO:$GOPATH/bin
|
||||
export PATH GOPATH
|
||||
## 开启go module
|
||||
export GO111MODULE=on
|
||||
```
|
||||
### 配置代理
|
||||
```
|
||||
go env -w GOPROXY=goproxy.cn,direct
|
||||
```
|
||||
### 配置kubebuilder
|
||||
把kubebuilder移动到系统的可执行文件目录中(/usr/bin,/usr/local/bin等)在环境变量中配置命令补全
|
||||
```
|
||||
source <(kubebuilder completion bash)
|
||||
```
|
Loading…
Add table
Add a link
Reference in a new issue