Hello, when I try to upgrade lakefs via helm comma...
# help
s
Hello, when I try to upgrade lakefs via helm command-> helm upgrade -f lakefs-conf.yaml example-lakefs lakefs/lakefs --set kv_upgrade=true .. its giving error.. Error: UPGRADE FAILED: pre-upgrade hooks failed: warning: Hook pre-upgrade lakefs/templates/job.yaml failed: jobs.batch "example-lakefs-migrate" already exists .. Any help?
👀 1
b
Hi @SG, I will open an issue to fix this one. Wanted to verify first, if you know on which version are you on. And a workaround - can you delete the job from the cluster: example-lakefs-migrate?
s
how to check version? how to delete job?
b
You can use
helm list
to see what is currently installed.
Assume you have configured to work with the cluster, have kubectl and installed lakefs on default namespace:
kubectl get job
should list the jobs
example-lakefs-migrate should be listed.
Using
kubectl delete job example-lakefs-migrate
should delete it, and we can run helm again.
s
lakefs-0.6.3
b
Thanks
Can you delete the job and try install using helm again - let me know if it was successful now
s
its working after command - kubectl delete job example-lakefs-migrate
b
Great
s
Thanks
b
Create an issue if you have anything to update or like to track this one, you are more than welcome.