安装helm
# https://github.com/helm/helm/releases
wget https://get.helm.sh/helm-v3.5.4-linux-amd64.tar.gz
tart -zxvf helm-v3.5.4-linux-amd64.tar.gz
mv linux-amd64/helm /usr/local/bin/helm
helm version
kube-batch
mkdir go
在~/.bash_proflie中配置GOPATH
source ~/.bash_proflie
mkdir -p $GOPATH/src/github.com/kubernetes-sigs/
cd $GOPATH/src/github.com/kubernetes-sigs/
git clone http://github.com/kubernetes-sigs/kube-batch -b release-0.5
安装kube-batch
helm install $GOPATH/src/github.com/kubernetes-sigs/kube-batch/deployment/kube-batch --namespace kube-system --generate-name
查看helm list -n kube-system是否安装成功
![在这里插入图片描述](https://i-blog.csdnimg.cn/blog_migrate/7f784b32ae0848ab8ac7b2ecf291a59a.png)
kube-batch可以用在原子性使用k8s资源