Hey team, I was looking for a way to change the po...
# ask-community
s
Hey team, I was looking for a way to change the pod naming for the dagster-user-deployments. Currently when they deploy the naming for our user deployments ends up looking something like:
Copy code
<namespace>-<chart-name>-dagster-user-deploymen7wfrt
we would like it to utilize something like the
name
parameter on the deployment, is there any way of doing this? Thanks!
p
cc @rex
r
We put the
name
parameter in the deployment’s name, but it might be getting cut off since there’s a 63 character limit in kubernetes. This isn’t documented, but if you’re using the main
dagster
helm chart, you can specify an override to the name using
.dagster-user-deployments.fullnameOverride
. This will override the prefix to the created deployment pods
Here’s the full logic, if you’re interested. • Specifying the prefix: [1] • Name of the code server deployments: [2]
So your
values.yaml
should be something like:
Copy code
dagster-user-deployments:
  fullnameOverride: "my-prefix"
s
So this is combination with the
fullnameOverride
at the global level?
r
this is not acting at a global level - this will only affect the resources that are stood up by the
dagster-user-deployments
subchart
if you want the prefix to affect both charts (
dagster
and
dagster-user-deployments
) then yeah you can use
.global.fullnameOverride
s
Got it, thanks! I'll give it a try.
@rex Setting the fullnameOverride at the global level solved what I was looking for, still good to know I can change the name at the deployment level as well. One thing I noticed however is when setting the name it didn't change the pod names for dagit ui's. Is that known or might be a fluke ?
r