curl -s "https://raw.githubusercontent.com/kubernetes-sigs/kustomize/master/hack/install_kustomize.sh" | bash 没输出问题解决
脚本网不通,手工安装,下载安装包
安装包下载
┌──[root@vms81.liruilongs.github.io]-[~/awx]
└─$https://github.com/kubernetes-sigs/kustomize/releases/download/kustomize/v4.5.7/kustomize_v4.5.7_linux_amd64.tar.gz
┌──[root@vms81.liruilongs.github.io]-[~]
└─$tar -xzf kustomize_v4.5.7_linux_amd64.tar.gz -C ./awx/
┌──[root@vms81.liruilongs.github.io]-[~]
└─$cd ./awx/
┌──[root@vms81.liruilongs.github.io]-[~/awx]
└─$ls
install_kustomize.sh kustomization.yaml kustomize
┌──[root@vms81.liruilongs.github.io]-[~/awx]
└─$mv kustomize /usr/local/bin/
┌──[root@vms81.liruilongs.github.io]-[~/awx]
└─$which kustomize
/usr/local/bin/kustomize
加油,愿被这世界温柔以待 ^_^