视频地址:https://www.bilibili.com/video/BV1WR4y1L7Mh/
1. 安装
# download kubebuilder and install locally.
sudo su -
curl -L -o kubebuilder https://go.kubebuilder.io/dl/latest/$(go env GOOS)/$(go env GOARCH)
chmod +x kubebuilder && mv kubebuilder /usr/local/bin/
2. 有效化shell autocompletion
sudo yum install -y bash-completion
echo "source <(kubebuilder completion bash)" >> ~/.bashrc
source ~/.bashrc
3. 确认
kubebuilder version