I just wondering how I can change/update the version of kustomize in kubectl kubetcl Now I have that and I want to have kustomize version 5.1.0
I have download kustomize 5.1.0 with choco but kubetcl still using kustomize 5.0
You cannot update the version of Kustomize embedded in kubectl
(other than by installing a newer version of kubectl
that happens to use a more recent version of Kustomize).
Just use the standalone Kustomize binary if you want the newer version; instead of kubectl apply -k .
you can kustomize build | kubectl apply -f-
.