[TIL] Xử lý lỗi Helm version mismatch

Xử lý lỗi khi bị lệch version Helm ở client và server.

 $ helm upgrade --install --recreate-pods podder-pipeline -f /home/ubuntu/values.yml helm_templates/template --namespace default
 UPGRADE FAILED
 Error: incompatible versions client[v2.16.1] server[v2.14.3]
 Error: UPGRADE FAILED: incompatible versions client[v2.16.1] server[v2.14.3]
 $ helm version
 Client: &version.Version{SemVer:"v2.16.1", GitCommit:"bbdfe5e7803a12bbdf97e94cd847859890cf4050", GitTreeState:"clean"}
 Server: &version.Version{SemVer:"v2.14.3", GitCommit:"0e7f3b6637f7af8fcfddb3d2941fcc7cbebb0085", GitTreeState:"clean"}

Tham khảo:
How to downgrade helm version on server and client – jyotir bhandari – Medium

Xử lý:

 $ curl -L https://git.io/get_helm.sh | bash -s -- --version v2.14.3

Published by

tuantranf

tuantranf My name is Tuan (Mike). A technical consultant & software developer.

Leave a Reply

Your email address will not be published.