helmsman
helmsman copied to clipboard
Change Tiller Url tiller-image
Got bit of dilemma with CD regards to installing charts with helmsman, basically it calls the helm2.16 init .1 which by default installs tiller 'installTiller=true'.
Issue is that tiller image thats getting it from is on old google cloud infrastructure. Is there a way to make it in template so it uses different location for same image ?
Say: --tiller-image=ghcr.io/helm/tiller:v2.16.1
currently runs:
2021/08/17 17:05:44 VERBOSE: helm init --force-upgrade --tiller-namespace mynamespace --history-max 5 --service-account tiller --override 'spec.template.spec.containers[0].resources.limits.memory'='2Gi' --override 'spec.template.spec.containers[0].resources.limits.cpu'='1' --override 'spec.template.spec.containers[0].resources.requests.memory'='768Mi' --override 'spec.template.spec.containers[0].resources.requests.cpu'='300m'
Settings:
namespaces:
mynamespace:
installTiller: true
quotas:
limits:
cpu: '100'
memory: 300Gi
pods: '100'
requests:
cpu: '40'
memory: 200Gi
tillerMaxHistory: 5
tillerResources:
limits:
cpu: 1
memory: 2Gi
requests:
cpu: 300m
memory: 768Mi
I can force out script to add --tiller-image=blablabla , but I want to really have it in template , almost done with going with helm3 so am going to be glad when this is over.
It looks like you're using a very old version of helmsman
any particular reason not to upgrade and use helm
v3
?
I have the same requirement as @mhobotpplnet. Any pointers on how to achieve this would really help. Thanks
It looks like you're using a very old version of
helmsman
any particular reason not to upgrade and usehelm
v3
?
We have some apps that still are on helm2 v we on is 2.12.0, trying 2.17.0 soon. I mean it would be easy to do just -tiller-image but that also requires version to be same as what helm2 is on.
I'll see if I can still make changes and release the old version.
BTW, have you tried the tillerless approach? I think you should be able to pick the tiller version that way.
I'll see if I can still make changes and release the old version.
Thank you, so the only diff really is that older versions changed the url. Its here now: ghcr.io/helm/tiller:v2.16.1 I'll see if tillerless would work, thing is we scripted whole CD pipeline. Push is for helm3 but so far with spot nodes going down tiller goes down with it, so when tiller tries to grab an image you get imagepullback with old version of helm2
also if you install tiller separately you should be able to use it https://github.com/Praqma/helmsman/blob/1.x/docs/how_to/tiller/existing.md I think there's also a flag to skip tiller installation but it's been a long time since I used helm with tiller.
check https://github.com/Praqma/helmsman/blob/1.x/docs/desired_state_specification.md
I tried tillerless , btw I noticed that doc has 'tilerless' should be 'tillerless'
ERROR: tillerless operation is specified and helm tiller plugin is not installed/configured correctly. Aborting!
I mean its not super bad, just annoying to edit deployment and point to right tiller.
you need to install the tillerless
plugin to use the tillerless
mode...
this one https://github.com/rimusz/helm-tiller
This issue has been marked stale due to an inactivity.