Инсталляция kustomize в ubuntu 22.04

Date:
2024.03.08


$ curl -s "https://raw.githubusercontent.com/\
kubernetes-sigs/kustomize/master/hack/install_kustomize.sh"  | bash && chmod +x kustomize && sudo mv kustomize /usr/local/bin/


$ kustomize version
v5.3.0


// Удалить при необходимости
// sudo rm /usr/local/bin/kustomize


Если нужна версия, например, 4.5.7

$ wget "https://raw.githubusercontent.com/\
kubernetes-sigs/kustomize/master/hack/install_kustomize.sh"

$ chmod +x ./install_kustomize.sh

$ ./install_kustomize.sh 4.5.7

$ chmod +x kustomize && sudo mv kustomize /usr/local/bin/


$ kustomize version
{Version:kustomize/v4.5.7 GitCommit:56d82a8378dfc8dc3b3b1085e5a6e67b82966bd7 BuildDate:2022-08-02T16:35:54Z GoOs:linux GoArch:amd64}