New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Releases and Namespaces #1219
Comments
You cannot name two releases the same thing. This is by design. Release name has to be cluster-unique. Typically, we don't suggest using the chart name as the release name for that reason. The usual suggestion is to name your release a unique name for each installation. So it might be |
thanks @technosophos yeah I expected as much, yeah I've played around with name templates too. I've just implemented something similar to your suggestion, though I'm having to do some truncation due to the 14 character limit, any plans to change that? |
Ugh, I hate that limit. I would love to take it out. It's because the name field is limited by Kubernetes to 24 characters (for DNS), and we reserved 10 characters for appending data in generated resources. I'm still trying to figure out a way to out-maneuver that part of the system. |
So we discussed removing the 14 character limit, but decided that we'd not do that in time for the 2.0.0 release. A number of proposals are circulating about how we can do naming better, while still respecting the 24 character DNS limit. So I'm going to mark this one as closed and let the proposal issues be the driver for determining the name limits. |
thanks for the update @technosophos progress at least 👍 |
I'm not sure if this is a bug or a feature request however:
I have a chart, named
postgresql
and multiple namespaces such asdev
qa
staging
and hence I want to install this chart in each of these namespaces. Currently I'm using{{ .Release.Name }}
in the manifests to set things like theDeployment
andService
name which seems quite clean and logical and works until you of course try to install the chart into a second namespace.The error is:
Error: a release named \"postgresql\" already exists
I could use
--values
to inject the required values (which I am currently using for other things) but I guess my question is, should a release name be unique to a namespace or global as it seems to be now? TIAThe text was updated successfully, but these errors were encountered: